]> git.pld-linux.org Git - packages/texinfo.git/blob - texinfo.spec
- added --without-included-gettext to ./configure parameters (smaler binary),
[packages/texinfo.git] / texinfo.spec
1 Summary:        texinfo formatter and info reader
2 Summary(de):    texinfo-Formatier- und Leseprogramm
3 Summary(fr):    Formatteur texinfo et lecteur pour info.
4 Summary(pl):    Texinfo -- formatter plików texinfo
5 Summary(tr):    texinfo biçimleyici ve info okuyucu
6 Name:           texinfo
7 Version:        3.12f
8 Release:        5
9 Copyright:      GPL
10 Group:          Applications/Publishing
11 Source:         ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
12 Source1:        info-dir
13 Source2:        info.wmconfig
14 Patch0:         texinfo-exe.patch
15 Patch1:         texinfo-fix.patch
16 Patch2:         texinfo-alpha-tioc.patch
17 Patch3:         texinfo-zlib.patch
18 Patch4:         texinfo-info.patch
19 Prereq:         /sbin/install-info
20 Buildroot:      /tmp/%{name}-%{version}-root
21
22 %description
23 The GNU project uses the texinfo file format for much of its documentation. 
24 This package includes the tools necessary to create .info files from .texinfo 
25 source files, as well as an emacs interface to all these tools.
26
27 %description -l de
28 Das GNU-Projekt verwendet das Dateiformtat 'texinfo' für den Großteil der
29 Dokumentation. Dieses Paket enthält Tools zum Erstellen von .info-Dateien aus
30 .texinfo-Quelldateien und eine emacs-Schnittstelle für diese Tools.
31
32 %description -l fr
33 Le projet GBU utilise le format de fichier texinfo pour la plupart de sa
34 documentation. Ce paquetage contient les outils pour créer des fichiers .info
35 à partir des fichiers sources .texinfo, ainsi qu'une interface emacs pour tous
36 ces outils.
37
38 %description -l pl
39 Projekty GNU u¿ywaj± formatu texinfo do tworzenia dokumentacji. W pakiecie 
40 tym znajduj± siê narzêdzia potrzebne do tworzenia plików info ze ¼ród³owych 
41 *.texinfo, a tak¿e interface dla GNU Emacs. 
42
43 %description -l tr
44 GNU projesi, belgelemesinin büyük bölümünde texinfo dosyalarýný kullanýr.
45 Bu paket, texinfo dosyalarýndan info dosyalarýnýn türetilmesini saðlayan
46 araçlarla birlikte, tüm bu araçlar için bir emacs arayüzü de sunar.
47
48 %package -n info
49 Summary:        standalone tty based reader for GNU texinfo documents
50 Summary(de):    Unabhängiges tty-basiertes Leseprogramm für GNU-texinfo-Dokumente
51 Summary(fr):    Lecteur autonome de documents texinfo pour terminal.
52 Summary(pl):    Samodzielny, bazuj±cy na terminalu czytnik dokumentów GNU texinfo
53 Summary(tr):    GNU texinfo belgeleri için tty tabanlý görüntüleyici
54 Group:          Utilities/System
55 Prereq:         bash
56 Requires:       %{name} = %{version}
57
58 %description -n info
59 The GNU project uses the texinfo file format for much of its documentation. 
60 This package includes a standalone browser program to view these files.
61
62 %description -l de -n info
63 Das GNU-Projekt benutzt das texinfo-Dateiformat für den Großteil seiner
64 Dokumentation. Dieses Paket enthält ein selbständiges Browser-Programm 
65 zum Einsehen dieser Dateien. 
66
67 %description -l fr -n info
68 Le projet GNU utilise le format de fichier texinfo pour la plupart de sa
69 documentation. Ce paquetage contient un navigateur pour visualiser ces
70 fichiers.
71
72 %description -l pl -n info
73 Projekty GNU u¿ywaj± formatu texinfo do tworzenia dokumentacji.
74 Pakiet ten zawiera samodzieln± przegl±darkê tych¿e plików.
75
76 %description -l tr -n info
77 Bu pakette, info biçimindeki dosyalarý okumak için bir görüntüleyici
78 bulunur.
79
80 %prep
81 %setup -q
82 %patch0 -p1
83 %patch1 -p1
84 %patch2 -p1
85 %patch3 -p1
86 %patch4 -p1
87
88 %build
89 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
90 ./configure \
91         --prefix=/usr \
92         --without-included-gettext
93 make
94 rm util/install-info
95 make -C util LIBS=-lz
96
97 %install
98 rm -rf $RPM_BUILD_ROOT
99 install -d $RPM_BUILD_ROOT/{etc/X11/wmconfig,sbin}
100
101 make install prefix=$RPM_BUILD_ROOT/usr
102
103 install util/fix-info-dir $RPM_BUILD_ROOT/sbin
104
105 install %{SOURCE1} $RPM_BUILD_ROOT/etc/info-dir
106 ln -sf ../../etc/info-dir $RPM_BUILD_ROOT/usr/info/dir
107
108 mv -f $RPM_BUILD_ROOT/usr/bin/install-info $RPM_BUILD_ROOT/sbin
109
110 install %{SOURCE2} $RPM_BUILD_ROOT/etc/X11/wmconfig/info
111
112 gzip -9nf $RPM_BUILD_ROOT/usr/info/*info* \
113         ChangeLog INTRODUCTION NEWS README info/README
114 %post
115 /sbin/install-info /usr/info/texinfo.gz /etc/info-dir
116
117 %preun
118 if [ "$1" = "0" ]; then
119         /sbin/install-info --delete /usr/info/texinfo.gz /etc/info-dir
120 fi
121
122 %clean
123 rm -rf $RPM_BUILD_ROOT
124
125 %files
126 %defattr(644,root,root,755)
127 %doc {ChangeLog,INTRODUCTION,NEWS,README,info/README}.gz
128 %attr(755,root,root) /usr/bin/*
129 /usr/info/info-stnd.info*
130 /usr/info/texinfo*
131 %lang(cs)    /usr/share/locale/cs/LC_MESSAGES/texinfo.mo
132 %lang(de)    /usr/share/locale/de/LC_MESSAGES/texinfo.mo
133 %lang(de_AT) /usr/share/locale/de_AT/LC_MESSAGES/texinfo.mo
134 %lang(fr)    /usr/share/locale/fr/LC_MESSAGES/texinfo.mo
135 %lang(nl)    /usr/share/locale/nl/LC_MESSAGES/texinfo.mo
136 %lang(no)    /usr/share/locale/no/LC_MESSAGES/texinfo.mo
137 %lang(ru)    /usr/share/locale/ru/LC_MESSAGES/texinfo.mo
138
139 %files -n info
140 %defattr(644,root,root,755)
141 %config(missingok) /etc/X11/wmconfig/info
142 %config(noreplace) %verify(not mtime size md5) /etc/info-dir
143 %config /usr/info/dir
144 %attr(755,root,root) /usr/bin/info
145 /usr/info/info.info*
146 %attr(755,root,root) /sbin/install-info
147 %attr(755,root,root) /sbin/fix-info-dir
148
149 %changelog
150 * Thu Apr  1 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
151   [3.12f-5]
152 - removed man group from man pages,
153 - more locales (cs , de_AT, nl, no, ru),
154 - gzipping %doc
155 - added --without-included-gettext to ./configure parameters (smaler binary)
156 - added texinfo-info.patch,
157 - added /sbin/fix-info-dir.
158
159 * Fri Oct  9 1998 Ziemek Borowski <ziembor@faq-bot.ceu.edu.pl>
160   [3.12-5]
161 - more restricted permision to binaries,
162 - added texinfo-3.12-fix.patch,
163 - fixed spec Polish translation. 
164
165 * Tue Oct 06 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
166 - added pl translation,
167 - restricted ELF binaries permissions,
168 - minor modifications of the spec file.
169
170 * Thu May 07 1998 Prospector System <bugs@redhat.com>
171 - translations modified for de, fr, tr
172
173 * Sun Apr 12 1998 Cristian Gafton <gafton@redhat.com>
174 - added %clean
175 - manhattan build
176
177 * Wed Mar 04 1998 Cristian Gafton <gafton@redhat.com>
178 - upgraded to version 3.12
179 - added buildroot
180
181 * Sun Nov 09 1997 Donnie Barnes <djb@redhat.com>
182 - moved /usr/info/dir to /etc/info-dir and made /usr/info/dir a
183   symlink to /etc/info-dir.
184
185 * Wed Oct 29 1997 Donnie Barnes <djb@redhat.com>
186 - added wmconfig entry for info
187
188 * Wed Oct 01 1997 Donnie Barnes <djb@redhat.com>
189 - stripped /sbin/install-info
190
191 * Mon Sep 22 1997 Erik Troan <ewt@redhat.com>
192 - added info-dir to filelist
193
194 * Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
195 - added patch from sopwith to let install-info understand gzip'ed info files
196 - use skeletal dir file from texinfo tarball (w/ bash entry to reduce
197   dependency chain) instead (and install-info command everywhere else)
198 - patches install-info to handle .gz names correctly
199
200 * Tue Jun 03 1997 Erik Troan <ewt@redhat.com>
201 - built against glibc
202
203 * Tue Feb 25 1997 Erik Troan <ewt@redhat.com>
204 - patched install-info.c for glibc.
205 - added /usr/bin/install-info to the filelist
206
207 * Tue Feb 18 1997 Michael Fulbright <msf@redhat.com>
208 - upgraded to version 3.9.
This page took 0.075199 seconds and 3 git commands to generate.