added profile.d aliases for colors [release 2.21-2mamba;Wed Oct 28 2015]

This commit is contained in:
Silvan Calarco 2024-01-05 23:27:50 +01:00
parent df1aa5c334
commit 1dabb1c9a9
2 changed files with 14 additions and 2 deletions

4
grep-profile Normal file
View File

@ -0,0 +1,4 @@
# grep aliases
alias grep="grep --color=auto"
alias fgrep="egrep --color=auto"
alias fgrep="fgrep --color=auto"

View File

@ -1,6 +1,6 @@
Name: grep
Version: 2.21
Release: 1mamba
Release: 2mamba
Summary: The GNU versions of grep pattern matching utilities
Group: Applications/File
Vendor: openmamba
@ -8,6 +8,7 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnu.org/software/grep/grep.html
Source: ftp://ftp.gnu.org/gnu/grep/grep-%{version}.tar.xz
Source1: grep-profile
License: GPL
Requires(post):%{__install_info}
## AUTOBUILDREQ-BEGIN
@ -38,6 +39,8 @@ You should install grep on your system, because it is a very useful utility for
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
install -D -m0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d/grep.sh
%find_lang %{name}
%clean
@ -52,6 +55,7 @@ exit 0
%files -f %{name}.lang
%defattr(-,root,root)
%{_sysconfdir}/profile.d/grep.sh
/bin/egrep
/bin/fgrep
/bin/grep
@ -59,9 +63,13 @@ exit 0
%{_mandir}/man1/egrep.*
%{_mandir}/man1/fgrep.*
%{_mandir}/man1/grep.*
%doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO
%doc AUTHORS COPYING THANKS
#%doc ChangeLog NEWS README TODO
%changelog
* Wed Oct 28 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.21-2mamba
- added profile.d aliases for colors
* Mon Nov 24 2014 Automatic Build System <autodist@mambasoft.it> 2.21-1mamba
- automatic version update by autodist