]>
Commit | Line | Data |
---|---|---|
fe6c225f | 1 | Summary: Tools needed to create Texinfo format documentation files |
db2f7687 ER |
2 | Summary(de.UTF-8): Tools zum Erstellen von texinfo-Dokumentationsdateien |
3 | Summary(es.UTF-8): Formateador texinfo y lector de archivos info | |
4 | Summary(fr.UTF-8): Outils créant des documentations au format texinfo | |
5 | Summary(pl.UTF-8): Narzędzia potrzebne przy tworzeniu dokumentacji w formacie texinfo | |
6 | Summary(pt_BR.UTF-8): Formatador texinfo e leitor de arquivos info | |
7 | Summary(ru.UTF-8): Инструменты для создания файлов документации формата Texinfo | |
8 | Summary(tr.UTF-8): texinfo biçimleyici ve info okuyucu | |
9 | Summary(uk.UTF-8): Інструменти для створення файлів документації формату Texinfo | |
aca7154f | 10 | Name: texinfo |
daca0c2c AM |
11 | Version: 4.9 |
12 | Release: 1 | |
90ee9c80 | 13 | License: GPL v3+ |
aca7154f | 14 | Group: Applications/Publishing |
0b516f51 | 15 | Source0: ftp://ftp.gnu.org/gnu/texinfo/%{name}-%{version}.tar.bz2 |
daca0c2c | 16 | # Source0-md5: f4458e4b81e5469fa0815c35654141ab |
1f3ab6d1 | 17 | Source1: info.desktop |
a3d78667 | 18 | Patch0: %{name}-info.patch |
f0c76e30 | 19 | Patch1: %{name}-CVE-2005-3011.patch |
06f55bb3 | 20 | Patch2: %{name}-as_needed-fix.patch |
89c0ea82 | 21 | Patch3: %{name}-pl.po-update.patch |
3d920fb7 | 22 | URL: http://texinfo.org/ |
0b516f51 | 23 | BuildRequires: autoconf >= 2.59 |
46e9a59e | 24 | BuildRequires: automake >= 1:1.8 |
89c0ea82 JB |
25 | #BuildRequires: gettext-autopoint >= 0.14.1 |
26 | BuildRequires: gettext-devel >= 0.14.1 | |
7a531d98 | 27 | BuildRequires: ncurses-devel >= 5.0 |
0b516f51 | 28 | BuildRequires: sed >= 4.0 |
53703672 | 29 | BuildRequires: zlib-devel |
0b516f51 | 30 | Requires: info = %{version}-%{release} |
e0eaef4d | 31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
aca7154f | 32 | |
33 | %description | |
a7c1784e | 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. | |
fe6c225f | 42 | |
3d9086ad | 43 | %description -l de.UTF-8 |
a7c1784e | 44 | Texinfo ist ein Dokumentationssystem, das sowohl Online-Information |
45 | und gedruckte Ausgabe von einer einzigen Source-Datei erzeugen kann. | |
3d9086ad JR |
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 | |
a7c1784e | 50 | Dokumentation. |
aca7154f | 51 | |
3d9086ad JR |
52 | %description -l es.UTF-8 |
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 | |
c018c93b | 57 | manual u otro tipo de trabajos impresos. Usando Texinfo, basta con |
3d9086ad JR |
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.UTF-8 | |
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 | |
a7c1784e | 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. | |
fe6c225f | 75 | |
3d9086ad JR |
76 | %description -l pl.UTF-8 |
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 | |
a7c1784e | 83 | dokumentacji modyfikujesz w takim razie tylko jeden dokument. |
3d9086ad | 84 | Większość projektów GNU używa do dokumentowania formatu Texinfo. |
aca7154f | 85 | |
3d9086ad JR |
86 | %description -l pt_BR.UTF-8 |
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, | |
c018c93b | 91 | e outro para um manual ou outro tipo de trabalho impresso. Usando o |
3d9086ad JR |
92 | Texinfo, basta escrever um único documento-fonte. Quando houver |
93 | necessidade de revisão, é preciso apenas revisar um único | |
c018c93b | 94 | documento-fonte. O projeto GNU usa o formato de arquivo texinfo para a |
3d9086ad JR |
95 | maioria da sua documentação. |
96 | ||
97 | %description -l ru.UTF-8 | |
98 | Проект GNU использует формат texinfo для большинства документации, | |
99 | созданной в его рамках. Этот пакет включает инструменты, необходимые | |
100 | для создания файлов .info из исходных файлов .texinfo и интерфейс к | |
101 | emacs для всех этих инструментов. | |
102 | ||
103 | %description -l tr.UTF-8 | |
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.UTF-8 | |
110 | Проект GNU використовує формат texinfo для більшості документації, | |
111 | створеної в його рамках. Цей пакет містить інструменти, потрібні для | |
112 | створення файлів .info з вхідних файлів .texinfo та інтерфейс до emacs | |
113 | для всіх цих інструментів. | |
95839e35 | 114 | |
aca7154f | 115 | %package -n info |
857a199c | 116 | Summary: A stand-alone TTY-based reader for GNU texinfo documentation |
db2f7687 ER |
117 | Summary(de.UTF-8): Ein TTY-basiertes Leseprogramm für GNU info-Dokumentation |
118 | Summary(es.UTF-8): Lector basado en tty para documentos texinfo GNU | |
119 | Summary(fr.UTF-8): un lecteur de documentations info | |
120 | Summary(pl.UTF-8): Samodzielny, terminalowy czytnik dokumentów GNU texinfo | |
121 | Summary(pt_BR.UTF-8): Leitor baseado em tty para documentos texinfo GNU | |
122 | Summary(ru.UTF-8): Программа для просмотра документов в формате GNU texinfo на текстовой консоли | |
123 | Summary(tr.UTF-8): GNU texinfo belgeleri için tty tabanlı görüntüleyici | |
124 | Summary(uk.UTF-8): Програма для перегляду документів в форматі GNU texinfo на текстовому терміналі | |
88cd79cb | 125 | Group: Applications/System |
06f55bb3 | 126 | Requires: fix-info-dir |
9126da44 | 127 | Obsoletes: info-install |
aca7154f | 128 | |
129 | %description -n info | |
a7c1784e | 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. | |
aca7154f | 133 | |
3d9086ad JR |
134 | %description -n info -l de.UTF-8 |
135 | Das GNU-Projekt benutzt das texinfo-Dateiformat für den Großteil | |
136 | seiner Dokumentation. Dieses Paket enthält ein selbständiges | |
a7c1784e | 137 | Browser-Programm zum Einsehen dieser Dateien. |
aca7154f | 138 | |
3d9086ad | 139 | %description -n info -l fr.UTF-8 |
a7c1784e | 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. | |
aca7154f | 143 | |
3d9086ad JR |
144 | %description -n info -l pl.UTF-8 |
145 | Projekty GNU używają formatu texinfo do tworzenia dokumentacji. Pakiet | |
146 | ten zawiera samodzielną przeglądarkę tychże plików. | |
aca7154f | 147 | |
3d9086ad | 148 | %description -n info -l pt_BR.UTF-8 |
c018c93b | 149 | O projeto GNU usa o formato de arquivos texinfo para a maioria de sua |
3d9086ad | 150 | documentação. Este pacote inclui um browser para visualização destes |
c018c93b | 151 | arquivos. |
152 | ||
3d9086ad JR |
153 | %description -n info -l ru.UTF-8 |
154 | Проект GNU использует формат texinfo для большинства документации, | |
155 | созданной в его рамках. Этот пакет включает программу для просмотра | |
156 | документов в формате GNU texinfo на текстовой консоли. | |
95839e35 | 157 | |
3d9086ad JR |
158 | %description -n info -l tr.UTF-8 |
159 | Bu pakette, info biçimindeki dosyaları okumak için bir görüntüleyici | |
aca7154f | 160 | bulunur. |
161 | ||
3d9086ad JR |
162 | %description -n info -l uk.UTF-8 |
163 | Проект GNU використовує формат texinfo для більшості документації, | |
164 | створеної в його рамках. Цей пакет містить програму для перегляду | |
165 | документів в форматі GNU texinfo на текстовому терміналі. | |
95839e35 | 166 | |
9294cf47 JB |
167 | %package texi2dvi |
168 | Summary: Texinfo to dvi conversion tool | |
db2f7687 | 169 | Summary(pl.UTF-8): Narzędzie do konwersji texinfo na dvi |
9294cf47 | 170 | Group: Applications/Publishing |
0b516f51 | 171 | Requires: %{name} = %{version}-%{release} |
d31c470e | 172 | Requires: tetex-fonts-latex |
5e913299 JB |
173 | # R: tetex 3.0 to avoid texi2pdf file conflict with tetex 2.0 |
174 | Requires: tetex-format-pdfetex >= 1:3.0 | |
9f5dc1b0 | 175 | Requires: tetex-format-plain |
9294cf47 JB |
176 | |
177 | %description texi2dvi | |
178 | Texinfo to dvi conversion tool. | |
179 | ||
3d9086ad JR |
180 | %description texi2dvi -l pl.UTF-8 |
181 | Narzędzie do konwersji plików texinfo na dvi. | |
9294cf47 | 182 | |
aca7154f | 183 | %prep |
184 | %setup -q | |
53703672 | 185 | %patch0 -p1 |
f0c76e30 | 186 | %patch1 -p2 |
06f55bb3 | 187 | %patch2 -p1 |
89c0ea82 | 188 | %patch3 -p1 |
aca7154f | 189 | |
0b516f51 JB |
190 | # nb was added but outdated no not removed |
191 | sed -i -e '/^no$/d' po/LINGUAS | |
89c0ea82 | 192 | rm -f po/stamp-po |
0b516f51 | 193 | |
aca7154f | 194 | %build |
a3d78667 JB |
195 | # don't touch - too fresh m4 macros required (newer than in gettext 0.14.1) |
196 | #%%{__autopoint} | |
95839e35 | 197 | %{__aclocal} -I m4 |
21725700 | 198 | %{__autoconf} |
199 | %{__automake} | |
0b516f51 JB |
200 | %configure |
201 | ||
c73a3911 | 202 | %{__make} |
aca7154f | 203 | |
204 | %install | |
205 | rm -rf $RPM_BUILD_ROOT | |
3eb8c50a | 206 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_sbindir},/sbin} |
aca7154f | 207 | |
0b516f51 JB |
208 | %{__make} install \ |
209 | DESTDIR=$RPM_BUILD_ROOT | |
aca7154f | 210 | |
65afa3c6 | 211 | mv -f $RPM_BUILD_ROOT%{_bindir}/install-info $RPM_BUILD_ROOT%{_sbindir} |
36510611 | 212 | ln -sf %{_sbindir}/install-info $RPM_BUILD_ROOT/sbin/install-info |
aca7154f | 213 | |
fbd564d0 | 214 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
aca7154f | 215 | |
8a7d68c2 JR |
216 | %find_lang %{name} |
217 | ||
104dfac5 JB |
218 | %clean |
219 | rm -rf $RPM_BUILD_ROOT | |
220 | ||
aca7154f | 221 | %post |
84b1495f | 222 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 |
aca7154f | 223 | |
1f3ab6d1 | 224 | %postun |
84b1495f | 225 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 |
2ae95f25 | 226 | |
2ae95f25 | 227 | %post -n info |
a831b67c | 228 | /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 |
aca7154f | 229 | |
aca7154f | 230 | %files |
231 | %defattr(644,root,root,755) | |
95839e35 | 232 | %doc AUTHORS ChangeLog INTRODUCTION NEWS README TODO |
65afa3c6 | 233 | %attr(755,root,root) %{_bindir}/makeinfo |
65afa3c6 | 234 | %attr(755,root,root) %{_bindir}/texindex |
586f606c | 235 | %{_datadir}/texinfo |
1f3ab6d1 | 236 | |
90a90f72 | 237 | %{_infodir}/texinfo* |
97f44cc9 | 238 | %{_mandir}/man1/makeinfo.1* |
97f44cc9 | 239 | %{_mandir}/man1/texindex.1* |
240 | %{_mandir}/man5/texinfo.5* | |
aca7154f | 241 | |
8a7d68c2 | 242 | %files -n info -f texinfo.lang |
aca7154f | 243 | %defattr(644,root,root,755) |
95839e35 | 244 | %doc info/README |
34968592 | 245 | %attr(755,root,root) %{_bindir}/info |
9ead054c | 246 | %attr(755,root,root) %{_bindir}/infokey |
aca7154f | 247 | %attr(755,root,root) /sbin/install-info |
65afa3c6 | 248 | %attr(755,root,root) %{_sbindir}/install-info |
1f3ab6d1 | 249 | |
fbd564d0 | 250 | %{_desktopdir}/info.desktop |
1f3ab6d1 | 251 | |
1f3ab6d1 AF |
252 | %{_infodir}/info.info* |
253 | %{_infodir}/info-stnd.info* | |
97f44cc9 | 254 | |
255 | %{_mandir}/man1/info.1* | |
0b516f51 | 256 | %{_mandir}/man1/infokey.1* |
97f44cc9 | 257 | %{_mandir}/man1/install-info.1* |
258 | %{_mandir}/man5/info.5* | |
9294cf47 JB |
259 | |
260 | %files texi2dvi | |
261 | %defattr(644,root,root,755) | |
262 | %attr(755,root,root) %{_bindir}/texi2dvi | |
99140fed | 263 | %attr(755,root,root) %{_bindir}/texi2pdf |
9294cf47 | 264 | %{_mandir}/man1/texi2dvi.1* |