%define profilefile 92user-color.sh Summary: Make the user prompt in bash different colors depending on your user Name: colorprompt Version: 0.1 Release: %mkrel 8 Source0: %{profilefile} License: BSD Group: Shells Url: http://colin.guthr.ie/ BuildArch: noarch %description A little bash profile extension to color your user prompt appropriately. It will make regular logins green and root logins red. %prep %build %install install -D -m 0644 %SOURCE0 %{buildroot}%{_sysconfdir}/profile.d/%{profilefile} %files %{_sysconfdir}/profile.d/%{profilefile} %changelog * Fri Feb 05 2016 umeabot <umeabot> 0.1-8.mga6 + Revision: 939346 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 0.1-7.mga5 + Revision: 738854 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.1-6.mga5 + Revision: 678487 - Mageia 5 Mass Rebuild * Fri Oct 18 2013 umeabot <umeabot> 0.1-5.mga4 + Revision: 503468 - Mageia 4 Mass Rebuild * Fri Jan 11 2013 umeabot <umeabot> 0.1-4.mga3 + Revision: 348073 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jan 13 2011 colin <colin> 0.1-3.mga1 + Revision: 16485 - imported package colorprompt * Thu Dec 09 2010 Oden Eriksson <oeriksson@mandriva.com> 0.1-3mdv2011.0 + Revision: 617407 - the mass rebuild of 2010.0 packages * Mon Jun 01 2009 Gustavo De Nardin <gustavodn@mandriva.com> 0.1-2mdv2010.0 + Revision: 381775 - don't spawn a subshell for the test - quote $colorregex, so it is not subject to be expanded to nothing by bash, when shopt nullglob is on - make grep quiet and redirect stderr to null * Wed May 27 2009 Colin Guthrie <cguthrie@mandriva.org> 0.1-1mdv2010.0 + Revision: 380164 - import colorprompt