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