diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index 8edd080..0000000 --- a/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -bison-2.0.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4980d5b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +bison-2.3.tar.bz2 diff --git a/Makefile b/Makefile deleted file mode 100644 index 94c9972..0000000 --- a/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -# Makefile for source rpm: bison -# $Id$ -NAME := bison -SPECFILE = $(firstword $(wildcard *.spec)) - -include ../common/Makefile.common diff --git a/bison-2.3.tar.bz2.sig b/bison-2.3.tar.bz2.sig new file mode 100644 index 0000000..cdd10e6 Binary files /dev/null and b/bison-2.3.tar.bz2.sig differ diff --git a/bison.spec b/bison.spec index 51ce448..f442390 100644 --- a/bison.spec +++ b/bison.spec @@ -1,15 +1,16 @@ Summary: A GNU general-purpose parser generator. Name: bison -Version: 2.0 -Release: 4 -License: GPL +Version: 2.3 +Release: 5%{?dist} +License: GPLv2+ Group: Development/Tools -#Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 -Source: http://ftp.gnu.org/gnu/bison/bison-%{version}.tar.gz -Url: http://www.gnu.org/software/bison/ -Prereq: /sbin/install-info +Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 +URL: http://www.gnu.org/software/bison/ BuildRoot: %{_tmppath}/%{name}-root +BuildRequires: m4 >= 1.4 Requires: m4 >= 1.4 +Requires(post): /sbin/install-info +Requires(preun): /sbin/install-info %description Bison is a general purpose parser generator that converts a grammar @@ -34,9 +35,20 @@ Group: Development/Libraries The bison-devel package contains the -ly library sometimes used by programs using Bison-generated parsers. If you are developing programs using Bison, you might want to link with this library. This library -is required by all Bison-generated parsers, but may be employed by +is not required by all Bison-generated parsers, but may be employed by simple programs to supply minimal support for the generated parsers. +%package runtime +Summary: Runtime support files used by Bison-generated parsers +Group: Development/Libraries + +%description runtime +The bison-runtime package contains files used at runtime by parsers +that Bison generates. Packages whose binaries contain parsers +generated by Bison should depend on bison-runtime to ensure that +these files are available. See the Internationalization in the +Bison manual section for more information. + %prep %setup -q @@ -44,6 +56,10 @@ simple programs to supply minimal support for the generated parsers. %configure make +%check +make check +#make maintainer-check + %install rm -rf $RPM_BUILD_ROOT %makeinstall @@ -53,24 +69,28 @@ rm -f $RPM_BUILD_ROOT/%{_bindir}/yacc rm -f $RPM_BUILD_ROOT/%{_infodir}/dir %find_lang %{name} +%find_lang %{name}-runtime gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %post -/sbin/install-info %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." +/sbin/install-info %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || : %preun if [ $1 = 0 ]; then - /sbin/install-info --delete %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." + /sbin/install-info --delete %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || : fi %files -f %{name}.lang %defattr(-,root,root) -%doc AUTHORS ChangeLog NEWS OChangeLog README REFERENCES THANKS TODO doc/FAQ +%doc AUTHORS ChangeLog NEWS OChangeLog README THANKS TODO %{_mandir}/*/bison* %{_datadir}/bison %{_infodir}/bison.info* %{_bindir}/bison +%{_datadir}/aclocal/bison*.m4 + +%files -f %{name}-runtime.lang runtime %files devel %defattr(-,root,root) @@ -80,6 +100,50 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Tue Feb 19 2008 Fedora Release Engineering - 2.3-5 +- Autorebuild for GCC 4.3 + +* Tue Aug 28 2007 Roland McGrath - 2.3-4 +- Canonicalize License tag. + +* Sun Jan 21 2007 Roland McGrath - 2.3-3 +- Canonicalize post/preun use of install-info. +- Resolves: 223679 + +* Wed Jul 12 2006 Jesse Keating - 2.3-2.1 +- rebuild + +* Wed Jun 7 2006 Roland McGrath - 2.3-2 +- Add BuildRequires on m4. + +* Wed Jun 7 2006 Roland McGrath - 2.3-1 +- New upstream version 2.3 + +* Mon May 22 2006 Roland McGrath - 2.2-1 +- New upstream version 2.2 + +* Mon May 1 2006 Roland McGrath - 2.1-3 +- Fix K&R parser definition when it has no arguments (#190376). + +* Fri Feb 10 2006 Jesse Keating - 2.1-1.2.1 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 2.1-1.2 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Fri Oct 14 2005 Roland McGrath - 2.1-1 +- New upstream version 2.1 +- New subpackage bison-runtime for i18n support files used by parsers. + +* Thu Apr 7 2005 Roland McGrath - 2.0-6 +- run test suite in %%check + +* Mon Mar 14 2005 Roland McGrath - 2.0-5 +- rebuilt + * Thu Jan 6 2005 Roland McGrath - 2.0-4 - update upstream URLs, add doc files (#144346) diff --git a/mirrors b/mirrors new file mode 100644 index 0000000..7aaad0b --- /dev/null +++ b/mirrors @@ -0,0 +1 @@ +http://ftp.gnu.org/gnu/bison diff --git a/sources b/sources index 2aadfe5..fbbd0f9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c17f964fd5504b88b07a183420de25e3 bison-2.0.tar.gz +c18640c6ec31a169d351e3117ecce3ec bison-2.3.tar.bz2 diff --git a/upstream b/upstream new file mode 100644 index 0000000..4980d5b --- /dev/null +++ b/upstream @@ -0,0 +1 @@ +bison-2.3.tar.bz2 diff --git a/upstream-key.gpg b/upstream-key.gpg new file mode 100644 index 0000000..7e88f82 --- /dev/null +++ b/upstream-key.gpg @@ -0,0 +1,48 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.4.1 (GNU/Linux) + +mQGiBD8yt+oRBADkmVuWjrl0k0lrYOdaczAslirKeiayAd8868d7V6GzfFc/HES4 +tFhi+okVybTAUJ6i4oKmIV0c5pNyzZ3TErHYFb40RP0FgW39SMgAIQ/H/kBMSj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