diff --git a/README.md b/README.md index 6ec3637..e03b615 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # grep +The GNU versions of commonly used grep utilities. +Grep searches one or more input files for lines which contain a match to a specified pattern and then prints the matching lines. GNU's grep utilities include grep, egrep and fgrep. + +You should install grep on your system, because it is a very useful utility for searching through text files, for system administration tasks, etc. + diff --git a/grep.spec b/grep.spec new file mode 100644 index 0000000..72a9fae --- /dev/null +++ b/grep.spec @@ -0,0 +1,149 @@ +Name: grep +Version: 2.18 +Release: 1mamba +Summary: The GNU versions of grep pattern matching utilities +Group: Applications/File +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.gnu.org/software/grep/grep.html +Source: ftp://ftp.gnu.org/gnu/grep/grep-%{version}.tar.xz +License: GPL +Requires(post):%{__install_info} +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libpcre-devel +## AUTOBUILDREQ-END +BuildRequires: gettext-devel +BuildRequires: bison +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The GNU versions of commonly used grep utilities. +Grep searches one or more input files for lines which contain a match to a specified pattern and then prints the matching lines. GNU's grep utilities include grep, egrep and fgrep. + +You should install grep on your system, because it is a very useful utility for searching through text files, for system administration tasks, etc. + +%prep +%setup -q + +%build +%configure \ + --bindir=/bin \ + --without-included-regex + +%make +#make check ||: + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +%makeinstall +%find_lang %{name} + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%post +%install_info %{name}.info + +%preun +%uninstall_info %{name}.info +exit 0 + +%files -f %{name}.lang +%defattr(-,root,root) +/bin/egrep +/bin/fgrep +/bin/grep +%{_infodir}/grep.info.* +%{_mandir}/man1/egrep.* +%{_mandir}/man1/fgrep.* +%{_mandir}/man1/grep.* +%doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO + +%changelog +* Sat Feb 22 2014 Automatic Build System 2.18-1mamba +- automatic version update by autodist + +* Tue Feb 18 2014 Automatic Build System 2.17-1mamba +- automatic version update by autodist + +* Thu Jan 02 2014 Automatic Build System 2.16-1mamba +- automatic version update by autodist + +* Sun Oct 27 2013 Automatic Build System 2.15-1mamba +- automatic version update by autodist + +* Mon Aug 20 2012 Automatic Build System 2.14-1mamba +- automatic version update by autodist + +* Thu Jul 05 2012 Automatic Build System 2.13-1mamba +- automatic version update by autodist + +* Tue Apr 24 2012 Automatic Build System 2.12-1mamba +- automatic version update by autodist + +* Fri Mar 02 2012 Automatic Build System 2.11-1mamba +- automatic version update by autodist + +* Thu Nov 17 2011 Automatic Build System 2.10-1mamba +- update to 2.10 + +* Wed Jun 22 2011 Automatic Build System 2.9-1mamba +- automatic update by autodist + +* Sat May 14 2011 Automatic Build System 2.8-1mamba +- automatic update by autodist + +* Sat Sep 25 2010 Davide Madrisan 2.7-1mamba +- update to 2.7 +- removed cross build patch (merged upstream) + +* Tue Apr 06 2010 Automatic Build System 2.6.3-1mamba +- automatic update to 2.6.3 by autodist + +* Fri Apr 02 2010 Davide Madrisan 2.6.1-1mamba +- update to 2.6.1 + +* Wed Mar 24 2010 Davide Madrisan 2.6-1mamba +- update to 2.6 +- add package documentation + +* Tue Feb 10 2009 Silvan Calarco 2.5.4-1mamba +- automatic update to 2.5.4 by autodist + +* Wed Jun 04 2008 Silvan Calarco 2.5.3-2mamba +- remove descriptions pre-formatting (line breaks) +- fixed maintainer email + +* Tue May 06 2008 Tiziana Ferro 2.5.3-1mamba +- update to 2.5.3 + +* Thu Apr 13 2006 Davide Madrisan 2.5.1a-1qilnx +- update to version 2.5.1a by autospec + +* Tue Apr 05 2005 Davide Madrisan 2.5.1-3qilnx +- added missing prereq (install-info) + +* Tue Apr 05 2005 Davide Madrisan 2.5.1-2qilnx +- made grep utilities LSB 2.0 compliant +- specfils updates +- added missing scripts for info files + +* Tue Jul 27 2004 Davide Madrisan 2.5.1-1qilnx +- update to 2.5.1 + +* Wed May 19 2004 Silvan Calarco 2.5-5qilnx +- rebuilt with --without-included-regex + +* Wed Feb 25 2004 Davide Madrisan 2.5-4qilnx +- specfile updated + +* Wed Apr 23 2003 Silvan Calarco 2.5-3qilnx +- added packaging of symlinks (egrep, fgrep) needed by mkinitrd + +* Tue Apr 22 2003 Silvan Calarco 2.5-2qilnx +- corrected location of info dir + +* Mon Apr 07 2003 Alessandro Ramazzina 2.5-1qilnx +- creation of grep package