%define name colorprompt %define version 0.1 %define release %mkrel 4 %define profilefile 92user-color.sh Summary: Make the user prompt in bash different colors depending on your user Name: %{name} Version: %{version} Release: %{release} Source0: %{profilefile} License: BSD Group: Shells Url: http://colin.guthr.ie/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot 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 rm -rf %{buildroot} install -D -m 0644 %SOURCE0 %{buildroot}%{_sysconfdir}/profile.d/%{profilefile} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_sysconfdir}/profile.d/%{profilefile} %changelog * 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