packages bison.spec
      Pages: < 1 >  DOWNLOAD      
Name:          bison
Version:       2.5
Release:       1mamba2
Summary:       A GNU general-purpose parser generator
Group:         Applications/Development
Vendor:        openmamba
Distribution:  openmamba
Packager:      Silvan Calarco <silvan.calarco@...>
License:       GPL
BuildRequires: gettext-devel
%if "%{?stage1}" != "1"
BuildRequires: valgrind
BuildRequires: glibc-devel
BuildRequires: m4
Requires:      m4
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

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.

%setup -q

%configure --disable-rpath
%if "%{_host}" == "%{_build}"
%make check

[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%find_lang %{name}
%find_lang %{name}-runtime
cat %{name}-runtime.lang >> %{name}.lang

[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%install_info %{name}.info

%uninstall_info %{name}.info

%files -f %{name}.lang
%dir %{_datadir}/bison

* Sat May 12 2012 Silvan Calarco <silvan.calarco@...> 2.5-1mamba2
- mamba2 milestone rebuild

* Sun May 15 2011 Automatic Build System <autodist@...> 2.5-1mamba
- automatic update by autodist

* Mon Aug 09 2010 Automatic Build System <autodist@...> 2.4.3-1mamba
- automatic update to 2.4.3 by autodist

* Mon Mar 22 2010 Silvan Calarco <silvan.calarco@...> 2.4.2-1mamba
- update to 2.4.2

* Fri Dec 12 2008 Silvan Calarco <silvan.o at> 2.4.1-1mamba
- automatic update to 2.4.1 by autodist

* Mon Nov 03 2008 Silvan Calarco <silvan.o at> 2.4-1mamba
- automatic update to 2.4 by autodist

* Mon May 05 2008 Aleph0 <aleph0 at> 2.3a-1mamba
- specfile updated

* Wed Jun 07 2006 Davide Madrisan <davide.n at> 2.3-1qilnx
- update to version 2.3 by autospec

* Mon May 22 2006 Davide Madrisan <davide.n at> 2.2-1qilnx
- update to version 2.2 by autospec

* Tue Sep 20 2005 Davide Madrisan <davide.n at> 2.1-1qilnx
- update to version 2.1 by autospec

* Wed Aug 31 2005 Davide Madrisan <davide.n at> 1.875-4qilnx
- specfile fixes

* Fri Aug 06 2004 Silvan Calarco <silvan.o at> 1.875-3qilnx
- added a missing '#' at the beginning of /usr/bin/yacc

* Fri Mar 05 2004 Silvan Calarco <silvan.o at> 1.875-2qilnx
- attribute patch applied, fix compilation problems with some packages

* Tue Nov 18 2003 Silvan Calarco <silvan.o at> 1.875-1qilnx
- new version rebuild

* Mon Apr 16 2003 Silvan Calarco <silvan.o at> 1.35-3qilnx
- removed Prefix declaration
- removed /usr/share/info/dir

* Mon Apr 14 2003 Alessandro Ramazzina <alessandro.a at>
- creation of bison package