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