cvsdist ab096bb
Summary: A GNU general-purpose parser generator.
cvsdist ab096bb
Name: bison
d0f8865
Version: 2.3
3e48cc7
Release: 4%{?dist}
3e48cc7
License: GPLv2+
cvsdist ab096bb
Group: Development/Tools
2b76352
Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2
92c5f55
URL: http://www.gnu.org/software/bison/
cvsdist ab096bb
BuildRoot: %{_tmppath}/%{name}-root
5406575
BuildRequires: m4 >= 1.4
cvsdist 2699f49
Requires: m4 >= 1.4
e5dec5b
Requires(post): /sbin/install-info
e5dec5b
Requires(preun): /sbin/install-info
cvsdist ab096bb
cvsdist ab096bb
%description
cvsdist 8148f59
Bison is a general purpose parser generator that converts a grammar
cvsdist 8148f59
description for an LALR(1) context-free grammar into a C program to
cvsdist 8148f59
parse that grammar. Bison can be used to develop a wide range of
cvsdist 8148f59
language parsers, from ones used in simple desk calculators to complex
cvsdist 8148f59
programming languages. Bison is upwardly compatible with Yacc, so any
cvsdist 8148f59
correctly written Yacc grammar should work with Bison without any
cvsdist 8148f59
changes. If you know Yacc, you shouldn't have any trouble using
cvsdist 8148f59
Bison. You do need to be very proficient in C programming to be able
cvsdist 8148f59
to use Bison. Bison is only needed on systems that are used for
cvsdist 8148f59
development.
cvsdist 8148f59
cvsdist 8148f59
If your system will be used for C development, you should install
cvsdist 8148f59
Bison.
cvsdist ab096bb
1533eb7
%package devel
1533eb7
Summary: -ly library for development using Bison-generated parsers
1533eb7
Group: Development/Libraries
1533eb7
1533eb7
%description devel
1533eb7
The bison-devel package contains the -ly library sometimes used by
1533eb7
programs using Bison-generated parsers.  If you are developing programs
1533eb7
using Bison, you might want to link with this library.  This library
eb37b37
is not required by all Bison-generated parsers, but may be employed by
1533eb7
simple programs to supply minimal support for the generated parsers.
1533eb7
2b76352
%package runtime
2b76352
Summary: Runtime support files used by Bison-generated parsers
2b76352
Group: Development/Libraries
2b76352
2b76352
%description runtime
2b76352
The bison-runtime package contains files used at runtime by parsers
2b76352
that Bison generates.  Packages whose binaries contain parsers
2b76352
generated by Bison should depend on bison-runtime to ensure that
eb37b37
these files are available.  See the Internationalization in the
eb37b37
Bison manual section for more information.
2b76352
cvsdist ab096bb
%prep
cvsdist ab096bb
%setup -q
cvsdist 4420369
cvsdist ab096bb
%build
cvsdist 8148f59
%configure
cvsdist 540007d
make
cvsdist ab096bb
1dd1351
%check
1dd1351
make check
1dd1351
#make maintainer-check
1dd1351
cvsdist ab096bb
%install
cvsdist ab096bb
rm -rf $RPM_BUILD_ROOT
cvsdist 8148f59
%makeinstall
cvsdist 8148f59
cvsdist 4420369
# Remove unpackaged files.
cvsdist 4420369
rm -f $RPM_BUILD_ROOT/%{_bindir}/yacc
cvsdist 071d5f5
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
cvsdist 071d5f5
cvsdist 8148f59
%find_lang %{name}
2b76352
%find_lang %{name}-runtime
cvsdist ab096bb
cvsdist ab096bb
gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info*
cvsdist ab096bb
cvsdist ab096bb
%post
e5dec5b
/sbin/install-info %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison).                        The GNU parser generator." || :
cvsdist ab096bb
cvsdist ab096bb
%preun
cvsdist ab096bb
if [ $1 = 0 ]; then
e5dec5b
  /sbin/install-info --delete %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison).                        The GNU parser generator." || :
