From 5060d26e08253fca8f7ede424b0b32704610c72c Mon Sep 17 00:00:00 2001 From: cvsdist Date: Sep 09 2004 05:50:55 +0000 Subject: auto-import changelog data from grep-2.4.2-4.src.rpm Sun Aug 20 2000 Jakub Jelinek - i18n character ranges patch from Ulrich Drepper Thu Jul 13 2000 Prospector - automatic rebuild Mon Jun 19 2000 Bernhard Rosenkraenzer - FHSify Tue Mar 21 2000 Florian La Roche - update to 2.4.2 - fix download URL Thu Feb 03 2000 Bernhard Rosenkraenzer - gzip info pages (Bug #9035) Wed Feb 02 2000 Cristian Gafton - fix description Wed Dec 22 1999 Jeff Johnson - update to 2.4. Wed Oct 20 1999 Bill Nottingham - prereq install-info Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 2) Mon Mar 08 1999 Preston Brown - upgraded to grep 2.3, added install-info %post/%preun for info Wed Feb 24 1999 Preston Brown - Injected new description and group. Sat May 09 1998 Prospector System - translations modified for de, fr, tr Fri May 01 1998 Cristian Gafton - updated to 2.2 Thu Oct 16 1997 Donnie Barnes - updated from 2.0 to 2.1 - spec file cleanups - added BuildRoot Mon Jun 02 1997 Erik Troan - built against glibc --- diff --git a/.cvsignore b/.cvsignore index e69de29..9bef470 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +grep-2.4.2.tar.gz diff --git a/grep.spec b/grep.spec new file mode 100644 index 0000000..8f9679e --- /dev/null +++ b/grep.spec @@ -0,0 +1,111 @@ +Summary: The GNU versions of grep pattern matching utilities. +Name: grep +Version: 2.4.2 +Release: 4 +Copyright: GPL +Group: Applications/Text +Source: ftp://ftp.gnu.org/pub/gnu/grep/grep-%{version}.tar.gz +Patch: grep-2.4.2-i18n.patch +Prefix: %{_prefix} +Prereq: /sbin/install-info +Buildroot: /var/tmp/grep-root + +%description +The GNU versions of commonly used grep utilities. Grep searches +through textual input 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. + +%prep +%setup -q +%patch -p1 -b .i18n + +%build +%configure --without-included-regex +make + +%install +rm -rf ${RPM_BUILD_ROOT} +%makeinstall LDFLAGS=-s prefix=${RPM_BUILD_ROOT}%{_prefix} exec_prefix=${RPM_BUILD_ROOT} +%ifos Linux +mkdir -p $RPM_BUILD_ROOT/bin +mv $RPM_BUILD_ROOT%{_prefix}/bin/* $RPM_BUILD_ROOT/bin +rm -rf $RPM_BUILD_ROOT%{_prefix}/bin +%endif +gzip -9f $RPM_BUILD_ROOT%{_infodir}/grep* + +%clean +rm -rf ${RPM_BUILD_ROOT} + +%post +/sbin/install-info --quiet --info-dir=%{_infodir} %{_infodir}/grep.info.gz + +%preun +if [ $1 = 0 ]; then + /sbin/install-info --quiet --info-dir=%{_infodir} --delete %{_infodir}/grep.info.gz +fi + +%files +%defattr(-,root,root) +%doc ABOUT-NLS AUTHORS THANKS TODO NEWS README ChangeLog + +%ifos Linux +/bin/* +%else +%{_prefix}/bin/* +%endif +%{_infodir}/*.info.gz +%{_mandir}/*/* +%{_prefix}/share/locale/*/*/grep.* + +%changelog +* Sun Aug 20 2000 Jakub Jelinek +- i18n character ranges patch from Ulrich Drepper + +* Thu Jul 13 2000 Prospector +- automatic rebuild + +* Mon Jun 19 2000 Bernhard Rosenkraenzer +- FHSify + +* Tue Mar 21 2000 Florian La Roche +- update to 2.4.2 +- fix download URL + +* Thu Feb 03 2000 Bernhard Rosenkraenzer +- gzip info pages (Bug #9035) + +* Wed Feb 02 2000 Cristian Gafton +- fix description + +* Wed Dec 22 1999 Jeff Johnson +- update to 2.4. + +* Wed Oct 20 1999 Bill Nottingham +- prereq install-info + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 2) + +* Mon Mar 08 1999 Preston Brown +- upgraded to grep 2.3, added install-info %post/%preun for info + +* Wed Feb 24 1999 Preston Brown +- Injected new description and group. + +* Sat May 09 1998 Prospector System +- translations modified for de, fr, tr + +* Fri May 01 1998 Cristian Gafton +- updated to 2.2 + +* Thu Oct 16 1997 Donnie Barnes +- updated from 2.0 to 2.1 +- spec file cleanups +- added BuildRoot + +* Mon Jun 02 1997 Erik Troan +- built against glibc diff --git a/sources b/sources index e69de29..9a3972c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8ec9a2e875cd3aaa89896a8f39249f58 grep-2.4.2.tar.gz