From dd4ec2499bb165f09173fb4c6591ee69dbcc567b Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 20:48:33 +0100 Subject: [PATCH] automatic version update by autodist [release 3.0.2-1mamba;Thu Dec 05 2013] --- README.md | 9 +++ bison.spec | 160 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 169 insertions(+) create mode 100644 bison.spec diff --git a/README.md b/README.md index 3e05d9d..c7c6dfb 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,11 @@ # bison +Bison is a general purpose parser generator which converts a grammar description for an LALR 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 (but you do need to be very proficient in C programming to be able to use Bison). +Many programs use Bison as part of their build process. +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. + diff --git a/bison.spec b/bison.spec new file mode 100644 index 0000000..17b6aaa --- /dev/null +++ b/bison.spec @@ -0,0 +1,160 @@ +Name: bison +Version: 3.0.2 +Release: 1mamba +Summary: A GNU general-purpose parser generator +Group: Applications/Development +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.gnu.org/software/bison/bison.html +Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.xz +License: GPL +Requires(post):%{__install_info} +BuildRequires: gettext-devel +%if "%{?stage1}" != "1" +BuildRequires: valgrind +%endif +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: m4 +## AUTOBUILDREQ-END +Requires: m4 +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Bison is a general purpose parser generator which converts a grammar description for an LALR 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 (but you do need to be very proficient in C programming to be able to use Bison). +Many programs use Bison as part of their build process. +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. + +%prep +%setup -q + +%build +%configure --disable-rpath +%make +%ifnarch arm +%if "%{_host}" == "%{_build}" +%make check +%endif +%endif + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang %{name} +%find_lang %{name}-runtime +cat %{name}-runtime.lang >> %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +%install_info %{name}.info +: + +%preun +%uninstall_info %{name}.info +: + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/bison +%{_bindir}/yacc +%dir %{_datadir}/bison +%{_datadir}/bison/* +%{_datadir}/aclocal/bison-i18n.m4 +%{_libdir}/liby.a +%{_infodir}/bison.info.* +%{_mandir}/man1/bison.* +%{_mandir}/man1/yacc.* +%doc AUTHORS COPYING +# ChangeLog NEWS README THANKS TODO + +%changelog +* Thu Dec 05 2013 Automatic Build System 3.0.2-1mamba +- automatic version update by autodist + +* Wed Nov 13 2013 Automatic Build System 3.0.1-1mamba +- automatic version update by autodist + +* Fri Jul 26 2013 Automatic Build System 3.0-1mamba +- automatic version update by autodist + +* Mon Apr 15 2013 Automatic Build System 2.7.1-1mamba +- automatic version update by autodist + +* Thu Dec 13 2012 Automatic Build System 2.7-1mamba +- automatic version update by autodist + +* Thu Nov 08 2012 Automatic Build System 2.6.5-1mamba +- automatic version update by autodist + +* Wed Oct 24 2012 Automatic Build System 2.6.4-1mamba +- automatic version update by autodist + +* Tue Oct 23 2012 Automatic Build System 2.6.3-1mamba +- automatic version update by autodist + +* Fri Aug 03 2012 Automatic Build System 2.6.2-1mamba +- automatic version update by autodist + +* Mon Jul 30 2012 Automatic Build System 2.6.1-1mamba +- automatic version update by autodist + +* Fri Jul 20 2012 Automatic Build System 2.6-1mamba +- automatic version update by autodist + +* Wed Jun 06 2012 Automatic Build System 2.5.1-1mamba +- update to 2.5.1 + +* Sun May 15 2011 Automatic Build System 2.5-1mamba +- automatic update by autodist + +* Mon Aug 09 2010 Automatic Build System 2.4.3-1mamba +- automatic update to 2.4.3 by autodist + +* Mon Mar 22 2010 Silvan Calarco 2.4.2-1mamba +- update to 2.4.2 + +* Fri Dec 12 2008 Silvan Calarco 2.4.1-1mamba +- automatic update to 2.4.1 by autodist + +* Mon Nov 03 2008 Silvan Calarco 2.4-1mamba +- automatic update to 2.4 by autodist + +* Mon May 05 2008 Aleph0 2.3a-1mamba +- specfile updated + +* Wed Jun 07 2006 Davide Madrisan 2.3-1qilnx +- update to version 2.3 by autospec + +* Mon May 22 2006 Davide Madrisan 2.2-1qilnx +- update to version 2.2 by autospec + +* Tue Sep 20 2005 Davide Madrisan 2.1-1qilnx +- update to version 2.1 by autospec + +* Wed Aug 31 2005 Davide Madrisan 1.875-4qilnx +- specfile fixes + +* Fri Aug 06 2004 Silvan Calarco 1.875-3qilnx +- added a missing '#' at the beginning of /usr/bin/yacc + +* Fri Mar 05 2004 Silvan Calarco 1.875-2qilnx +- attribute patch applied, fix compilation problems with some packages + +* Tue Nov 18 2003 Silvan Calarco 1.875-1qilnx +- new version rebuild + +* Mon Apr 16 2003 Silvan Calarco 1.35-3qilnx +- removed Prefix declaration +- removed /usr/share/info/dir + +* Mon Apr 14 2003 Alessandro Ramazzina +- creation of bison package