Name: grep Version: 2.22 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 Source1: grep-profile 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 install -D -m0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d/grep.sh %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) %{_sysconfdir}/profile.d/grep.sh /bin/egrep /bin/fgrep /bin/grep %{_infodir}/grep.info.* %{_mandir}/man1/egrep.* %{_mandir}/man1/fgrep.* %{_mandir}/man1/grep.* %doc AUTHORS COPYING THANKS #%doc ChangeLog NEWS README TODO %changelog * Mon Nov 02 2015 Automatic Build System 2.22-1mamba - automatic version update by autodist * Wed Oct 28 2015 Silvan Calarco 2.21-2mamba - added profile.d aliases for colors * Mon Nov 24 2014 Automatic Build System 2.21-1mamba - automatic version update by autodist * Wed Jun 04 2014 Automatic Build System 2.20-1mamba - automatic version update by autodist * Fri May 23 2014 Automatic Build System 2.19-1mamba - automatic version update by autodist * 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