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