Sophie

Sophie

distrib > Mageia > 2 > x86_64 > by-pkgid > f46ea6611ba60449d1cc3c764d15ec2c > files > 2

colorprompt-0.1-3.mga1.src.rpm

%define name colorprompt
%define version 0.1
%define release %mkrel 3
%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
* 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