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