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