Blame SPECS/gawk.spec

0da606
Summary: The GNU version of the awk text processing utility
0da606
Name: gawk
0da606
Version: 4.0.2
aa3556
Release: 4%{?dist}
0da606
# Most of source files are licensed under GPLv3+,
0da606
# several files are GPL or LGPLv2.1+ licensed,
0da606
# gettext.h is LGPL and random.c is BSD licensed
0da606
License: GPLv3+ and GPL and LGPLv3+ and LGPL and BSD
0da606
Group: Applications/Text
0da606
URL: http://www.gnu.org/software/gawk/gawk.html
0da606
Source0: http://ftp.gnu.org/gnu/gawk/gawk-%{version}.tar.gz
0da606
Requires(post): /sbin/install-info
0da606
Requires(preun): /sbin/install-info
0da606
Conflicts: filesystem < 3
0da606
Provides: /bin/awk
0da606
Provides: /bin/gawk
0da606
BuildRequires: byacc
0da606
0da606
%description
0da606
The gawk package contains the GNU version of awk, a text processing
0da606
utility. Awk interprets a special-purpose programming language to do
0da606
quick and easy text pattern matching and reformatting jobs.
0da606
0da606
Install the gawk package if you need a text processing utility. Gawk is
0da606
considered to be a standard Linux tool for processing text.
0da606
0da606
%prep
0da606
%setup -q
0da606
0da606
%build
0da606
%configure --with-libsigsegv-prefix=no
0da606
make %{?_smp_mflags}
0da606
0da606
%check
0da606
make check diffout
0da606
0da606
%install
0da606
rm -rf $RPM_BUILD_ROOT
0da606
make install DESTDIR=${RPM_BUILD_ROOT}
0da606
0da606
mkdir -p $RPM_BUILD_ROOT%{_bindir}
0da606
ln -sf gawk.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/awk.1.gz
0da606
ln -sf gawk $RPM_BUILD_ROOT%{_bindir}/awk
0da606
# remove %{version}* , when we are building a snapshot...
0da606
rm -f $RPM_BUILD_ROOT/%{_bindir}/{,p}gawk-%{version}* $RPM_BUILD_ROOT%{_infodir}/dir
0da606
0da606
%find_lang %name
0da606
0da606
%clean
0da606
rm -rf $RPM_BUILD_ROOT
0da606
0da606
%post
0da606
if [ -f %{_infodir}/gawk.info.gz ]; then
0da606
    /sbin/install-info %{_infodir}/gawk.info.gz %{_infodir}/dir || :
0da606
fi
0da606
0da606
%preun
0da606
if [ $1 = 0 -a -f %{_infodir}/gawk.info.gz ]; then
0da606
    /sbin/install-info --delete %{_infodir}/gawk.info.gz %{_infodir}/dir || :
