]> git.pld-linux.org Git - packages/bison.git/blame - bison.spec
- updated to 2.4.2
[packages/bison.git] / bison.spec
CommitLineData
24f59b75 1Summary: A GNU general-purpose parser generator
7dc773b2
ER
2Summary(de.UTF-8): GNU-Parser-Generator
3Summary(es.UTF-8): Generador de parser de la GNU
4Summary(fr.UTF-8): Générateur d'analyseur lexical de GNU
5Summary(pl.UTF-8): GNU generator składni
6Summary(pt_BR.UTF-8): Gerador de parser da GNU
7Summary(ru.UTF-8): Bison - генератор парсеров GNU
8Summary(tr.UTF-8): GNU ayrıştırıcı üreticisi
9Summary(uk.UTF-8): Bison - генератор парсерів GNU
5b756fe0 10Name: bison
03e7bb14 11Version: 2.4.2
55f3e7a8
JB
12Release: 1
13License: GPL v3+
5b756fe0 14Group: Development/Tools
509a1279 15Source0: http://ftp.gnu.org/gnu/bison/%{name}-%{version}.tar.bz2
03e7bb14 16# Source0-md5: 63584004613aaef2d3dca19088eb1654
91bd8d53 17Source1: %{name}.1.pl
d9618bcb 18Patch0: %{name}-info.patch
55f3e7a8 19URL: http://gnu.org/software/bison/
924419f4 20BuildRequires: automake
6e2fa0e8
JB
21BuildRequires: flex
22BuildRequires: gettext-devel >= 0.12
55f3e7a8 23BuildRequires: m4 >= 1.4.6
6e2fa0e8
JB
24BuildRequires: texinfo >= 4.0
25Requires: %{name}-runtime = %{version}-%{release}
55f3e7a8 26Requires: m4 >= 1.4.6
cce72afb 27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
8152b60b 28
11a6cf74
JB
29%define pkgdatadir %{_datadir}/bison
30
8152b60b 31%description
24f59b75 32Bison is a general purpose parser generator which converts a grammar
1077209b 33description for an LALR context-free grammar into a C program to parse
34that grammar. Bison can be used to develop a wide range of language
35parsers, from ones used in simple desk calculators to complex
36programming languages. Bison is upwardly compatible with Yacc, so any
37correctly written Yacc grammar should work with Bison without any
38changes. If you know Yacc, you shouldn't have any trouble using Bison
39(but you do need to be very proficient in C programming to be able to
40use Bison). Many programs use Bison as part of their build process.
41Bison is only needed on systems that are used for development.
8152b60b 42
6feb1d42
JR
43%description -l de.UTF-8
44Dies ist der GNU-Parser-Generator, der größtenteils mit yacc
1077209b 45kompatibel ist. Viele Programme benutzen ihn als Teil des
6feb1d42 46Aufbauvorgangs. Bison wird nur auf Systemen benötigt, die zur
1077209b 47Entwicklung verwendet werden.
8152b60b 48
6feb1d42
JR
49%description -l es.UTF-8
50Este es el creador de análisis gramatical GNU más compatible con yacc.
ec0aa715 51Varios programas lo utilizan como parte del su proceso de
6feb1d42 52construcción. Bison solamente hace falta en sistemas que se usan para
ec0aa715 53desarrollo.
54
6feb1d42
JR
55%description -l fr.UTF-8
56Générateur d'analyseur lexical de GNU compatible avec yacc. De
1077209b 57nombreux programmes l'utilisent dans leur phase de construction. Bison
6feb1d42 58ne sert que sur les systèmes utilisés pour le développement.
8152b60b 59
6feb1d42
JR
60%description -l pl.UTF-8
61W pakiecie znajduje się implementacja GNU generatora analizatora
62składni, który jest odpowiednikiem programu yacc. Wiele programów
63podczas kompilacji potrzebuje tego programu aby proces budowy plików
64binarnych przebiegał prawidłowo. Bison jest potrzebny tylko w
65systemach, w których prowadzone są różnego rodzaju kompilacje.
8152b60b 66
6feb1d42
JR
67%description -l pt_BR.UTF-8
68Este é o gerador de análise gramatical GNU que é mais compatível com
69yacc. Vários programas o utilizam como parte do seu processo de
70construção. Bison é somente necessário em sistemas que são usados para
ec0aa715 71desenvolvimento.
72
6feb1d42
JR
73%description -l ru.UTF-8
74Bison - это парсер, в основном совместимый с yacc. Многие программы
75используют его в процессе компилляции. Bison нужен только в системах,
76которые используются для разработки программ.
23d44666 77
6feb1d42
JR
78%description -l tr.UTF-8
79byacc bir yacc ayrıştırıcısıdır. Pek çok program tarafından, kurulum
80süreci sırasında kullanılır. Geliştirme yapanlara gerekli olabilir.
8152b60b 81
6feb1d42
JR
82%description -l uk.UTF-8
83Bison - це парсер, здебільшого сумісний з yacc. Багато програм
84використовують його в процесі компіляції. Bison потрібен тільки в
85системах, які використовуються для розробки програм.
23d44666 86
6e2fa0e8
JB
87%package runtime
88Summary: Runtime library for programs containing bison-generated parsers
7dc773b2 89Summary(pl.UTF-8): Biblioteka uruchomieniowa dla programów zawierajacych parsery bisonowe
6e2fa0e8
JB
90Group: Libraries
91
92%description runtime
93Runtime library for internationalized programs containing
94bison-generated parsers.
95
6feb1d42
JR
96%description runtime -l pl.UTF-8
97Biblioteka uruchomieniowa dla umiędzynarodowionych programów
6e2fa0e8
JB
98zawierajacych parsery wygenerowane przez bisona.
99
8152b60b 100%prep
101%setup -q
11a6cf74 102%patch0 -p1
8152b60b 103
e47395ce
JB
104rm -f po/stamp-po
105
8152b60b 106%build
b854ef3b 107cp -f /usr/share/automake/config.sub config
1d2b03bc 108%configure
3d08d4da 109%{__make} \
11a6cf74 110 pkgdatadir=%{pkgdatadir}
8152b60b 111
112%install
113rm -rf $RPM_BUILD_ROOT
780aa6b7 114install -d $RPM_BUILD_ROOT%{_mandir}/pl/man1
8152b60b 115
3d08d4da 116%{__make} install \
117 DESTDIR=$RPM_BUILD_ROOT \
11a6cf74 118 pkgdatadir=%{pkgdatadir}
5ef86f6c 119
4928bcc6
JB
120install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/bison.1
121
ec0aa715 122%find_lang %{name}
6e2fa0e8 123%find_lang %{name}-runtime
ec0aa715 124
4928bcc6
JB
125%clean
126rm -rf $RPM_BUILD_ROOT
5ef86f6c 127
55f3e7a8 128%post -p /sbin/postshell
ba8d16f8 129-/usr/sbin/fix-info-dir -c %{_infodir}
8152b60b 130
55f3e7a8 131%postun -p /sbin/postshell
ba8d16f8 132-/usr/sbin/fix-info-dir -c %{_infodir}
8152b60b 133
7e179a97 134%files -f %{name}.lang
5b756fe0 135%defattr(644,root,root,755)
6e2fa0e8 136%doc AUTHORS ChangeLog NEWS README THANKS TODO
f2541715 137%attr(755,root,root) %{_bindir}/bison
b854ef3b
JB
138# would conflict with byacc (but is not 100% compatible)
139#%attr(755,root,root) %{_bindir}/yacc
11a6cf74 140%{pkgdatadir}
55f3e7a8 141%{_libdir}/liby.a
6e2fa0e8 142%{_aclocaldir}/bison-i18n.m4
55f3e7a8
JB
143%{_mandir}/man1/bison.1*
144%lang(pl) %{_mandir}/pl/man1/bison.1*
145%{_infodir}/bison.info*
6e2fa0e8
JB
146
147%files runtime -f %{name}-runtime.lang
148%defattr(644,root,root,755)
This page took 0.224087 seconds and 4 git commands to generate.