Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37491072
en ru br
Репозитории ALT
S:3.8.2-alt1
5.1: 2.4.1-alt2
4.1: 2.3-alt2
4.0: 2.3-alt2
3.0: 2.0-alt1
www.altlinux.org/Changes

Другие репозитории

Группа :: Разработка/Прочее
Пакет: bison

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: bison
Version: 2.0
Release: alt1

Summary: A GNU general-purpose parser generator
License: GPL
Group: Development/Other
Url: ftp://ftp.gnu.org/pub/gnu/%name

Source: %url/%name-%version.tar.bz2
Patch1: %name-1.875-alt-texinfo.patch

Requires(post): %install_info
Requires(preun): %uninstall_info
Requires: m4
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.

%prep
%setup -q
%patch1 -p1

rm -f doc/*.info

%build
%define _libdir %_datadir
%configure
%make_build

%install
%makeinstall
%find_lang %name

%post
%install_info %name.info

%preun
%uninstall_info %name.info

%files -f %name.lang
%_bindir/*
%_datadir/%name
%_mandir/man?/*
%_infodir/*.info*
%doc AUTHORS ChangeLog NEWS README doc/FAQ

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin