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