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