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