|
|
59c03ee |
Summary: A GNU general-purpose parser generator
|
|
cvsdist |
ab096bb |
Name: bison
|
|
|
6d1ed1b |
Version: 2.4.1
|
|
|
6d1ed1b |
Release: 1%{?dist}
|
|
|
20cd110 |
License: GPLv2+
|
|
cvsdist |
ab096bb |
Group: Development/Tools
|
|
|
60135ee |
Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2
|
|
|
04f3d29 |
Patch1: bison-2.4-reap_subpipe.patch
|
|
|
d488a5e |
URL: http://www.gnu.org/software/bison/
|
|
cvsdist |
ab096bb |
BuildRoot: %{_tmppath}/%{name}-root
|
|
|
04f3d29 |
BuildRequires: m4 >= 1.4 java-1.6.0-openjdk-devel
|
|
cvsdist |
2699f49 |
Requires: m4 >= 1.4
|
|
|
1629dbe |
Requires(post): /sbin/install-info
|
|
|
1629dbe |
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
|
|
|
114f9f4 |
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 |
|
|
|
6c7ed39 |
# -ly is kept static. It only contains two symbols: main and yyerror,
|
|
|
6c7ed39 |
# and both of these are extremely simple (couple lines of C total).
|
|
|
6c7ed39 |
# It doesn't really pay off to introduce a shared library for that.
|
|
|
6c7ed39 |
#
|
|
|
6c7ed39 |
# Therefore -devel subpackage could have been created as -static, but
|
|
|
6c7ed39 |
# the split was done in Jan 2005, which predates current guidelines.
|
|
|
6c7ed39 |
# Besides there is logic to that: the library is devel in the sense
|
|
|
6c7ed39 |
# that the generated parser could be distributed together with other
|
|
|
6c7ed39 |
# sources, and only bison-devel would be necessary to wrap the build.
|
|
|
6c7ed39 |
|
|
|
60135ee |
%package runtime
|
|
|
60135ee |
Summary: Runtime support files used by Bison-generated parsers
|
|
|
60135ee |
Group: Development/Libraries
|
|
|
60135ee |
|
|
|
60135ee |
%description runtime
|
|
|
60135ee |
The bison-runtime package contains files used at runtime by parsers
|
|
|
60135ee |
that Bison generates. Packages whose binaries contain parsers
|
|
|
60135ee |
generated by Bison should depend on bison-runtime to ensure that
|
|
|
114f9f4 |
these files are available. See the Internationalization in the
|
|
|
114f9f4 |
Bison manual section for more information.
|
|
|
60135ee |
|
|
cvsdist |
ab096bb |
%prep
|
|
cvsdist |
ab096bb |
%setup -q
|
|
|
04f3d29 |
%patch1 -p1
|
|
cvsdist |
4420369 |
|
|
cvsdist |
ab096bb |
%build
|
|
cvsdist |
8148f59 |
%configure
|
|
cvsdist |
540007d |
make
|
|
cvsdist |
ab096bb |
|
|
|
1734016 |
%check
|
|
|
1734016 |
make check
|
|
|
1734016 |
#make maintainer-check
|
|
|
1734016 |
|
|
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
|
|
|
04f3d29 |
rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/yacc*
|
|
cvsdist |
071d5f5 |
|
|
cvsdist |
8148f59 |
%find_lang %{name}
|
|
|
60135ee |
%find_lang %{name}-runtime
|
|
cvsdist |
ab096bb |
|
|
cvsdist |
ab096bb |
gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info*
|
|
cvsdist |
ab096bb |
|
|
cvsdist |
ab096bb |
%post
|
|
|
1629dbe |
/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
|
|
|
1629dbe |
/sbin/install-info --delete %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || :
|
|
cvsdist |
ab096bb |
fi
|
|
cvsdist |
ab096bb |
|
|
|
59c03ee |
# The distribution contains also source files. These are used by m4
|
|
|
59c03ee |
# when the target parser file is generated.
|
|
cvsdist |
8148f59 |
%files -f %{name}.lang
|
|
cvsdist |
ab096bb |
%defattr(-,root,root)
|
|
|
c171458 |
%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
|
|
|
60135ee |
%{_datadir}/aclocal/bison*.m4
|
|
|
60135ee |
|
|
|
60135ee |
%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
|
|
|
6d1ed1b |
* Sun Dec 28 2008 Petr Machata <pmachata@redhat.com> - 2.4.1-1
|
|
|
6d1ed1b |
- Rebase to 2.4.1
|
|
|
6d1ed1b |
- Resolves: #478348
|
|
|
6d1ed1b |
|
|
|
c58a535 |
* Wed Nov 12 2008 Petr Machata <pmachata@redhat.com> - 2.4-2
|
|
|
04f3d29 |
- Rebase to 2.4
|
|
|
04f3d29 |
- Resolves: #471183
|
|
|
04f3d29 |
|
|
|
59c03ee |
* Mon Sep 15 2008 Petr Machata <pmachata@redhat.com> - 2.3-6
|
|
|
59c03ee |
- Merge review:
|
|
|
59c03ee |
- Drop terminating dot from Summary
|
|
|
59c03ee |
- Escape macros inadvertently left in changelog
|
|
|
59c03ee |
- Explain why are there source files in the main package
|
|
|
59c03ee |
|
|
|
7cffe60 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.3-5
|
|
|
7cffe60 |
- Autorebuild for GCC 4.3
|
|
|
7cffe60 |
|
|
|
20cd110 |
* Tue Aug 28 2007 Roland McGrath <roland@redhat.com> - 2.3-4
|
|
|
20cd110 |
- Canonicalize License tag.
|
|
|
20cd110 |
|
|
|
1629dbe |
* Sun Jan 21 2007 Roland McGrath <roland@redhat.com> - 2.3-3
|
|
|
1629dbe |
- Canonicalize post/preun use of install-info.
|
|
|
1629dbe |
- Resolves: 223679
|
|
|
1629dbe |
|
|
|
909372f |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.3-2.1
|
|
|
909372f |
- rebuild
|
|
|
909372f |
|
|
|
2d9db33 |
* Wed Jun 7 2006 Roland McGrath <roland@redhat.com> - 2.3-2
|
|
|
2d9db33 |
- Add BuildRequires on m4.
|
|
|
2d9db33 |
|
|
|
ccbd0d8 |
* Wed Jun 7 2006 Roland McGrath <roland@redhat.com> - 2.3-1
|
|
|
ccbd0d8 |
- New upstream version 2.3
|
|
|
ccbd0d8 |
|
|
|
c171458 |
* Mon May 22 2006 Roland McGrath <roland@redhat.com> - 2.2-1
|
|
|
c171458 |
- New upstream version 2.2
|
|
|
c171458 |
|
|
|
d488a5e |
* Mon May 1 2006 Roland McGrath <roland@redhat.com> - 2.1-3
|
|
|
d488a5e |
- Fix K&R parser definition when it has no arguments (#190376).
|
|
|
d488a5e |
|
|
|
08ec52c |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.1-1.2.1
|
|
|
08ec52c |
- bump again for double-long bug on ppc(64)
|
|
|
08ec52c |
|
|
|
cb640ca |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.1-1.2
|
|
|
cb640ca |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
cb640ca |
|
|
|
e970bf5 |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
e970bf5 |
- rebuilt
|
|
|
e970bf5 |
|
|
|
60135ee |
* Fri Oct 14 2005 Roland McGrath <roland@redhat.com> - 2.1-1
|
|
|
60135ee |
- New upstream version 2.1
|
|
|
60135ee |
- New subpackage bison-runtime for i18n support files used by parsers.
|
|
|
60135ee |
|
|
|
1734016 |
* Thu Apr 7 2005 Roland McGrath <roland@redhat.com> - 2.0-6
|
|
|
1734016 |
- run test suite in %%check
|
|
|
1734016 |
|
|
|
f34e193 |
* Mon Mar 14 2005 Roland McGrath <roland@redhat.com> - 2.0-5
|
|
|
f34e193 |
- rebuilt
|
|
|
f34e193 |
|
|
|
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
|
|
|
59c03ee |
- 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
|