Blame SPECS/byacc.spec

8f2b8b
%define byaccdate 20130304
8f2b8b
8f2b8b
Summary: Berkeley Yacc, a parser generator
8f2b8b
Name: byacc
8f2b8b
Version: 1.9.%{byaccdate}
8f2b8b
Release: 3%{?dist}
8f2b8b
License: Public Domain
8f2b8b
Group: Development/Tools
8f2b8b
URL: http://invisible-island.net/byacc/byacc.html
8f2b8b
Source: ftp://invisible-island.net/byacc/byacc-%{byaccdate}.tgz
8f2b8b
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
8f2b8b
8f2b8b
%description
8f2b8b
This package provides a parser generator utility that reads a grammar
8f2b8b
specification from a file and generates an LR(1) parser for it.  The
8f2b8b
parsers consist of a set of LALR(1) parsing tables and a driver
8f2b8b
routine written in the C programming language.  It has a public domain
8f2b8b
license which includes the generated C.
8f2b8b
8f2b8b
If you are going to do development on your system, you will want to install
8f2b8b
this package.
8f2b8b
8f2b8b
%prep
8f2b8b
%setup -q -n byacc-%{byaccdate}
8f2b8b
8f2b8b
# Revert default stack size back to 10000
8f2b8b
# https://bugzilla.redhat.com/show_bug.cgi?id=743343
8f2b8b
find . -type f -name \*.c -print0 |
8f2b8b
  xargs -0 sed -i 's/YYSTACKSIZE 500/YYSTACKSIZE 10000/g'
8f2b8b
8f2b8b
%build
8f2b8b
%configure --disable-dependency-tracking
8f2b8b
make %{?_smp_mflags}
8f2b8b
8f2b8b
%install
8f2b8b
rm -rf $RPM_BUILD_ROOT
8f2b8b
make DESTDIR=$RPM_BUILD_ROOT install
8f2b8b
ln -s yacc $RPM_BUILD_ROOT/%{_bindir}/byacc
8f2b8b
ln -s yacc.1 $RPM_BUILD_ROOT/%{_mandir}/man1/byacc.1
8f2b8b
8f2b8b
%check
8f2b8b
echo ====================TESTING=========================
8f2b8b
make check
8f2b8b
echo ====================TESTING END=====================
8f2b8b
8f2b8b
%clean
8f2b8b
rm -rf $RPM_BUILD_ROOT
8f2b8b
8f2b8b
%files
8f2b8b
%doc ACKNOWLEDGEMENTS CHANGES NEW_FEATURES NOTES NO_WARRANTY README
8f2b8b
%defattr(-,root,root,-)
8f2b8b
%{_bindir}/yacc
8f2b8b
%{_bindir}/byacc
8f2b8b
%{_mandir}/man1/yacc.1*
8f2b8b
%{_mandir}/man1/byacc.1*
8f2b8b
8f2b8b
%changelog
8f2b8b
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.9.20130304-3
8f2b8b
- Mass rebuild 2014-01-24
8f2b8b
8f2b8b
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.9.20130304-2
8f2b8b
- Mass rebuild 2013-12-27
8f2b8b
8f2b8b
* Wed Mar 20 2013 Petr Machata <pmachata@redhat.com> - 1.9.20130304-1
8f2b8b
- Rebase to 20130304
8f2b8b
8f2b8b
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.20120115-3
8f2b8b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
8f2b8b
8f2b8b
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.20120115-2
8f2b8b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
8f2b8b
8f2b8b
* Thu Mar 15 2012 Petr Machata <pmachata@redhat.com> - 1.9.20120115-1
8f2b8b
- Rebase to 20120115
8f2b8b
- Resolves: #782010
8f2b8b
8f2b8b
* Mon Jan  9 2012 Petr Machata <pmachata@redhat.com> - 1.9.20111219-1
8f2b8b
- Rebase to 20111219
8f2b8b
  - add "-s" option
8f2b8b
  - Resolves: #769237
8f2b8b
- Revert default stack size to 10000
8f2b8b
  - Related: #743343
8f2b8b
8f2b8b
* Thu Sep 29 2011 Petr Machata <pmachata@redhat.com> - 1.9.20110908-1
8f2b8b
- Rebase to 20110908
8f2b8b
  - add "-i" option.
8f2b8b
  - add error-check in reader.c
