]> git.pld-linux.org Git - packages/texinfo.git/blob - texinfo.spec
- added a patch removing a segfault in 'info' reader
[packages/texinfo.git] / texinfo.spec
1 Summary:        Tools needed to create Texinfo format documentation files
2 Summary(de):    Tools zum Erstellen von texinfo-Dokumentationsdateien
3 Summary(es):    Formateador texinfo y lector de archivos info
4 Summary(fr):    Outils créant des documentations au format texinfo
5 Summary(pl):    Narzêdzia potrzebne przy tworzeniu dokumentacji w formacie texinfo
6 Summary(pt_BR): Formatador texinfo e leitor de arquivos info
7 Summary(ru):    éÎÓÔÒÕÍÅÎÔÙ ÄÌÑ ÓÏÚÄÁÎÉÑ ÆÁÊÌÏ× ÄÏËÕÍÅÎÔÁÃÉÉ ÆÏÒÍÁÔÁ Texinfo
8 Summary(tr):    texinfo biçimleyici ve info okuyucu
9 Summary(uk):    ¶ÎÓÔÒÕÍÅÎÔÉ ÄÌÑ ÓÔ×ÏÒÅÎÎÑ ÆÁÊ̦נÄÏËÕÍÅÎÔÁ槠ÆÏÒÍÁÔÕ Texinfo
10 Name:           texinfo
11 Version:        4.7
12 Release:        2
13 License:        GPL
14 Group:          Applications/Publishing
15 Source0:        ftp://ftp.gnu.org/gnu/texinfo/%{name}-%{version}.tar.bz2
16 # Source0-md5:  c2fa2ef957f0d728f821ae9b2362ef4e
17 Source1:        info.desktop
18 Patch0:         %{name}-fix.patch
19 Patch1:         %{name}-info.patch
20 Patch2:         %{name}-pl.po-update.patch
21 Patch3:         %{name}-segfault.patch
22 URL:            http://texinfo.org/
23 BuildRequires:  autoconf >= 2.59
24 BuildRequires:  automake >= 1.8
25 BuildRequires:  gettext-devel
26 BuildRequires:  gettext-autopoint >= 0.14.1
27 BuildRequires:  ncurses-devel >= 5.0
28 BuildRequires:  sed >= 4.0
29 BuildRequires:  zlib-devel
30 Requires:       info = %{version}-%{release}
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 Texinfo is a documentation system that can produce both online
35 information and printed output from a single source file. Normally,
36 you'd have to write two separate documents: one for online help or
37 other online information and the other for a typeset manual or other
38 printed work. Using Texinfo, you only need to write one source
39 document. Then when the work needs revision, you only have to revise
40 one source document. The GNU Project uses the Texinfo file format for
41 most of its documentation.
42
43 %description -l de
44 Texinfo ist ein Dokumentationssystem, das sowohl Online-Information
45 und gedruckte Ausgabe von einer einzigen Source-Datei erzeugen kann.
46 Normalerweise würden Sie zwei verschiedene Dokumente schreiben, eins
47 für Onlinehilfe und eins für ein gedrucktes Handbuch. Mit Texinfo
48 reicht es, ein Dokument zu schreiben (und später zu aktualisieren).
49 Das GNU-Projekt benutzt texinfo für den größten Teil seiner
50 Dokumentation.
51
52 %description -l es
53 Texinfo es un sistema de documentación que puede producir tanto,
54 información online como salida impresa a partir de un único archivo
55 fuente. Generalmente, tenía que escribir dos documentos por separado:
56 uno para la ayuda u otro tipo de información online, y otro para un
57 manual u otro tipo de trabajos impresos. Usando Texinfo, basta con
58 escribir un único documento fuente. El día que sea necesaria una
59 revisión del trabajo, sólo tendrá que revisar un único documento. El
60 Proyecto GNU usa el formato de archivo Texinfo para la mayoría de su
61 documentación.
62
63 Instale Texinfo si quiere un sistema de documentación para producir
64 tanto documentación online como impresa a partir del mismo archivo
65 fuente y si va a escribir documentación para el Proyecto GNU.
66
67 %description -l fr
68 Texinfo est un système de documentation capable de produire de la
69 documentation online ou imprimée à partir d'un seul fichier.
70 Habituellement, il faut écrire deux documents : l'un orienté
71 hypertexte, l'autre axé sur une présentation de type PAO. En utilisant
72 texinfo, vous n'avez plus besoin que d'un seul fichier source. Le
73 projet GNU utilie le format de fichier Texinfo pour la plupart de ses
74 documentations.
75
76 %description -l pl
77 Texinfo jest systemem dokumentowania umo¿liwiaj±cym wyprodukowanie
78 zarówno dokumentacji online jak i w postaci do wydruku z pojedynczego
79 pliku ¼ród³owego. Bardzo czêsto pisze siê dwie dokumentacje: jedn± do
80 przegl±dania online i drug± do przyszykowania wysokiej jako¶ci postaci
81 drukowanej. U¿ywaj±c Texinfo do powy¿szego potrzebujesz przygotowaæ
82 dokumentacjê tylko w jednej postaci ¼ród³owej. Podczas modyfikacji
83 dokumentacji modyfikujesz w takim razie tylko jeden dokument.
84 Wiêkszo¶æ projektów GNU u¿ywa do dokumentowania formatu Texinfo.
85
86 %description -l pt_BR
87 O texinfo é um sistema de documentação que pode produzir tanto
88 informação on-line como saída impressa a partir de um único
89 arquivo-fonte. Geralmente, você teria que escrever dois documentos
90 separados: um para ajuda on-line ou outro tipo de informação on-line,
91 e outro para um manual ou outro tipo de trabalho impresso. Usando o
92 Texinfo, basta escrever um único documento-fonte. Quando houver
93 necessidade de revisão, é preciso apenas revisar um único
94 documento-fonte. O projeto GNU usa o formato de arquivo texinfo para a
95 maioria da sua documentação.
96
97 %description -l ru
98 ðÒÏÅËÔ GNU ÉÓÐÏÌØÚÕÅÔ ÆÏÒÍÁÔ texinfo ÄÌÑ ÂÏÌØÛÉÎÓÔ×Á ÄÏËÕÍÅÎÔÁÃÉÉ,
99 ÓÏÚÄÁÎÎÏÊ × ÅÇÏ ÒÁÍËÁÈ. üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÉÎÓÔÒÕÍÅÎÔÙ, ÎÅÏÂÈÏÄÉÍÙÅ
100 ÄÌÑ ÓÏÚÄÁÎÉÑ ÆÁÊÌÏ× .info ÉÚ ÉÓÈÏÄÎÙÈ ÆÁÊÌÏ× .texinfo É ÉÎÔÅÒÆÅÊÓ Ë
101 emacs ÄÌÑ ×ÓÅÈ ÜÔÉÈ ÉÎÓÔÒÕÍÅÎÔÏ×.
102
103 %description -l tr
104 [6~GNU projesi, belgelemesinin büyük bölümünde texinfo dosyalarýný
105 kullanýr. Bu paket, texinfo dosyalarýndan info dosyalarýnýn
106 türetilmesini saðlayan araçlarla birlikte, tüm bu araçlar için bir
107 emacs arayüzü de sunar.
108
109 %description -l uk
110 ðÒÏÅËÔ GNU ×ÉËÏÒÉÓÔÏ×Õ¤ ÆÏÒÍÁÔ texinfo ÄÌѠ¦ÌØÛÏÓÔ¦ ÄÏËÕÍÅÎÔÁæ§,
111 ÓÔ×ÏÒÅÎϧ × ÊÏÇÏ ÒÁÍËÁÈ. ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ¦ÎÓÔÒÕÍÅÎÔÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ
112 ÓÔ×ÏÒÅÎÎÑ ÆÁÊ̦נ.info Ú ×ȦÄÎÉÈ ÆÁÊ̦נ.texinfo ÔÁ ¦ÎÔÅÒÆÅÊÓ ÄÏ emacs
113 ÄÌÑ ×ӦȠÃÉÈ ¦ÎÓÔÒÕÍÅÎÔ¦×.
114
115 %package -n info
116 Summary:        A stand-alone TTY-based reader for GNU texinfo documentation
117 Summary(de):    Ein TTY-basiertes Leseprogramm für GNU info-Dokumentation
118 Summary(es):    Lector basado en tty para documentos texinfo GNU
119 Summary(fr):    un lecteur de documentations info
120 Summary(pl):    Samodzielny, terminalowy czytnik dokumentów GNU texinfo
121 Summary(pt_BR): Leitor baseado em tty para documentos texinfo GNU
122 Summary(ru):    ðÒÏÇÒÁÍÍÁ ÄÌÑ ÐÒÏÓÍÏÔÒÁ ÄÏËÕÍÅÎÔÏ× × ÆÏÒÍÁÔÅ GNU texinfo ÎÁ ÔÅËÓÔÏ×ÏÊ ËÏÎÓÏÌÉ
123 Summary(tr):    GNU texinfo belgeleri için tty tabanlý görüntüleyici
124 Summary(uk):    ðÒÏÇÒÁÍÁ ÄÌÑ ÐÅÒÅÇÌÑÄÕ ÄÏËÕÍÅÎԦננÆÏÒÍÁÔ¦ GNU texinfo ÎÁ ÔÅËÓÔÏ×ÏÍÕ ÔÅÒͦÎÁ̦
125 Group:          Applications/System
126 PreReq:         fix-info-dir
127 Obsoletes:      info-install
128
129 %description -n info
130 The GNU project uses the texinfo file format for much of its
131 documentation. This package includes a standalone browser program to
132 view these files.
133
134 %description -n info -l de
135 Das GNU-Projekt benutzt das texinfo-Dateiformat für den Großteil
136 seiner Dokumentation. Dieses Paket enthält ein selbständiges
137 Browser-Programm zum Einsehen dieser Dateien.
138
139 %description -n info -l fr
140 Le projet GNU utilise le format de fichier texinfo pour la plupart de
141 sa documentation. Ce paquetage contient un navigateur pour visualiser
142 ces fichiers.
143
144 %description -n info -l pl
145 Projekty GNU u¿ywaj± formatu texinfo do tworzenia dokumentacji. Pakiet
146 ten zawiera samodzieln± przegl±darkê tych¿e plików.
147
148 %description -n info -l pt_BR
149 O projeto GNU usa o formato de arquivos texinfo para a maioria de sua
150 documentação. Este pacote inclui um browser para visualização destes
151 arquivos.
152
153 %description -n info -l ru
154 ðÒÏÅËÔ GNU ÉÓÐÏÌØÚÕÅÔ ÆÏÒÍÁÔ texinfo ÄÌÑ ÂÏÌØÛÉÎÓÔ×Á ÄÏËÕÍÅÎÔÁÃÉÉ,
155 ÓÏÚÄÁÎÎÏÊ × ÅÇÏ ÒÁÍËÁÈ. üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÐÒÏÇÒÁÍÍÕ ÄÌÑ ÐÒÏÓÍÏÔÒÁ
156 ÄÏËÕÍÅÎÔÏ× × ÆÏÒÍÁÔÅ GNU texinfo ÎÁ ÔÅËÓÔÏ×ÏÊ ËÏÎÓÏÌÉ.
157
158 %description -n info -l tr
159 Bu pakette, info biçimindeki dosyalarý okumak için bir görüntüleyici
160 bulunur.
161
162 %description -n info -l uk
163 ðÒÏÅËÔ GNU ×ÉËÏÒÉÓÔÏ×Õ¤ ÆÏÒÍÁÔ texinfo ÄÌѠ¦ÌØÛÏÓÔ¦ ÄÏËÕÍÅÎÔÁæ§,
164 ÓÔ×ÏÒÅÎϧ × ÊÏÇÏ ÒÁÍËÁÈ. ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÐÒÏÇÒÁÍÕ ÄÌÑ ÐÅÒÅÇÌÑÄÕ
165 ÄÏËÕÍÅÎԦננÆÏÒÍÁÔ¦ GNU texinfo ÎÁ ÔÅËÓÔÏ×ÏÍÕ ÔÅÒͦÎÁ̦.
166
167 %package texi2dvi
168 Summary:        Texinfo to dvi conversion tool
169 Summary(pl):    Narzêdzie do konwersji texinfo na dvi
170 Group:          Applications/Publishing
171 Requires:       %{name} = %{version}-%{release}
172 Requires:       tetex
173
174 %description texi2dvi
175 Texinfo to dvi conversion tool.
176
177 %description texi2dvi -l pl
178 Narzêdzie do konwersji plików texinfo na dvi.
179
180 %prep
181 %setup -q
182 %patch0 -p1
183 %patch1 -p1
184 %patch2 -p1
185 %patch3 -p1
186
187 # nb was added but outdated no not removed
188 sed -i -e '/^no$/d' po/LINGUAS
189
190 rm -f po/stamp-po
191
192 %build
193 %{__autopoint}
194 %{__aclocal} -I m4
195 %{__autoconf}
196 %{__automake}
197 %configure
198
199 %{__make}
200
201 %install
202 rm -rf $RPM_BUILD_ROOT
203 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_sbindir},/sbin}
204
205 %{__make} install \
206         DESTDIR=$RPM_BUILD_ROOT
207
208 mv -f $RPM_BUILD_ROOT%{_bindir}/install-info $RPM_BUILD_ROOT%{_sbindir}
209 ln -sf %{_sbindir}/install-info $RPM_BUILD_ROOT/sbin/install-info
210
211 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
212
213 %find_lang %{name}
214
215 %clean
216 rm -rf $RPM_BUILD_ROOT
217
218 %post
219 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
220
221 %postun
222 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
223
224 %post -n info
225 /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
226
227 %files
228 %defattr(644,root,root,755)
229 %doc AUTHORS ChangeLog INTRODUCTION NEWS README TODO
230 %attr(755,root,root) %{_bindir}/makeinfo
231 %attr(755,root,root) %{_bindir}/texindex
232 %{_datadir}/texinfo
233
234 %{_infodir}/texinfo*
235 %{_mandir}/man1/makeinfo.1*
236 %{_mandir}/man1/texindex.1*
237 %{_mandir}/man5/texinfo.5*
238
239 %files -n info -f texinfo.lang
240 %defattr(644,root,root,755)
241 %doc info/README
242 %attr(755,root,root) %{_bindir}/info
243 %attr(755,root,root) %{_bindir}/infokey
244 %attr(755,root,root) /sbin/install-info
245 %attr(755,root,root) %{_sbindir}/install-info
246
247 %{_desktopdir}/info.desktop
248
249 %{_infodir}/info.info*
250 %{_infodir}/info-stnd.info*
251
252 %{_mandir}/man1/info.1*
253 %{_mandir}/man1/infokey.1*
254 %{_mandir}/man1/install-info.1*
255 %{_mandir}/man5/info.5*
256
257 %files texi2dvi
258 %defattr(644,root,root,755)
259 %attr(755,root,root) %{_bindir}/texi2dvi
260 %{_mandir}/man1/texi2dvi.1*
This page took 0.174905 seconds and 4 git commands to generate.