Summary: GNU parser generator Summary(de): GNU-Parser-Generator Summary(fr): Générateur d'analyseur lexical de GNU Summary(pl): GNU generator sk³adni Summary(tr): GNU ayrıştırıcı üreticisi Name: bison Version: 1.25 Release: 7 Copyright: GPL Group: Development/Tools Source0: ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz Source1: bison.1.pl Prereq: /sbin/install-info Buildroot: /tmp/%{name}-%{version}-root Obsoletes: yacc %description This is the GNU parser generator which is mostly compatible with yacc. Many programs use this as part of their build process. Bison is only needed on systems that are used for development. %description -l de Dies ist der GNU-Parser-Generator, der größtenteils mit yacc kompatibel ist. Viele Programme benutzen ihn als Teil des Aufbauvorgangs. Bison wird nur auf Systemen benötigt, die zur Entwicklung verwendet werden. %description -l fr Générateur d'analyseur lexical de GNU compatible avec yacc. De nombreux programmes l'utilisent dans leur phase de construction. Bison ne sert que sur les systèmes utilisés pour le développement. %description -l pl W pakiecie znajduje siê implementacja GNU generatora analizatora sk³adni, który jest odpowiednikiem programu yacc. Wiele programów podczas kompilacji potrzebuje tego programu aby proces budowy plików binarnych przebiega³ prawid³owo. Bison jest potrzebny tylko w systemach, w których prowadzone s± ró¿nego rodzaju kompilacje. %description -l tr byacc bir yacc ayrıştırıcısıdır. Pek çok program tarafından, kurulum süreci sırasında kullanılır. Geliştirme yapanlara gerekli olabilir. %prep %setup -q %build ./configure --prefix=/usr make "CFLAGS=$RPM_OPT_FLAGS" LDFLAGS="-s" %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/usr/man/pl/man1 make install prefix=$RPM_BUILD_ROOT/usr install %{SOURCE1} $RPM_BUILD_ROOT/usr/man/pl/man1/bison.1 gzip -n -9f $RPM_BUILD_ROOT/usr/{info/bison.info*,man/{man1/*,pl/man1/*}} %pre if [ $1 = 1 ]; then /sbin/install-info --delete /usr/info/bison.info.gz \ --info-dir /etc/info-dir fi %post /sbin/install-info /usr/info/bison.info.gz --info-dir /etc/info-dir \ --section "Programming tools:" \ --entry \ "* bison: (bison). The GNU parser generator." %preun /sbin/install-info --delete /usr/info/bison.info.gz --info-dir /etc/info-dir %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644, root, root, 755) %attr(755, root, root) /usr/bin/* %attr(644, root, man) /usr/man/man1/* %lang(pl) %attr(644, root, man) /usr/man/pl/man1/* /usr/share/* /usr/info/*info* %changelog * Sat Dec 12 1998 Tomasz K³oczko [1.25-7] - added gzipping man pages, - added pl man pages, - standarized {un}registering info pages. * Fri Nov 6 1998 Tomasz K³oczko [1.25-6] - fixed passing $RPM_OPT_FLAGS, - modified pl translation, - bisona.{simple,hairy} moved to /usr/share. * Sun Jun 14 1998 Wojtek ¦lusarczyk [1.25-5] - added pl translation, - macro %%{name}-%%{version} in Source, - minor modifications of spec file. * Fri Apr 24 1998 Prospector System - translations modified for de, fr, tr * Wed Apr 08 1998 Cristian Gafton - built for Manhattan - added build root * Wed Oct 15 1997 Donnie Barnes - various spec file cleanups * Mon Jun 02 1997 Erik Troan - built against glibc