8f2b8b
- Resolves: #736627
8f2b8b
8f2b8b
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.20101229-2
8f2b8b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8f2b8b
8f2b8b
* Mon Jan  3 2011 Petr Machata <pmachata@redhat.com> - 1.9.20101229-1
8f2b8b
- Rebase to 20101229
8f2b8b
- Resolves: #665985
8f2b8b
8f2b8b
* Mon Dec  6 2010 Petr Machata <pmachata@redhat.com> - 1.9.20101127-1
8f2b8b
- Rebase to 20101127
8f2b8b
- Resolves: #659010
8f2b8b
8f2b8b
* Wed Nov 10 2010 Petr Machata <pmachata@redhat.com> - 1.9.20100610-1
8f2b8b
- Rebase to 20100610
8f2b8b
- Update the description in accordance with upstream spec template
8f2b8b
- Resolves: #643598
8f2b8b
8f2b8b
* Wed Apr  7 2010 Petr Machata <pmachata@redhat.com> - 1.9.20100216-1
8f2b8b
- Rebase to 20100216
8f2b8b
- Drop the buffer overflow patch, upstream implements this
8f2b8b
- Resolves: #577016
8f2b8b
8f2b8b
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.20070509-6
8f2b8b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
8f2b8b
8f2b8b
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.20070509-5
8f2b8b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
8f2b8b
8f2b8b
* Mon Jul 14 2008 Petr Machata <pmachata@redhat.com> - 1.9.20070509-4
8f2b8b
- Add a patch that fixes ancient buffer overflow
8f2b8b
- Resolves: #454583
8f2b8b
8f2b8b
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.9.20070509-2
8f2b8b
- Autorebuild for GCC 4.3
8f2b8b
8f2b8b
* Tue Nov 13 2007 Petr Machata <pmachata@redhat.com> - 1.9.20070509-1
8f2b8b
- Update to the 20070509 release.
8f2b8b
- Related: #225632
8f2b8b
8f2b8b
* Fri Sep 12 2007 Matthias Saou <http://freshrpms.net/> 1.9.20050813-2
8f2b8b
- Update summary.
8f2b8b
- Remove useless doc copying in install section.
8f2b8b
- Add NOTES and NO_WARRANTY docs.
8f2b8b
8f2b8b
* Thu Feb  2 2007 Petr Machata <pmachata@redhat.com> - 1.9.20050813-1
8f2b8b
- Thomas Dickey's 20050813 version of byacc:
8f2b8b
  - own build system (linux patch reverted)
8f2b8b
  - use tmpfile (security patch reverted)
8f2b8b
- Tidy up the specfile per rpmlint comments
8f2b8b
8f2b8b
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.9-29.2.2
8f2b8b
- rebuild
8f2b8b
8f2b8b
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.9-29.2.1
8f2b8b
- bump again for double-long bug on ppc(64)
8f2b8b
8f2b8b
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.9-29.2
8f2b8b
- rebuilt for new gcc4.1 snapshot and glibc changes
8f2b8b
8f2b8b
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
8f2b8b
- rebuilt
8f2b8b
8f2b8b
* Sun Feb 27 2005 Florian La Roche <laroche@redhat.com>
8f2b8b
- Copyright: -> License:
8f2b8b
8f2b8b
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
8f2b8b
- rebuilt
8f2b8b
8f2b8b
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
8f2b8b
- rebuilt
8f2b8b
8f2b8b
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
8f2b8b
- rebuilt
8f2b8b
8f2b8b
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
8f2b8b
- rebuilt
8f2b8b
8f2b8b
* Thu Dec 05 2002 Elliot Lee <sopwith@redhat.com> 1.9-23
8f2b8b
- Rebuild
8f2b8b
8f2b8b
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
8f2b8b
- automated rebuild
8f2b8b
8f2b8b
* Thu May 23 2002 Tim Powers <timp@redhat.com>
8f2b8b
- automated rebuild
8f2b8b
8f2b8b
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
8f2b8b
- automated rebuild
8f2b8b
8f2b8b
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
8f2b8b
- Bump release + rebuild.
8f2b8b
8f2b8b
* Fri Jan 05 2001 Preston Brown <pbrown@redhat.com>
8f2b8b
- security patch for tmpfile creation from Olaf Kirch <okir@lst.de>
8f2b8b
8f2b8b
* Fri Sep 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
8f2b8b
- Update to the version in FreeBSD CVS - it's actively maintained, unlike
8f2b8b
  the 1993 4BSD version we used to have
8f2b8b
8f2b8b
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
8f2b8b
- automatic rebuild
8f2b8b
8f2b8b
* Wed Jun 28 2000 Bill Nottingham <notting@redhat.com>
8f2b8b
- fix perms in tarball
8f2b8b
8f2b8b
* Mon Jun 19 2000 Bernhard Rosenkraenzer <bero@redhat.com>
8f2b8b
- FHSify
8f2b8b
- handle RPM_OPT_FLAGS
8f2b8b
8f2b8b
* Sat May  6 2000 Bill Nottingham <notting@redhat.com>
8f2b8b
- fix yacc for ia64
8f2b8b
8f2b8b
* Fri Feb  4 2000 Bernhard Rosenkraenzer <bero@redhat.com>
8f2b8b
- rebuild to compress man pages
8f2b8b
- fix up manpage symlink
8f2b8b
8f2b8b
* Wed Apr 07 1999 Preston Brown <pbrown@redhat.com>
8f2b8b
- man page fixed.
8f2b8b
8f2b8b
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
8f2b8b
- auto rebuild in the new build environment (release 10)
8f2b8b
8f2b8b
* Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
8f2b8b
- build for glibc 2.1
8f2b8b
8f2b8b
* Tue Aug 11 1998 Jeff Johnson <jbj@redhat.com>
8f2b8b
- build root
8f2b8b
8f2b8b
* Tue May 05 1998 Prospector System <bugs@redhat.com>
8f2b8b
- translations modified for de, fr, tr
8f2b8b
8f2b8b
* Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
8f2b8b
- various spec file cleanups
8f2b8b
8f2b8b
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
8f2b8b
- built against glibc