]> git.pld-linux.org Git - packages/bison.git/blob - bison.spec
- release 4; removed obsoletes yacc (what was it good for? it causes uninstall of...
[packages/bison.git] / bison.spec
1 Summary:        A GNU general-purpose parser generator
2 Summary(de):    GNU-Parser-Generator
3 Summary(es):    Generador de parser de la GNU
4 Summary(fr):    Générateur d'analyseur lexical de GNU
5 Summary(pl):    GNU generator sk³adni
6 Summary(pt_BR): Gerador de parser da GNU
7 Summary(ru):    Bison - ÇÅÎÅÒÁÔÏÒ ÐÁÒÓÅÒÏ× GNU
8 Summary(tr):    GNU ayrýþtýrýcý üreticisi
9 Summary(uk):    Bison - ÇÅÎÅÒÁÔÏÒ ÐÁÒÓÅҦנGNU
10 Name:           bison
11 Version:        1.875
12 Release:        4
13 License:        GPL
14 Group:          Development/Tools
15 Source0:        ftp://ftp.gnu.org/pub/gnu/%{name}/%{name}-%{version}.tar.bz2
16 Source1:        %{name}.1.pl
17 Patch0:         %{name}-info.patch
18 Patch1:         %{name}-unused.patch
19 BuildRequires:  texinfo
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         pkgdatadir      %{_datadir}/bison
23
24 %description
25 Bison is a general purpose parser generator which converts a grammar
26 description for an LALR context-free grammar into a C program to parse
27 that grammar. Bison can be used to develop a wide range of language
28 parsers, from ones used in simple desk calculators to complex
29 programming languages. Bison is upwardly compatible with Yacc, so any
30 correctly written Yacc grammar should work with Bison without any
31 changes. If you know Yacc, you shouldn't have any trouble using Bison
32 (but you do need to be very proficient in C programming to be able to
33 use Bison). Many programs use Bison as part of their build process.
34 Bison is only needed on systems that are used for development.
35
36 %description -l de
37 Dies ist der GNU-Parser-Generator, der größtenteils mit yacc
38 kompatibel ist. Viele Programme benutzen ihn als Teil des
39 Aufbauvorgangs. Bison wird nur auf Systemen benötigt, die zur
40 Entwicklung verwendet werden.
41
42 %description -l es
43 Este es el creador de análisis gramatical GNU más compatible con yacc.
44 Varios programas lo utilizan como parte del su proceso de
45 construcción. Bison solamente hace falta en sistemas que se usan para
46 desarrollo.
47
48 %description -l fr
49 Générateur d'analyseur lexical de GNU compatible avec yacc. De
50 nombreux programmes l'utilisent dans leur phase de construction. Bison
51 ne sert que sur les systèmes utilisés pour le développement.
52
53 %description -l pl
54 W pakiecie znajduje siê implementacja GNU generatora analizatora
55 sk³adni, który jest odpowiednikiem programu yacc. Wiele programów
56 podczas kompilacji potrzebuje tego programu aby proces budowy plików
57 binarnych przebiega³ prawid³owo. Bison jest potrzebny tylko w
58 systemach, w których prowadzone s± ró¿nego rodzaju kompilacje.
59
60 %description -l pt_BR
61 Este é o gerador de análise gramatical GNU que é mais compatível com
62 yacc. Vários programas o utilizam como parte do seu processo de
63 construção. Bison é somente necessário em sistemas que são usados para
64 desenvolvimento.
65
66 %description -l ru
67 Bison - ÜÔÏ ÐÁÒÓÅÒ, × ÏÓÎÏ×ÎÏÍ ÓÏ×ÍÅÓÔÉÍÙÊ Ó yacc. íÎÏÇÉÅ ÐÒÏÇÒÁÍÍÙ
68 ÉÓÐÏÌØÚÕÀÔ ÅÇÏ × ÐÒÏÃÅÓÓÅ ËÏÍÐÉÌÌÑÃÉÉ. Bison ÎÕÖÅΠÔÏÌØËÏ × ÓÉÓÔÅÍÁÈ,
69 ËÏÔÏÒÙÅ ÉÓÐÏÌØÚÕÀÔÓÑ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ.
70
71 %description -l tr
72 byacc bir yacc ayrýþtýrýcýsýdýr. Pek çok program tarafýndan, kurulum
73 süreci sýrasýnda kullanýlýr. Geliþtirme yapanlara gerekli olabilir.
74
75 %description -l uk
76 Bison - ÃÅ ÐÁÒÓÅÒ, ÚÄŦÌØÛÏÇÏ ÓÕͦÓÎÉÊ Ú yacc. âÁÇÁÔÏ ÐÒÏÇÒÁÍ
77 ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÊÏÇÏ × ÐÒÏÃÅÓ¦ ËÏÍЦÌÑæ§. Bison ÐÏÔÒ¦ÂÅΠԦÌØËÉ ×
78 ÓÉÓÔÅÍÁÈ, Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ.
79
80 %prep
81 %setup -q
82 %patch0 -p1
83 %patch1 -p1
84
85 %build
86 %configure
87 %{__make} \
88         pkgdatadir=%{pkgdatadir}
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92 install -d $RPM_BUILD_ROOT%{_mandir}/pl/man1
93
94 %{__make} install \
95         DESTDIR=$RPM_BUILD_ROOT \
96         pkgdatadir=%{pkgdatadir}
97
98 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/bison.1
99
100 %find_lang %{name}
101
102 %clean
103 rm -rf $RPM_BUILD_ROOT
104
105 %post
106 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
107
108 %postun
109 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
110
111 %files -f %{name}.lang
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_bindir}/bison
114 %{pkgdatadir}
115 %{_libdir}/lib*.a
116 %{_mandir}/man1/*
117 %lang(pl) %{_mandir}/pl/man1/*
118 %{_infodir}/*.info*
This page took 0.083561 seconds and 4 git commands to generate.