automatic version update by autodist [release 3.0.2-1mamba;Thu Dec 05 2013]

This commit is contained in:
Automatic Build System 2024-01-05 20:48:33 +01:00
parent 540835e895
commit dd4ec2499b
2 changed files with 169 additions and 0 deletions

View File

@ -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.

160
bison.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <autodist@mambasoft.it> 3.0.2-1mamba
- automatic version update by autodist
* Wed Nov 13 2013 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
- automatic version update by autodist
* Fri Jul 26 2013 Automatic Build System <autodist@mambasoft.it> 3.0-1mamba
- automatic version update by autodist
* Mon Apr 15 2013 Automatic Build System <autodist@mambasoft.it> 2.7.1-1mamba
- automatic version update by autodist
* Thu Dec 13 2012 Automatic Build System <autodist@mambasoft.it> 2.7-1mamba
- automatic version update by autodist
* Thu Nov 08 2012 Automatic Build System <autodist@mambasoft.it> 2.6.5-1mamba
- automatic version update by autodist
* Wed Oct 24 2012 Automatic Build System <autodist@mambasoft.it> 2.6.4-1mamba
- automatic version update by autodist
* Tue Oct 23 2012 Automatic Build System <autodist@mambasoft.it> 2.6.3-1mamba
- automatic version update by autodist
* Fri Aug 03 2012 Automatic Build System <autodist@mambasoft.it> 2.6.2-1mamba
- automatic version update by autodist
* Mon Jul 30 2012 Automatic Build System <autodist@mambasoft.it> 2.6.1-1mamba
- automatic version update by autodist
* Fri Jul 20 2012 Automatic Build System <autodist@mambasoft.it> 2.6-1mamba
- automatic version update by autodist
* Wed Jun 06 2012 Automatic Build System <autodist@mambasoft.it> 2.5.1-1mamba
- update to 2.5.1
* Sun May 15 2011 Automatic Build System <autodist@mambasoft.it> 2.5-1mamba
- automatic update by autodist
* Mon Aug 09 2010 Automatic Build System <autodist@mambasoft.it> 2.4.3-1mamba
- automatic update to 2.4.3 by autodist
* Mon Mar 22 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.2-1mamba
- update to 2.4.2
* Fri Dec 12 2008 Silvan Calarco <silvan.o at mambasoft.it> 2.4.1-1mamba
- automatic update to 2.4.1 by autodist
* Mon Nov 03 2008 Silvan Calarco <silvan.o at mambasoft.it> 2.4-1mamba
- automatic update to 2.4 by autodist
* Mon May 05 2008 Aleph0 <aleph0 at openmamba.org> 2.3a-1mamba
- specfile updated
* Wed Jun 07 2006 Davide Madrisan <davide.n at qilinux.it> 2.3-1qilnx
- update to version 2.3 by autospec
* Mon May 22 2006 Davide Madrisan <davide.n at qilinux.it> 2.2-1qilnx
- update to version 2.2 by autospec
* Tue Sep 20 2005 Davide Madrisan <davide.n at qilinux.it> 2.1-1qilnx
- update to version 2.1 by autospec
* Wed Aug 31 2005 Davide Madrisan <davide.n at qilinux.it> 1.875-4qilnx
- specfile fixes
* Fri Aug 06 2004 Silvan Calarco <silvan.o at mambasoft.it> 1.875-3qilnx
- added a missing '#' at the beginning of /usr/bin/yacc
* Fri Mar 05 2004 Silvan Calarco <silvan.o at mambasoft.it> 1.875-2qilnx
- attribute patch applied, fix compilation problems with some packages
* Tue Nov 18 2003 Silvan Calarco <silvan.o at mambasoft.it> 1.875-1qilnx
- new version rebuild
* Mon Apr 16 2003 Silvan Calarco <silvan.o at qinet.it> 1.35-3qilnx
- removed Prefix declaration
- removed /usr/share/info/dir
* Mon Apr 14 2003 Alessandro Ramazzina <alessandro.a at qinet.it>
- creation of bison package