cvsdist ab096bb
fi
cvsdist ab096bb
cvsdist 8148f59
%files -f %{name}.lang
cvsdist ab096bb
%defattr(-,root,root)
d280d6f
%doc AUTHORS ChangeLog NEWS OChangeLog README THANKS TODO
cvsdist 4420369
%{_mandir}/*/bison*
cvsdist 8148f59
%{_datadir}/bison
cvsdist ab096bb
%{_infodir}/bison.info*
cvsdist 4420369
%{_bindir}/bison
2b76352
%{_datadir}/aclocal/bison*.m4
2b76352
2b76352
%files -f %{name}-runtime.lang runtime
1533eb7
1533eb7
%files devel
b5efa4e
%defattr(-,root,root)
cvsdist 4420369
%{_libdir}/liby.a
cvsdist ab096bb
cvsdist ab096bb
%clean
cvsdist ab096bb
rm -rf $RPM_BUILD_ROOT
cvsdist ab096bb
cvsdist ab096bb
%changelog
3e48cc7
* Tue Aug 28 2007 Roland McGrath <roland@redhat.com> - 2.3-4
3e48cc7
- Canonicalize License tag.
3e48cc7
e5dec5b
* Sun Jan 21 2007 Roland McGrath <roland@redhat.com> - 2.3-3
e5dec5b
- Canonicalize post/preun use of install-info.
e5dec5b
- Resolves: 223679
e5dec5b
d61b128
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.3-2.1
d61b128
- rebuild
d61b128
5406575
* Wed Jun  7 2006 Roland McGrath <roland@redhat.com> - 2.3-2
5406575
- Add BuildRequires on m4.
5406575
d0f8865
* Wed Jun  7 2006 Roland McGrath <roland@redhat.com> - 2.3-1
d0f8865
- New upstream version 2.3
d0f8865
d280d6f
* Mon May 22 2006 Roland McGrath <roland@redhat.com> - 2.2-1
d280d6f
- New upstream version 2.2
d280d6f
92c5f55
* Mon May  1 2006 Roland McGrath <roland@redhat.com> - 2.1-3
92c5f55
- Fix K&R parser definition when it has no arguments (#190376).
92c5f55
2449169
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.1-1.2.1
2449169
- bump again for double-long bug on ppc(64)
2449169
a7b544b
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.1-1.2
a7b544b
- rebuilt for new gcc4.1 snapshot and glibc changes
a7b544b
a00a2e3
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
a00a2e3
- rebuilt
a00a2e3
2b76352
* Fri Oct 14 2005 Roland McGrath <roland@redhat.com> - 2.1-1
2b76352
- New upstream version 2.1
2b76352
- New subpackage bison-runtime for i18n support files used by parsers.
2b76352
1dd1351
* Thu Apr  7 2005 Roland McGrath <roland@redhat.com> - 2.0-6
1dd1351
- run test suite in %%check
1dd1351
5e361b8
* Mon Mar 14 2005 Roland McGrath <roland@redhat.com> - 2.0-5
5e361b8
- rebuilt
5e361b8
b66ed1f
* Thu Jan  6 2005 Roland McGrath <roland@redhat.com> - 2.0-4
b66ed1f
- update upstream URLs, add doc files (#144346)
b66ed1f
b5efa4e
* Thu Jan  6 2005 Roland McGrath <roland@redhat.com> - 2.0-3
b5efa4e
- missing %defattr for subpackage
b5efa4e
1533eb7
* Thu Jan  6 2005 Roland McGrath <roland@redhat.com> - 2.0-2
1533eb7
- split liby.a into bison-devel package
1533eb7
d1dd8e1
* Tue Jan  4 2005 Roland McGrath <roland@redhat.com> - 2.0-1
d1dd8e1
- new upstream version
d1dd8e1
cvsdist f0ef921
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist f0ef921
- rebuilt
cvsdist f0ef921
cvsdist f0ef921
* Fri Jun  4 2004 Roland McGrath <roland@redhat.com> 1.875c-1
cvsdist f0ef921
- new upstream version (fixes bug #116823)
cvsdist f0ef921
cvsdist 6a9cddc
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 6a9cddc
- rebuilt
cvsdist 6a9cddc
cvsdist 6a9cddc
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 6a9cddc
- rebuilt
cvsdist 6a9cddc
cvsdist 2699f49
* Thu Oct 30 2003 Roland McGrath <roland@redhat.com> 1.875-6
cvsdist 2699f49
- add dependency on m4 (bug #108655)
cvsdist 2699f49
cvsdist 4420369
* Wed Sep 24 2003 Roland McGrath <roland@redhat.com> 1.875-5
cvsdist 4420369
- remove problematic __attribute__ use for label (bug #105034)
cvsdist 4420369
cvsdist 4420369
* Fri Aug  1 2003 Havoc Pennington <hp@redhat.com> 1.875-3
cvsdist 4420369
- put #ifndef __cplusplus around attribute(unused) on goto label in yacc.c
cvsdist 4420369
cvsdist 4420369
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 4420369
- rebuilt
cvsdist 4420369
cvsdist 4420369
* Sat Mar 22 2003 Roland McGrath <roland@redhat.com> 1.875-2
cvsdist 4420369
- update specs for new files installed by new version
cvsdist 4420369
cvsdist 4420369
* Wed Mar 19 2003 Roland McGrath <roland@redhat.com> 1.875-1
cvsdist 4420369
- new upstream version 1.875 (bug #83184)
cvsdist 4420369
cvsdist 071d5f5
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 071d5f5
- rebuilt
cvsdist 071d5f5
cvsdist 071d5f5
* Wed Nov 27 2002 Than Ngo <than@redhat.com> 1.35-5
cvsdist 071d5f5
- rebuild in new build enviroment
cvsdist 071d5f5
- remove unneeded file
cvsdist 071d5f5
cvsdist c17c8ba
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist c17c8ba
- automated rebuild
cvsdist c17c8ba
cvsdist 540007d
* Tue Jun 18 2002 Than Ngo <than@redhat.com> 1.35-3
cvsdist 540007d
- don't forcibly strip binaries
cvsdist 540007d
cvsdist 540007d
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 540007d
- automated rebuild
cvsdist 540007d
cvsdist c329b88
* Wed Mar 27 2002 Than Ngo <than@redhat.com> 1.35-1
cvsdist c329b88
- 1.35 fix incompatible with C++ compilers (bug #62121)
cvsdist c329b88
cvsdist 8148f59
* Sun Mar 17 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 8148f59
- update to 1.34
cvsdist 8148f59
cvsdist 8148f59
* Sat Feb 09 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 8148f59
- update to 1.33
cvsdist 8148f59
cvsdist 8148f59
* Sat Jan 26 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 8148f59
- update to 1.32
cvsdist 8148f59
cvsdist 8148f59
* Tue Jan 15 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 8148f59
- update to 1.31
cvsdist 8148f59
cvsdist 8148f59
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist 8148f59
- automated rebuild
cvsdist 8148f59
cvsdist 8148f59
* Mon Nov 27 2001 Than Ngo <than@redhat.com> 1.30-4
cvsdist 8148f59
- add missing Url
cvsdist 8148f59
cvsdist 8148f59
* Sun Nov 25 2001 Than Ngo <than@redhat.com> 1.30-3
cvsdist 8148f59
- fixed coredumps on some input bug #56607i, thanks to Enrico for locating this bug
cvsdist 8148f59
cvsdist 8148f59
* Tue Nov 06 2001 Than Ngo <than@redhat.com> 1.30-2
cvsdist 8148f59
- FHS packaging
cvsdist 8148f59
- use find_lang
cvsdist 8148f59
cvsdist 8148f59
* Sun Nov 04 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 8148f59
- update to 1.30
cvsdist 8148f59
cvsdist 8148f59
* Mon Oct 15 2001 Than Ngo <than@redhat.de> 1.29-1
cvsdist 8148f59
- update to 1.29
cvsdist 8148f59
- update Url (bug #54597)
cvsdist 8148f59
cvsdist 5d8adbf
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
cvsdist 5d8adbf
- Bump release + rebuild.
cvsdist 5d8adbf
cvsdist ab096bb
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist ab096bb
- automatic rebuild
cvsdist ab096bb
cvsdist ab096bb
* Sun Jun 18 2000 Than Ngo <than@redhat.de>
cvsdist ab096bb
- rebuilt in the new build environment
cvsdist ab096bb
- FHS packaging
cvsdist ab096bb
cvsdist ab096bb
* Sat May 27 2000 Ngo Than <than@redhat.de>
cvsdist ab096bb
- rebuild for 7.0
cvsdist ab096bb
- put man pages and info files to correct place
cvsdist ab096bb
cvsdist 4420369
* Thu Feb 03 2000 Preston Brown <pbrown@redhat.com>
cvsdist ab096bb
- rebuild to gzip man page.
cvsdist ab096bb
cvsdist ab096bb
* Fri Jul 16 1999 Jeff Johnson <jbj@redhat.com>
cvsdist ab096bb
- update to 1.28.
cvsdist ab096bb
cvsdist 4420369
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
cvsdist ab096bb
- auto rebuild in the new build environment (release 3)
cvsdist ab096bb
cvsdist ab096bb
* Mon Mar  8 1999 Jeff Johnson <jbj@redhat.com>
cvsdist ab096bb
- configure with datadir=/usr/lib (#1386).
cvsdist ab096bb
cvsdist ab096bb
* Mon Feb 22 1999 Jeff Johnson <jbj@redhat.com>
cvsdist ab096bb
- updated text in spec file.
cvsdist ab096bb
- update to 1.27
cvsdist ab096bb
cvsdist ab096bb
* Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
cvsdist ab096bb
- build for glibc 2.1
cvsdist ab096bb
cvsdist ab096bb
* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
cvsdist ab096bb
- translations modified for de, fr, tr
cvsdist ab096bb
cvsdist ab096bb
* Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
cvsdist ab096bb
- built for Manhattan
cvsdist ab096bb
- added build root
cvsdist ab096bb
cvsdist ab096bb
* Wed Oct 15 1997 Donnie Barnes <djb@redhat.com>
cvsdist ab096bb
- various spec file cleanups
cvsdist ab096bb
cvsdist ab096bb
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
cvsdist ab096bb
- built against glibc