Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:bravoall1552:lincom2010.7.6
bison
bison.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bison.spec of Package bison
# # spec file for package bison (version 2.4.1) # # Copyright (c) Lincom Software Team. All spec files # are released under the CC-BY-NC-ND, version 3 United States. # # Basic Information Name: bison Version: 2.4.1 Release: 2%{?dist} Summary: Parser Generator that converts grammar description into C, C++, or Java Group: Development/Tools License: GNU GPL URL: http://www.gnu.org/software/bison/ # Source Information Source0: http://ftp.gnu.org/gnu/bison/bison-%{version}.tar.bz2 # Build Information BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: m4 Requires: m4 Requires(post): /sbin/install-info Requires(preun): /sbin/install-info Provides: byacc Provides: yacc %description 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. %package static Summary: -ly library for development using Bison-generated parsers Group: Development/Libraries Provides: bison-devel %description static The bison-static 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 not required by all Bison-generated parsers, but may be employed by simple programs to supply minimal support for the generated parsers. %prep %setup -q %build %configure --prefix=/usr echo '#define YYENABLE_NLS 1' >> config.h make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} mv %{buildroot}%{_bindir}/yacc %{buildroot}%{_bindir}/yacc.bison %find_lang %{name} %find_lang %{name}-runtime cat %name-runtime.lang >> %name.lang rm -f $RPM_BUILD_ROOT/%{_infodir}/dir gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %post if [ -f %{_infodir}/bison.info.gz ]; then /sbin/install-info %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || : fi %preun if [ $1 = 0 ]; then if [ -f %{_infodir}/bison.info.gz ]; then /sbin/install-info --delete %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || : fi fi %clean rm -rf %{buildroot} %files -f %{name}.lang %defattr(-,root,root,-) %doc COPYING NEWS README %{_bindir}/* %{_datadir}/bison/* %{_datadir}/aclocal/* %{_infodir}/bison.info* %{_mandir}/*/bison* %{_mandir}/*/yacc* %files static %defattr(-,root,root) %{_libdir}/liby.a %changelog * Fri Dec 25 2009 Robert Xu <robxu9@gmail.com> 2.4.1-2 - Comparison with major distributions and updated - Split into bison and bison-static * Sun Nov 14 2009 Robert Xu <robxu9@gmail.com> 2.4.1-1 - Created Initial Spec File.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor