Blame SPECS/byacc.spec

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