0da606
fi
0da606
0da606
%files -f %{name}.lang
0da606
%defattr(-,root,root,-)
0da606
%doc README COPYING FUTURES LIMITATIONS NEWS
0da606
%doc README_d/README.multibyte README_d/README.tests POSIX.STD
0da606
%{_bindir}/*awk
0da606
%{_mandir}/man1/*
0da606
%{_infodir}/gawk.info*
0da606
%{_infodir}/gawkinet.info*
0da606
%{_libexecdir}/awk
0da606
%{_datadir}/awk
0da606
0da606
%changelog
aa3556
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 4.0.2-4
aa3556
- Mass rebuild 2014-01-24
aa3556
aa3556
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 4.0.2-3
aa3556
- Mass rebuild 2013-12-27
aa3556
0da606
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.2-2
0da606
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0da606
0da606
* Fri Jan 04 2013 Martin Briza <mbriza@redhat.com> - 4.0.2-1
0da606
- Update to upstream 4.0.2 (#890559)
0da606
0da606
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.1-2
0da606
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0da606
0da606
* Thu Jun 07 2012 Martin Bříza <mbriza@redhat.com> -  4.0.1-1
0da606
- Update to upstream 4.0.1 (#808005)
0da606
- Corrected Source0 link to .tar.gz extension as not all releases are available as .tar.bz2
0da606
- Resolves #724817 - gawk-4.0.0 regression in '\' escape handling in gsub()
0da606
- Resolves #820550 - gawk: getline in BEGIN skips 2 lines
0da606
0da606
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 4.0.0-4
0da606
- add filesystem guard
0da606
0da606
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 4.0.0-3
0da606
- install everything in /usr
0da606
  https://fedoraproject.org/wiki/Features/UsrMove
0da606
0da606
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.0-2
0da606
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0da606
0da606
* Thu Jul 14 2011 Vojtech Vitek (V-Teq) <vvitek@redhat.com> - 4.0.0-1
0da606
- Remove gawk-3.1.8-syntax.patch, gawk-3.1.8-double-free-wstptr.patch
0da606
- Update to upstream 4.0.0 (#717885)
0da606
0da606
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.8-4
0da606
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0da606
0da606
* Tue Nov 02 2010 Vojtech Vitek (V-Teq) <vvitek@redhat.com> - 3.1.8-3
0da606
- fix syntax issues #528623, #528625
0da606
- add byacc to BuildRequires
0da606
- follow updated libsigsegv option in configure script
0da606
0da606
* Tue Nov 02 2010 Vojtech Vitek (V-Teq) <vvitek@redhat.com> - 3.1.8-2
0da606
- fix #629196: Double free in free_wstr
0da606
- fix license tag, add description
0da606
- remove BuildRoot tag
0da606
0da606
* Fri May  7 2010 Stepan Kasal <kasal@ucw.cz> - 3.1.8-1
0da606
- new upstream version
0da606
- drop upstreamed patches
0da606
0da606
* Thu Apr 01 2010 Jan Zeleny <jzeleny@redhat.com> - 3.1.7-3
0da606
- fix issue with utf8 precision recognition (#513234)
0da606
0da606
* Thu Oct  8 2009 Stepan Kasal <skasal@redhat.com> - 3.1.7-2
0da606
- in posix mode, make ARGV[0] = argv[0] (#525381)
0da606
0da606
* Wed Sep  9 2009 Stepan Kasal <skasal@redhat.com> - 3.1.7-1
0da606
- new upstream version
0da606
- disable libsigsegv
0da606
0da606
* Fri Jul 24 2009 Fed Rel Eng <rel-eng@lists.fedoraproject.org> - 3.1.6-6
0da606
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0da606
0da606
* Tue Feb 24 2009 Fed Rel Eng <rel-eng@lists.fedoraproject.org> - 3.1.6-5
0da606
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0da606
0da606
* Fri Jan 30 2009 Stepan Kasal <skasal@redhat.com> - 3.1.6-4
0da606
- remove the versioned binaries even if the version is modified by the
0da606
  snapshot patch, modify the file list to check this (#476166)
0da606
- update the snapshot patch, dropping the upstreamed
0da606
  gawk-3.1.5-test-lc_num1.patch
0da606
0da606
* Thu Dec 11 2008 Stepan Kasal <skasal@redhat.com> - 3.1.6-3
0da606
- grab the current stable tree from savannah
0da606
0da606
* Wed Nov 26 2008 Stepan Kasal <skasal@redhat.com> - 3.1.6-2
0da606
- test-lc_num1.patch submitted upstream, link added
0da606
0da606
* Tue Nov 25 2008 Stepan Kasal <skasal@redhat.com> - 3.1.6-1
0da606
- new upstream version
0da606
- drop Patch1: gawk-3.1.3-getpgrp_void.patch, it seems to be a workaround
0da606
  for a bug in gcc that seemed to exist at Fedora Core 1 times, see #114246
0da606
- drop patches 2-13, they have been integrated upstream
0da606
0da606
* Mon Jul 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 3.1.5-18
0da606
- fix license tag
0da606
0da606
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.1.5-17
0da606
- Autorebuild for GCC 4.3
0da606
0da606
* Wed Oct 31 2007 Stepan Kasal <skasal@redhat.com> - 3.1.5-16
0da606
- Add gawk-3.1.5-quote-sticky.patch
0da606
- Resolves: #299551
0da606
- Add gawk-3.1.5-test-lc_num1.patch, a test for that bug.
0da606
- BuldRequire autoconf and automake, for the test patch.
0da606
- Add coment explaining why bison is buildrequired.
0da606
- Remove BuildRequire: flex.
0da606
0da606
* Mon Feb 12 2007 Karel Zak <kzak@redhat.com> 3.1.5-15
0da606
- fix #225777 - clean up spec file according to Fedora Merge Review
0da606
  suggestions (thanks to Dan Horak and Patrice Dumas)
0da606
0da606
* Mon Jan 15 2007 Karel Zak <kzak@redhat.com> 3.1.5-14
0da606
- sync with double-free upstream fixes
0da606
- fix #222531: Replace dist by ?dist
0da606
0da606
* Fri Jan 12 2007 Karel Zak <kzak@redhat.com> 3.1.5-13
0da606
- fix MB read 
0da606
0da606
* Fri Jan 12 2007 Karel Zak <kzak@redhat.com> 3.1.5-13
0da606
- improve freewstr patch
0da606
0da606
* Thu Jan 11 2007 Karel Zak <kzak@redhat.com> 3.1.5-12
0da606
- fix #222080 double free or corruption
0da606
0da606
* Wed Jul 19 2006 Karel Zak <kzak@redhat.com> 3.1.5-11
0da606
- spec file cleanup
0da606
0da606
* Tue Jul 18 2006 Karel Zak <kzak@redhat.com> 3.1.5-10
0da606
- add IPv6 support (patch be Jan Pazdziora)
0da606
0da606
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.1.5-9.1
0da606
- rebuild
0da606
0da606
* Mon Jul 10 2006 Karel Zak <kzak@redhat.com> 3.1.5-9
0da606
- fix numeric conversion problem (patch by Aharon Robbins)
0da606
  http://lists.gnu.org/archive/html/bug-gnu-utils/2006-07/msg00004.html
0da606
0da606
* Fri Jun 23 2006 Karel Zak <kzak@redhat.com> 3.1.5-8
0da606
- fix #194214 - gawk coredumps on syntax error (patch by Aharon Robbins)
0da606
0da606
* Wed Jun 21 2006 Karel Zak <kzak@redhat.com> 3.1.5-7
0da606
- fix internal names like /dev/user, /dev/pid, or /dev/fd/N (patch by Aharon Robbins)
0da606
0da606
* Tue Feb 14 2006 Karel Zak <kzak@redhat.com> 3.1.5-6.2
0da606
- new version of the gawk-3.1.5-wconcat.patch patch
0da606
0da606
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.1.5-6.1
0da606
- bump again for double-long bug on ppc(64)
0da606
0da606
* Fri Feb 10 2006 Karel Zak <kzak@redhat.com> 3.1.5-6
0da606
- fix wide characters concatenation
0da606
0da606
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.1.5-5.1
0da606
- rebuilt for new gcc4.1 snapshot and glibc changes
0da606
0da606
* Thu Dec 22 2005 Karel Zak <kzak@redhat.com> 3.1.5-5
0da606
- fix "gawk -v BINMODE=1" (patch by Aharon Robbins)
0da606
- fix conversion from large number to string (patch by Aharon Robbins)
0da606
0da606
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
0da606
- rebuilt
0da606
0da606
* Sun Oct  9 2005 Karel Zak <kzak@redhat.com> 3.1.5-4
0da606
- fix off-by-one error in assignment of sentinel value at 
0da606
  end of FIELDWIDTHS array. (patch by Aharon Robbins)
0da606
0da606
* Tue Sep 27 2005 Karel Zak <kzak@redhat.com> 3.1.5-3
0da606
- fix #169374 - Invalid Free (patch by Aharon Robbins)
0da606
0da606
* Tue Sep 20 2005 Karel Zak <kzak@redhat.com> 3.1.5-2
0da606
- fix #167181 - gawk owns /usr/share
0da606
- fix #160634 - should exclude dirs in spec file
0da606
0da606
* Tue Sep 20 2005 Karel Zak <kzak@redhat.com> 3.1.5-1
0da606
- new upstream version
0da606
0da606
* Wed Jun 15 2005 Karel Zak <kzak@redhat.com> 3.1.4-6
0da606
- fix #160421 - crash when using non-decimal data in command line parameters
0da606
0da606
* Wed Mar 02 2005 Karsten Hopp <karsten@redhat.de> 3.1.4-5
0da606
- rebuild with gcc-4
0da606
0da606
* Fri Nov 12 2004 Karel Zak <kzak@redhat.com> 3.1.4-4
0da606
- rebuilt 
0da606
0da606
* Thu Nov 11 2004 Karel Zak <kzak@redhat.com> 3.1.4-3
0da606
- rebuilt to FC4 
0da606
0da606
* Tue Nov  9 2004 Karel Zak <kzak@redhat.com> 3.1.4-2
0da606
- add dfacache.patch for fix LC_ALL=de_DE.UTF-8 ./gawk '/^[ \t]/ { print }',
0da606
  (by Aharon Robbins), #135210, #131498
0da606
- add flonum.patch for "improved" handling of non-numeric constants,
0da606
  second version of patch (by Aharon Robbins)
0da606
  http://lists.gnu.org/archive/html/bug-gnu-utils/2004-10/msg00046.html
0da606
- add nextc.patch (by Andreas Schwab)
0da606
  http://lists.gnu.org/archive/html/bug-gnu-utils/2004-09/msg00093.html
0da606
- add uplow.patch for fix the wide char handling (by Stepan Kasal)
0da606
  http://lists.gnu.org/archive/html/bug-gnu-utils/2004-10/msg00099.html
0da606
0da606
* Tue Aug 31 2004 Thomas Woerner <twoerner@redhat.com> 3.1.4-1
0da606
- new version 3.1.4
0da606
0da606
* Mon Jun 28 2004 Thomas Woerner <twoerner@redhat.com> 3.1.3-9
0da606
- fixed "read only one input file on 64-bit architectures"
0da606
0da606
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
0da606
- rebuilt
0da606
0da606
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
0da606
- rebuilt
0da606
0da606
* Mon Jan 26 2004 Thomas Woerner <twoerner@redhat.com> 3.1.3-6
0da606
- fixed getpgrp_void problem (#114246)
0da606
- removed old patches
0da606
0da606
* Fri Jan 09 2004 Florian La Roche <Florian.LaRoche@redhat.de>
0da606
- add a "make check"
0da606
0da606
* Mon Dec 08 2003 Florian La Roche <Florian.LaRoche@redhat.de>
0da606
- disabled "shutup" patch to warn about wrong awk scripts again
0da606
0da606
* Mon Sep 22 2003 Florian La Roche <Florian.LaRoche@redhat.de>
0da606
- add even more patches from the mailinglist
0da606
0da606
* Tue Jul 15 2003 Florian La Roche <Florian.LaRoche@redhat.de>
0da606
- add first bug-fixes from the mailinglist
0da606
0da606
* Sun Jul 13 2003 Florian La Roche <Florian.LaRoche@redhat.de>
0da606
- update to 3.1.3
0da606
- pgawk man-page fix and /proc fix are obsolete
0da606
0da606
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
0da606
- rebuilt
0da606
0da606
* Wed Jun 04 2003 Florian La Roche <Florian.LaRoche@redhat.de>
0da606
- fix --exclude-docs #92252
0da606
0da606
* Sun May 04 2003 Florian La Roche <Florian.LaRoche@redhat.de>
0da606
- fix find_lang
0da606
0da606
* Tue Apr 15 2003 Florian La Roche <Florian.LaRoche@redhat.de>
0da606
- fix .so pointer in pgawk man-page
0da606
- also read files in /proc correctly that have a filesize of 0
0da606
0da606
* Sun Mar 30 2003 Florian La Roche <Florian.LaRoche@redhat.de>
0da606
- update to 3.1.2
0da606
0da606
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
0da606
- rebuilt
0da606
0da606
* Mon Dec 02 2002 Florian La Roche <Florian.LaRoche@redhat.de>
0da606
- add find_lang to specfile
0da606
0da606
* Wed Nov 20 2002 Elliot Lee <sopwith@redhat.com> 3.1.1-7
0da606
- Add gawk-3.1.1-ngroups.patch, because NGROUPS_MAX comes from 
0da606
sys/param.h, and awk.h changes behaviour depending on whether NGROUPS_MAX 
0da606
is defined or not. (For ppc64)
0da606
0da606
* Wed Nov 06 2002 Florian La Roche <Florian.LaRoche@redhat.de>
0da606
- remove /usr/share/info/dir
0da606
0da606
* Sun Nov 03 2002 Florian La Roche <Florian.LaRoche@redhat.de>
0da606
- ugly fix to get locale files into the right location #74360
0da606
0da606
* Sun Aug 11 2002 Florian La Roche <Florian.LaRoche@redhat.de>
0da606
- simplify install part of spec file
0da606
- do not package /bin/gawk-<version>  anymore
0da606
0da606
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
0da606
- automated rebuild
0da606
0da606
* Thu May 23 2002 Tim Powers <timp@redhat.com>
0da606
- automated rebuild
0da606
0da606
* Thu May 09 2002 Florian La Roche <Florian.LaRoche@redhat.de>
0da606
- update to 3.1.1
0da606
0da606
* Sun Mar 17 2002 Florian La Roche <Florian.LaRoche@redhat.de>
0da606
- add patch from #61316 to ignore wrong hex numbers and treat them as text
0da606
0da606
* Tue Jul 31 2001 Florian La Roche <Florian.LaRoche@redhat.de>
0da606
- do not warn about unnecessary escaping
0da606
0da606
* Fri Jun 29 2001 Florian La Roche <Florian.LaRoche@redhat.de>
0da606
- fix path of man-pages
0da606
0da606
* Mon Jun 25 2001 Than Ngo <than@redhat.com> 3.1.0-1
0da606
- update to 3.1.0
0da606
- remove a uneeded patch
0da606
- adapt a patch for 3.1.0
0da606
0da606
* Fri Jun  1 2001 Preston Brown <pbrown@redhat.com>
0da606
- newer version of the mktemp patch from Solar Designer <solar@openwall.com>
0da606
0da606
* Fri May 11 2001 Preston Brown <pbrown@redhat.com> 3.0.6-2
0da606
- use mktemp in igawk shell script, not shell pid variable
0da606
0da606
* Wed Aug 16 2000 Florian La Roche <Florian.LaRoche@redhat.com>
0da606
- update to 3.06
0da606
0da606
* Tue Aug 15 2000 Trond Eivind Glomsrod <teg@redhat.com>
0da606
- /usr/bin/gawk can't point at gawk - infinite symlink
0da606
- /usr/bin/awk can't point at gawk - infinite symlink
0da606
0da606
* Mon Aug 14 2000 Preston Brown <pbrown@redhat.com>
0da606
- absolute --> relative symlinks
0da606
0da606
* Tue Aug  8 2000 Florian La Roche <Florian.LaRoche@redhat.com>
0da606
- fix paths for "configure" call
0da606
0da606
* Thu Jul 13 2000 Florian La Roche <Florian.LaRoche@redhat.com>
0da606
- add another bugfix
0da606
0da606
* Thu Jul 13 2000 Florian La Roche <Florian.LaRoche@redhat.com>
0da606
- update to 3.0.5 with bugfix
0da606
0da606
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
0da606
- automatic rebuild
0da606
0da606
* Fri Jun 30 2000 Matt Wilson <msw@redhat.com>
0da606
- revert to 3.0.4.  3.0.5 misgenerates e2fsprogs' test cases
0da606
0da606
* Wed Jun 28 2000 Florian La Roche <Florian.LaRoche@redhat.com>
0da606
- update to 3.0.5
0da606
0da606
* Mon Jun 19 2000 Florian La Roche <Florian.LaRoche@redhat.com>
0da606
- add defattr
0da606
0da606
* Mon Jun 19 2000 Florian La Roche <Florian.LaRoche@redhat.com>
0da606
- FHS
0da606
0da606
* Tue Mar 14 2000 Florian La Roche <Florian.LaRoche@redhat.com>
0da606
- add bug-fix
0da606
0da606
* Thu Feb  3 2000 Bernhard Rosenkraenzer <bero@redhat.com>
0da606
- Fix man page symlinks
0da606
- Fix description
0da606
- Fix download URL
0da606
0da606
* Wed Jun 30 1999 Jeff Johnson <jbj@redhat.com>
0da606
- update to 3.0.4.
0da606
0da606
* Tue Apr 06 1999 Preston Brown <pbrown@redhat.com>
0da606
- make sure all binaries are stripped
0da606
0da606
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
0da606
- auto rebuild in the new build environment (release 6)
0da606
0da606
* Fri Feb 19 1999 Jeff Johnson <jbj@redhat.com>
0da606
- Install info pages (#1242).
0da606
0da606
* Fri Dec 18 1998 Cristian Gafton <gafton@redhat.com>
0da606
- build for glibc 2.1
0da606
- don't package /usr/info/dir
0da606
0da606
* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
0da606
- translations modified for de, fr, tr
0da606
0da606
* Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
0da606
- upgraded to 3.0.3
0da606
- added documentation and buildroot
0da606
0da606
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
0da606
- built against glibc
0da606