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