]> git.pld-linux.org Git - packages/bison.git/blob - bison.spec
- updated to 1.27,
[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.27
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 Prereq:         /sbin/install-info
16 Buildroot:      /tmp/%{name}-%{version}-root
17 Obsoletes:      yacc
18
19 %description
20 This is the GNU parser generator which is mostly compatible with yacc. Many
21 programs use this as part of their build process. Bison is only needed on
22 systems that are used for development.
23
24 %description -l de
25 Dies ist der GNU-Parser-Generator, der größtenteils mit yacc kompatibel ist. Viele
26 Programme benutzen ihn als Teil des Aufbauvorgangs. Bison wird nur auf
27 Systemen benötigt, die zur Entwicklung verwendet werden.
28
29 %description -l fr
30 Générateur d'analyseur lexical de GNU compatible avec yacc. De nombreux
31 programmes l'utilisent dans leur phase de construction. Bison ne sert que
32 sur les systèmes utilisés pour le développement.
33
34 %description -l pl
35 W pakiecie znajduje siê implementacja GNU generatora analizatora sk³adni,
36 który jest odpowiednikiem programu yacc. Wiele programów podczas kompilacji
37 potrzebuje tego programu aby proces budowy plików binarnych przebiega³
38 prawid³owo. Bison jest potrzebny tylko w systemach, w których prowadzone s±
39 ró¿nego rodzaju kompilacje.
40
41 %description -l tr
42 byacc bir yacc ayrýþtýrýcýsýdýr. Pek çok program tarafýndan, kurulum süreci
43 sýrasýnda kullanýlýr. Geliþtirme yapanlara gerekli olabilir.
44
45 %prep
46 %setup -q
47 %patch0 -p1
48
49 %build
50 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
51 ./configure \
52         --prefix=/usr
53 make
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT/usr/man/pl/man1
58
59 make install prefix=$RPM_BUILD_ROOT/usr
60
61 install %{SOURCE1} $RPM_BUILD_ROOT/usr/man/pl/man1/bison.1
62 gzip -9nf $RPM_BUILD_ROOT/usr/{info/bison.info*,man/{man1/*,pl/man1/*}}
63
64 %post
65 /sbin/install-info /usr/info/bison.info.gz /etc/info-dir
66
67 %preun
68 if [ $1 = 0 ]; then
69         /sbin/install-info --delete /usr/info/bison.info.gz /etc/info-dir
70 fi
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %files
76 %defattr(644,root,root,755)
77 %attr(755,root,root) /usr/bin/*
78
79 /usr/man/man1/*
80 %lang(pl) /usr/man/pl/man1/*
81
82 /usr/share/*
83 /usr/info/*info*
84
85 %changelog
86 * Fri Feb 26 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
87   [1.27-1]
88 - added Group(pl),
89 - changed way passing $RPM_OPT_FLAGS -s to LDFLAGS,
90 - removed man group from man pages.
91
92 * Tue Dec 29 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
93   [1.25-8]
94 - standarized {un}registering info pages (added bison-info.patch).
95
96 * Sat Dec 12 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
97   [1.25-7]
98 - added gzipping man pages,
99 - added pl man pages,
100 - standarized {un}registering info pages.
101
102 * Fri Nov  6 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
103   [1.25-6]
104 - fixed passing $RPM_OPT_FLAGS,
105 - modified pl translation,
106 - bisona.{simple,hairy} moved to /usr/share.
107
108 * Sun Jun 14 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
109   [1.25-5]
110 - added pl translation,
111 - macro %%{name}-%%{version} in Source,
112 - minor modifications of spec file.
113
114 * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
115 - translations modified for de, fr, tr
116
117 * Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
118 - built for Manhattan
119 - added build root
120
121 * Wed Oct 15 1997 Donnie Barnes <djb@redhat.com>
122 - various spec file cleanups
123
124 * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
125 - built against glibc
This page took 0.076963 seconds and 4 git commands to generate.