diff --git a/.cvsignore b/.cvsignore index b660810..a164153 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -bison-1.28.tar.gz +bison-1.34.tar.bz2 diff --git a/bison.spec b/bison.spec index 2a7b5d7..cf4fd81 100644 --- a/bison.spec +++ b/bison.spec @@ -1,37 +1,43 @@ Summary: A GNU general-purpose parser generator. Name: bison -Version: 1.28 -Release: 7 -Copyright: GPL +Version: 1.34 +Release: 1 +License: GPL Group: Development/Tools -Source: ftp://prep.ai.mit.edu/pub/gnu/bison/bison-%{version}.tar.gz +Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 +Url: http://www.gnu.org/software/bison/bison.html +Patch: bison-1.30-man.patch Prereq: /sbin/install-info BuildRoot: %{_tmppath}/%{name}-root %description -Bison is a general purpose parser generator which converts a grammar -description for an LALR(1) context-free grammar into a C program to parse -that grammar. Bison can be used to develop a wide range of language -parsers, from ones used in simple desk calculators to complex programming -languages. Bison is upwardly compatible with Yacc, so any correctly -written Yacc grammar should work with Bison without any changes. If -you know Yacc, you shouldn't have any trouble using Bison. You do need -to be very proficient in C programming to be able to use Bison). Bison -is only needed on systems that are used for development. +Bison is a general purpose parser generator that converts a grammar +description for an LALR(1) context-free grammar into a C program to +parse that grammar. Bison can be used to develop a wide range of +language parsers, from ones used in simple desk calculators to complex +programming languages. Bison is upwardly compatible with Yacc, so any +correctly written Yacc grammar should work with Bison without any +changes. If you know Yacc, you shouldn't have any trouble using +Bison. You do need to be very proficient in C programming to be able +to use Bison. Bison is only needed on systems that are used for +development. -If your system will be used for C development, you should install Bison -since it is used to build many C programs. +If your system will be used for C development, you should install +Bison. %prep %setup -q +%patch -p1 -b .man %build -%configure --datadir=%{_libdir} +%configure make LDFLAGS=-s %install rm -rf $RPM_BUILD_ROOT -%makeinstall datadir=${RPM_BUILD_ROOT}%{_libdir} +%makeinstall + +%find_lang %{name} gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* @@ -43,10 +49,10 @@ if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." fi -%files +%files -f %{name}.lang %defattr(-,root,root) %{_mandir}/*/* -%{_libdir}/* +%{_datadir}/bison %{_infodir}/bison.info* %{_bindir}/* @@ -54,6 +60,38 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Sun Mar 17 2002 Florian La Roche +- update to 1.34 + +* Sat Feb 09 2002 Florian La Roche +- update to 1.33 + +* Sat Jan 26 2002 Florian La Roche +- update to 1.32 + +* Tue Jan 15 2002 Florian La Roche +- update to 1.31 + +* Wed Jan 09 2002 Tim Powers +- automated rebuild + +* Mon Nov 27 2001 Than Ngo 1.30-4 +- add missing Url + +* Sun Nov 25 2001 Than Ngo 1.30-3 +- fixed coredumps on some input bug #56607i, thanks to Enrico for locating this bug + +* Tue Nov 06 2001 Than Ngo 1.30-2 +- FHS packaging +- use find_lang + +* Sun Nov 04 2001 Florian La Roche +- update to 1.30 + +* Mon Oct 15 2001 Than Ngo 1.29-1 +- update to 1.29 +- update Url (bug #54597) + * Sun Jun 24 2001 Elliot Lee - Bump release + rebuild. diff --git a/sources b/sources index e67d838..007961c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4afb3989f2270043c47c3daa1fa7ffab bison-1.28.tar.gz +911b23850a31548ee8ffff1b7d4cc26e bison-1.34.tar.bz2