]> git.pld-linux.org Git - packages/bison.git/blob - bison.spec
- release 4,
[packages/bison.git] / bison.spec
1 Summary:        A GNU general-purpose parser generator
2 Summary(de):    GNU-Parser-Generator
3 Summary(fr):    Générateur d'analyseur lexical de GNU
4 Summary(pl):    GNU generator sk³adni 
5 Summary(tr):    GNU ayrýþtýrýcý üreticisi
6 Name:           bison
7 Version:        1.28
8 Release:        4
9 License:        GPL
10 Group:          Development/Tools
11 Group(fr):      Development/Outils
12 Group(pl):      Programowanie/Narzêdzia
13 Source0:        ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
14 Source1:        bison.1.pl
15 Patch0:         bison-info.patch
16 Patch1:         bison-man.patch
17 Prereq:         /usr/sbin/fix-info-dir
18 Buildroot:      /tmp/%{name}-%{version}-root
19 Obsoletes:      yacc
20
21 %define         _datadir        /usr/share/misc
22
23 %description
24 Bison is a general purpose parser generator which converts a grammar
25 description for an LALR context-free grammar into a C program to parse that
26 grammar. Bison can be used to develop a wide range of language parsers,
27 from ones used in simple desk calculators to complex programming languages.
28 Bison is upwardly compatible with Yacc, so any correctly written Yacc
29 grammar should work with Bison without any changes. If you know Yacc, you
30 shouldn't have any trouble using Bison (but you do need to be very
31 proficient in C programming to be able to use Bison). Many programs use
32 Bison as part of their build process. Bison is only needed on systems that
33 are used for development.
34
35 %description -l de
36 Dies ist der GNU-Parser-Generator, der größtenteils mit yacc kompatibel
37 ist. Viele Programme benutzen ihn als Teil des Aufbauvorgangs. Bison wird
38 nur auf Systemen benötigt, die zur Entwicklung verwendet werden.
39
40 %description -l fr
41 Générateur d'analyseur lexical de GNU compatible avec yacc. De nombreux
42 programmes l'utilisent dans leur phase de construction. Bison ne sert que
43 sur les systèmes utilisés pour le développement.
44
45 %description -l pl
46 W pakiecie znajduje siê implementacja GNU generatora analizatora sk³adni,
47 który jest odpowiednikiem programu yacc. Wiele programów podczas kompilacji
48 potrzebuje tego programu aby proces budowy plików binarnych przebiega³
49 prawid³owo. Bison jest potrzebny tylko w systemach, w których prowadzone s±
50 ró¿nego rodzaju kompilacje.
51
52 %description -l tr
53 byacc bir yacc ayrýþtýrýcýsýdýr. Pek çok program tarafýndan, kurulum süreci
54 sýrasýnda kullanýlýr. Geliþtirme yapanlara gerekli olabilir.
55
56 %prep
57 %setup -q
58 %patch0 -p1
59 %patch1 -p1
60
61 %build
62 LDFLAGS="-s"; export LDFLAGS
63 %configure
64 make
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT%{_mandir}/pl/man1
69
70 make install DESTDIR=$RPM_BUILD_ROOT
71
72 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/bison.1
73
74 gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/*,%{_mandir}/{man1/*,pl/man1/*}}
75
76 %post
77 %{_sbindir}/fix-info-dir -c %{_infodir} >/dev/null 2>&1
78
79 %postun
80 %{_sbindir}/fix-info-dir -c %{_infodir} >/dev/null 2>&1
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files
86 %defattr(644,root,root,755)
87
88 %attr(755,root,root) %{_bindir}/*
89
90 %lang(pl) %{_mandir}/pl/man1/*
91 %{_mandir}/man1/*
92 %{_infodir}/*info*
93 %{_datadir}/*
This page took 0.073024 seconds and 4 git commands to generate.