]> git.pld-linux.org Git - packages/bison.git/blob - bison.spec
- upgrade to 1.875
[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:        1
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 BuildRequires:  autoconf
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Obsoletes:      yacc
20
21 %description
22 Bison is a general purpose parser generator which converts a grammar
23 description for an LALR context-free grammar into a C program to parse
24 that grammar. Bison can be used to develop a wide range of language
25 parsers, from ones used in simple desk calculators to complex
26 programming languages. Bison is upwardly compatible with Yacc, so any
27 correctly written Yacc grammar should work with Bison without any
28 changes. If you know Yacc, you shouldn't have any trouble using Bison
29 (but you do need to be very proficient in C programming to be able to
30 use Bison). Many programs use Bison as part of their build process.
31 Bison is only needed on systems that are used for development.
32
33 %description -l de
34 Dies ist der GNU-Parser-Generator, der größtenteils mit yacc
35 kompatibel ist. Viele Programme benutzen ihn als Teil des
36 Aufbauvorgangs. Bison wird nur auf Systemen benötigt, die zur
37 Entwicklung verwendet werden.
38
39 %description -l es
40 Este es el creador de análisis gramatical GNU más compatible con yacc.
41 Varios programas lo utilizan como parte del su proceso de
42 construcción. Bison solamente hace falta en sistemas que se usan para
43 desarrollo.
44
45 %description -l fr
46 Générateur d'analyseur lexical de GNU compatible avec yacc. De
47 nombreux programmes l'utilisent dans leur phase de construction. Bison
48 ne sert que sur les systèmes utilisés pour le développement.
49
50 %description -l pl
51 W pakiecie znajduje siê implementacja GNU generatora analizatora
52 sk³adni, który jest odpowiednikiem programu yacc. Wiele programów
53 podczas kompilacji potrzebuje tego programu aby proces budowy plików
54 binarnych przebiega³ prawid³owo. Bison jest potrzebny tylko w
55 systemach, w których prowadzone s± ró¿nego rodzaju kompilacje.
56
57 %description -l pt_BR
58 Este é o gerador de análise gramatical GNU que é mais compatível com
59 yacc. Vários programas o utilizam como parte do seu processo de
60 construção. Bison é somente necessário em sistemas que são usados para
61 desenvolvimento.
62
63 %description -l ru
64 Bison - ÜÔÏ ÐÁÒÓÅÒ, × ÏÓÎÏ×ÎÏÍ ÓÏ×ÍÅÓÔÉÍÙÊ Ó yacc. íÎÏÇÉÅ ÐÒÏÇÒÁÍÍÙ
65 ÉÓÐÏÌØÚÕÀÔ ÅÇÏ × ÐÒÏÃÅÓÓÅ ËÏÍÐÉÌÌÑÃÉÉ. Bison ÎÕÖÅΠÔÏÌØËÏ × ÓÉÓÔÅÍÁÈ,
66 ËÏÔÏÒÙÅ ÉÓÐÏÌØÚÕÀÔÓÑ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ.
67
68 %description -l tr
69 byacc bir yacc ayrýþtýrýcýsýdýr. Pek çok program tarafýndan, kurulum
70 süreci sýrasýnda kullanýlýr. Geliþtirme yapanlara gerekli olabilir.
71
72 %description -l uk
73 Bison - ÃÅ ÐÁÒÓÅÒ, ÚÄŦÌØÛÏÇÏ ÓÕͦÓÎÉÊ Ú yacc. âÁÇÁÔÏ ÐÒÏÇÒÁÍ
74 ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÊÏÇÏ × ÐÒÏÃÅÓ¦ ËÏÍЦÌÑæ§. Bison ÐÏÔÒ¦ÂÅΠԦÌØËÉ ×
75 ÓÉÓÔÅÍÁÈ, Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ.
76
77 %prep
78 %setup -q
79
80 %build
81 # needs at least autoconf 2.52g
82 #aclocal
83 #autoconf
84 find | xargs touch
85 rm -f doc/bison.info*
86 %configure
87 %{__make} \
88         pkgdatadir=%{_datadir}/misc
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=%{_datadir}/misc
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}/*
114 %{_mandir}/man1/*
115 %lang(pl) %{_mandir}/pl/man1/*
116 %{_infodir}/*info*
117 %{_datadir}/misc/*
118 %{_libdir}/*
This page took 0.063553 seconds and 4 git commands to generate.