Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37601012
en ru br
ALT Linux repositórios
S:3.8.2-alt1
5.0: 2.3-alt2
4.1: 2.3-alt2
4.0: 2.3-alt2
3.0: 2.0-alt1

Outros repositórios

Group :: Desenvolvimento/Outros
RPM: bison

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: bison
Version: 2.3
Release: alt2

Summary: A GNU general-purpose parser generator
License: GPL
Group: Development/Other
Url: http://www.gnu.org/software/bison/
Packager: Dmitry V. Levin <ldv at altlinux.org>

# ftp://ftp.gnu.org/gnu/bison/bison-%version.tar.bz2

Source: bison-%version.tar
Patch: bison-2.3-alt-texinfo.patch

BuildRequires: flex, gcc-c++

Requires(post): %install_info
Requires(preun): %uninstall_info
Requires: m4 >= 0:1.4
Requires: %name-runtime = %version-%release
Provides: byacc = %version-%release
Obsoletes: byacc

%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 program with Bison.
Many programs use Bison as part of their build process.  Bison is only
needed on systems that are used for development.

%package runtime
Summary: Runtime support files used by Bison-generated parsers
Group: Development/C

%description runtime
This package contains files used at runtime by parsers that Bison
generates.  Packages whose binaries contain parsers generated by Bison
should depend on bison-runtime to ensure that these files are available.
See the Internationalization in the Bison manual section for more
information.

%prep
%setup -q
%patch -p1
bzip2 -9k ChangeLog NEWS

%build
%configure
%make_build
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:%make_build -k check}}}

%install
%makeinstall

%find_lang %name
%find_lang %name-runtime

%post
%install_info bison.info

%preun
%uninstall_info bison.info

%files -f %name.lang
%doc AUTHORS ChangeLog.bz2 NEWS.bz2 README THANKS
%_bindir/*
%_libdir/*
%_datadir/bison
%_datadir/aclocal/*
%_mandir/man?/*
%_infodir/*.info*

%files -f %name-runtime.lang runtime

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009