]> git.pld-linux.org Git - packages/bison.git/blob - bison.spec
- added using CVS keywords in %changelog (for automating them).
[packages/bison.git] / bison.spec
1 Summary:        GNU 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:        1
9 Copyright:      GPL
10 Group:          Development/Tools
11 Group(pl):      Programowanie/Narzêdzia
12 Source0:        ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
13 Source1:        bison.1.pl
14 Patch0:         bison-info.patch
15 Patch1:         bison-man.patch
16 Prereq:         /sbin/install-info
17 Buildroot:      /tmp/%{name}-%{version}-root
18 Obsoletes:      yacc
19
20 %define         _datadir        /usr/share/misc
21
22 %description
23 This is the GNU parser generator which is mostly compatible with yacc. Many
24 programs use this as part of their build process. Bison is only needed on
25 systems that are used for development.
26
27 %description -l de
28 Dies ist der GNU-Parser-Generator, der größtenteils mit yacc kompatibel ist. Viele
29 Programme benutzen ihn als Teil des Aufbauvorgangs. Bison wird nur auf
30 Systemen benötigt, die zur Entwicklung verwendet werden.
31
32 %description -l fr
33 Générateur d'analyseur lexical de GNU compatible avec yacc. De nombreux
34 programmes l'utilisent dans leur phase de construction. Bison ne sert que
35 sur les systèmes utilisés pour le développement.
36
37 %description -l pl
38 W pakiecie znajduje siê implementacja GNU generatora analizatora sk³adni,
39 który jest odpowiednikiem programu yacc. Wiele programów podczas kompilacji
40 potrzebuje tego programu aby proces budowy plików binarnych przebiega³
41 prawid³owo. Bison jest potrzebny tylko w systemach, w których prowadzone s±
42 ró¿nego rodzaju kompilacje.
43
44 %description -l tr
45 byacc bir yacc ayrýþtýrýcýsýdýr. Pek çok program tarafýndan, kurulum süreci
46 sýrasýnda kullanýlýr. Geliþtirme yapanlara gerekli olabilir.
47
48 %prep
49 %setup -q
50 %patch0 -p1
51 %patch1 -p1
52
53 %build
54 LDFLAGS="-s"; export LDFLAGS
55 %configure
56 make
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT%{_mandir}/pl/man1
61
62 make install DESTDIR=$RPM_BUILD_ROOT
63
64 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/bison.1
65
66 gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/*,%{_mandir}/{man1/*,pl/man1/*}}
67
68 %post
69 /sbin/install-info %{_infodir}/bison.info.gz /etc/info-dir
70
71 %preun
72 if [ "$1" = "0" ]; then
73         /sbin/install-info --delete %{_infodir}/bison.info.gz /etc/info-dir
74 fi
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81
82 %attr(755,root,root) %{_bindir}/*
83
84 %lang(pl) %{_mandir}/pl/man1/*
85 %{_mandir}/man1/*
86 %{_infodir}/*info*
87 %{_datadir}/*
This page took 0.049287 seconds and 3 git commands to generate.