cbf1dc0414
Fri Jun 29 2001 Florian La Roche <Florian.LaRoche@redhat.de> - fix path of man-pages Mon Jun 25 2001 Than Ngo <than@redhat.com> 3.1.0-1 - update to 3.1.0 - remove a uneeded patch - adapt a patch for 3.1.0 Fri Jun 01 2001 Preston Brown <pbrown@redhat.com> - newer version of the mktemp patch from Solar Designer <solar@openwall.com> Fri May 11 2001 Preston Brown <pbrown@redhat.com> 3.0.6-2 - use mktemp in igawk shell script, not shell pid variable
151 lines
4.0 KiB
RPMSpec
151 lines
4.0 KiB
RPMSpec
Summary: The GNU version of the awk text processing utility.
|
||
Name: gawk
|
||
Version: 3.1.0
|
||
Release: 2
|
||
License: GPL
|
||
Group: Applications/Text
|
||
Source0: ftp://ftp.gnu.org/gnu/gawk/gawk-%{version}.tar.gz
|
||
Source1: ftp://ftp.gnu.org/gnu/gawk/gawk-%{version}-ps.tar.gz
|
||
Patch0: gawk-3.1.0-newsecurity.patch
|
||
Prereq: /sbin/install-info
|
||
Requires: /bin/mktemp
|
||
Buildroot: %{_tmppath}/%{name}-root
|
||
|
||
%description
|
||
The gawk packages contains the GNU version of awk, a text processing
|
||
utility. Awk interprets a special-purpose programming language to do
|
||
quick and easy text pattern matching and reformatting jobs.
|
||
|
||
Install the gawk package if you need a text processing utility. Gawk is
|
||
considered to be a standard Linux tool for processing text.
|
||
|
||
%prep
|
||
%setup -q -b 1
|
||
%patch0 -p1 -b .mktemp
|
||
|
||
%build
|
||
%configure
|
||
make
|
||
|
||
%install
|
||
rm -rf $RPM_BUILD_ROOT
|
||
%makeinstall bindir=${RPM_BUILD_ROOT}/bin \
|
||
libexecdir=${RPM_BUILD_ROOT}%{_libexecdir}/awk \
|
||
datadir=${RPM_BUILD_ROOT}%{_datadir}/awk
|
||
|
||
( cd $RPM_BUILD_ROOT
|
||
rm -f .%{_infodir}/dir
|
||
gzip -9nf .%{_infodir}/gawk.info*
|
||
mkdir -p .%{_prefix}/bin
|
||
ln -sf gawk.1.gz .%{_mandir}/man1/awk.1.gz
|
||
cd bin
|
||
ln -sf ../../bin/gawk ../usr/bin/awk
|
||
ln -sf ../../bin/gawk ../usr/bin/gawk
|
||
)
|
||
|
||
%clean
|
||
rm -rf $RPM_BUILD_ROOT
|
||
|
||
%post
|
||
/sbin/install-info %{_infodir}/gawk.info.gz %{_infodir}/dir
|
||
|
||
%preun
|
||
if [ $1 = 0 ]; then
|
||
/sbin/install-info --delete %{_infodir}/gawk.info.gz %{_infodir}/dir
|
||
fi
|
||
|
||
%files
|
||
%defattr(-,root,root,-)
|
||
%doc README COPYING ACKNOWLEDGMENT FUTURES INSTALL LIMITATIONS NEWS PORTS
|
||
%doc README_d POSIX.STD doc/gawk.ps doc/awkcard.ps
|
||
/bin/*
|
||
%{_bindir}/*
|
||
%{_mandir}/man1/*
|
||
%{_infodir}/gawk.info*
|
||
%{_libexecdir}/awk
|
||
%{_datadir}/awk
|
||
|
||
%changelog
|
||
* Fri Jun 29 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
||
- fix path of man-pages
|
||
|
||
* Mon Jun 25 2001 Than Ngo <than@redhat.com> 3.1.0-1
|
||
- update to 3.1.0
|
||
- remove a uneeded patch
|
||
- adapt a patch for 3.1.0
|
||
|
||
* Fri Jun 1 2001 Preston Brown <pbrown@redhat.com>
|
||
- newer version of the mktemp patch from Solar Designer <solar@openwall.com>
|
||
|
||
* Fri May 11 2001 Preston Brown <pbrown@redhat.com> 3.0.6-2
|
||
- use mktemp in igawk shell script, not shell pid variable
|
||
|
||
* Wed Aug 16 2000 Florian La Roche <Florian.LaRoche@redhat.com>
|
||
- update to 3.06
|
||
|
||
* Tue Aug 15 2000 Trond Eivind Glomsr<73>d <teg@redhat.com>
|
||
- /usr/bin/gawk can't point at gawk - infinite symlink
|
||
- /usr/bin/awk can't point at gawk - infinite symlink
|
||
|
||
* Mon Aug 14 2000 Preston Brown <pbrown@redhat.com>
|
||
- absolute --> relative symlinks
|
||
|
||
* Tue Aug 8 2000 Florian La Roche <Florian.LaRoche@redhat.com>
|
||
- fix paths for "configure" call
|
||
|
||
* Thu Jul 13 2000 Florian La Roche <Florian.LaRoche@redhat.com>
|
||
- add another bugfix
|
||
|
||
* Thu Jul 13 2000 Florian La Roche <Florian.LaRoche@redhat.com>
|
||
- update to 3.0.5 with bugfix
|
||
|
||
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
||
- automatic rebuild
|
||
|
||
* Fri Jun 30 2000 Matt Wilson <msw@redhat.com>
|
||
- revert to 3.0.4. 3.0.5 misgenerates e2fsprogs' test cases
|
||
|
||
* Wed Jun 28 2000 Florian La Roche <Florian.LaRoche@redhat.com>
|
||
- update to 3.0.5
|
||
|
||
* Mon Jun 19 2000 Florian La Roche <Florian.LaRoche@redhat.com>
|
||
- add defattr
|
||
|
||
* Mon Jun 19 2000 Florian La Roche <Florian.LaRoche@redhat.com>
|
||
- FHS
|
||
|
||
* Tue Mar 14 2000 Florian La Roche <Florian.LaRoche@redhat.com>
|
||
- add bug-fix
|
||
|
||
* Thu Feb 3 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||
- Fix man page symlinks
|
||
- Fix description
|
||
- Fix download URL
|
||
|
||
* Wed Jun 30 1999 Jeff Johnson <jbj@redhat.com>
|
||
- update to 3.0.4.
|
||
|
||
* Tue Apr 06 1999 Preston Brown <pbrown@redhat.com>
|
||
- make sure all binaries are stripped
|
||
|
||
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
||
- auto rebuild in the new build environment (release 6)
|
||
|
||
* Fri Feb 19 1999 Jeff Johnson <jbj@redhat.com>
|
||
- Install info pages (#1242).
|
||
|
||
* Fri Dec 18 1998 Cristian Gafton <gafton@redhat.com>
|
||
- build for glibc 2.1
|
||
- don't package /usr/info/dir
|
||
|
||
* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
|
||
- translations modified for de, fr, tr
|
||
|
||
* Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
|
||
- upgraded to 3.0.3
|
||
- added documentation and buildroot
|
||
|
||
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
|
||
- built against glibc
|
||
|