]>
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 |
0fbe2b2b | 11 | Version: 4.13a |
b6860a89 | 12 | Release: 4 |
90ee9c80 | 13 | License: GPL v3+ |
aca7154f | 14 | Group: Applications/Publishing |
7a2a69da | 15 | Source0: http://ftp.gnu.org/gnu/texinfo/%{name}-%{version}.tar.lzma |
0fbe2b2b | 16 | # Source0-md5: 20b37e49464bd72df4c6cfba33340f87 |
1f3ab6d1 | 17 | Source1: info.desktop |
a3d78667 | 18 | Patch0: %{name}-info.patch |
1d774642 | 19 | Patch1: %{name}-as_needed-fix.patch |
bdf2db26 | 20 | Patch2: %{name}-segv.patch |
3d920fb7 | 21 | URL: http://texinfo.org/ |
0b516f51 | 22 | BuildRequires: autoconf >= 2.59 |
7a2a69da JB |
23 | BuildRequires: automake >= 1:1.10.1 |
24 | BuildRequires: gettext-devel >= 0.17 | |
1d774642 | 25 | BuildRequires: help2man |
7a531d98 | 26 | BuildRequires: ncurses-devel >= 5.0 |
53703672 | 27 | BuildRequires: zlib-devel |
0b516f51 | 28 | Requires: info = %{version}-%{release} |
e0eaef4d | 29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
aca7154f | 30 | |
31 | %description | |
a7c1784e | 32 | Texinfo is a documentation system that can produce both online |
33 | information and printed output from a single source file. Normally, | |
34 | you'd have to write two separate documents: one for online help or | |
35 | other online information and the other for a typeset manual or other | |
36 | printed work. Using Texinfo, you only need to write one source | |
37 | document. Then when the work needs revision, you only have to revise | |
38 | one source document. The GNU Project uses the Texinfo file format for | |
39 | most of its documentation. | |
fe6c225f | 40 | |
3d9086ad | 41 | %description -l de.UTF-8 |
a7c1784e | 42 | Texinfo ist ein Dokumentationssystem, das sowohl Online-Information |
43 | und gedruckte Ausgabe von einer einzigen Source-Datei erzeugen kann. | |
3d9086ad JR |
44 | Normalerweise würden Sie zwei verschiedene Dokumente schreiben, eins |
45 | für Onlinehilfe und eins für ein gedrucktes Handbuch. Mit Texinfo | |
46 | reicht es, ein Dokument zu schreiben (und später zu aktualisieren). | |
47 | Das GNU-Projekt benutzt texinfo für den größten Teil seiner | |
a7c1784e | 48 | Dokumentation. |
aca7154f | 49 | |
3d9086ad JR |
50 | %description -l es.UTF-8 |
51 | Texinfo es un sistema de documentación que puede producir tanto, | |
52 | información online como salida impresa a partir de un único archivo | |
53 | fuente. Generalmente, tenía que escribir dos documentos por separado: | |
54 | uno para la ayuda u otro tipo de información online, y otro para un | |
c018c93b | 55 | manual u otro tipo de trabajos impresos. Usando Texinfo, basta con |
3d9086ad JR |
56 | escribir un único documento fuente. El día que sea necesaria una |
57 | revisión del trabajo, sólo tendrá que revisar un único documento. El | |
58 | Proyecto GNU usa el formato de archivo Texinfo para la mayoría de su | |
59 | documentación. | |
60 | ||
61 | Instale Texinfo si quiere un sistema de documentación para producir | |
62 | tanto documentación online como impresa a partir del mismo archivo | |
63 | fuente y si va a escribir documentación para el Proyecto GNU. | |
64 | ||
65 | %description -l fr.UTF-8 | |
66 | Texinfo est un système de documentation capable de produire de la | |
67 | documentation online ou imprimée à partir d'un seul fichier. | |
68 | Habituellement, il faut écrire deux documents : l'un orienté | |
69 | hypertexte, l'autre axé sur une présentation de type PAO. En utilisant | |
a7c1784e | 70 | texinfo, vous n'avez plus besoin que d'un seul fichier source. Le |
71 | projet GNU utilie le format de fichier Texinfo pour la plupart de ses | |
72 | documentations. | |
fe6c225f | 73 | |
3d9086ad JR |
74 | %description -l pl.UTF-8 |
75 | Texinfo jest systemem dokumentowania umożliwiającym wyprodukowanie | |
76 | zarówno dokumentacji online jak i w postaci do wydruku z pojedynczego | |
77 | pliku źródłowego. Bardzo często pisze się dwie dokumentacje: jedną do | |
78 | przeglądania online i drugą do przyszykowania wysokiej jakości postaci | |
79 | drukowanej. Używając Texinfo do powyższego potrzebujesz przygotować | |
80 | dokumentację tylko w jednej postaci źródłowej. Podczas modyfikacji | |
a7c1784e | 81 | dokumentacji modyfikujesz w takim razie tylko jeden dokument. |
3d9086ad | 82 | Większość projektów GNU używa do dokumentowania formatu Texinfo. |
aca7154f | 83 | |
3d9086ad JR |
84 | %description -l pt_BR.UTF-8 |
85 | O texinfo é um sistema de documentação que pode produzir tanto | |
86 | informação on-line como saída impressa a partir de um único | |
87 | arquivo-fonte. Geralmente, você teria que escrever dois documentos | |
88 | separados: um para ajuda on-line ou outro tipo de informação on-line, | |
c018c93b | 89 | e outro para um manual ou outro tipo de trabalho impresso. Usando o |
3d9086ad JR |
90 | Texinfo, basta escrever um único documento-fonte. Quando houver |
91 | necessidade de revisão, é preciso apenas revisar um único | |
c018c93b | 92 | documento-fonte. O projeto GNU usa o formato de arquivo texinfo para a |
3d9086ad JR |
93 | maioria da sua documentação. |
94 | ||
95 | %description -l ru.UTF-8 | |
96 | Проект GNU использует формат texinfo для большинства документации, | |
97 | созданной в его рамках. Этот пакет включает инструменты, необходимые | |
98 | для создания файлов .info из исходных файлов .texinfo и интерфейс к | |
99 | emacs для всех этих инструментов. | |
100 | ||
101 | %description -l tr.UTF-8 | |
102 | [6~GNU projesi, belgelemesinin büyük bölümünde texinfo dosyalarını | |
103 | kullanır. Bu paket, texinfo dosyalarından info dosyalarının | |
104 | türetilmesini sağlayan araçlarla birlikte, tüm bu araçlar için bir | |
105 | emacs arayüzü de sunar. | |
106 | ||
107 | %description -l uk.UTF-8 | |
108 | Проект GNU використовує формат texinfo для більшості документації, | |
109 | створеної в його рамках. Цей пакет містить інструменти, потрібні для | |
110 | створення файлів .info з вхідних файлів .texinfo та інтерфейс до emacs | |
111 | для всіх цих інструментів. | |
95839e35 | 112 | |
aca7154f | 113 | %package -n info |
857a199c | 114 | Summary: A stand-alone TTY-based reader for GNU texinfo documentation |
db2f7687 ER |
115 | Summary(de.UTF-8): Ein TTY-basiertes Leseprogramm für GNU info-Dokumentation |
116 | Summary(es.UTF-8): Lector basado en tty para documentos texinfo GNU | |
117 | Summary(fr.UTF-8): un lecteur de documentations info | |
118 | Summary(pl.UTF-8): Samodzielny, terminalowy czytnik dokumentów GNU texinfo | |
119 | Summary(pt_BR.UTF-8): Leitor baseado em tty para documentos texinfo GNU | |
120 | Summary(ru.UTF-8): Программа для просмотра документов в формате GNU texinfo на текстовой консоли | |
121 | Summary(tr.UTF-8): GNU texinfo belgeleri için tty tabanlı görüntüleyici | |
122 | Summary(uk.UTF-8): Програма для перегляду документів в форматі GNU texinfo на текстовому терміналі | |
88cd79cb | 123 | Group: Applications/System |
06f55bb3 | 124 | Requires: fix-info-dir |
9126da44 | 125 | Obsoletes: info-install |
aca7154f | 126 | |
127 | %description -n info | |
a7c1784e | 128 | The GNU project uses the texinfo file format for much of its |
129 | documentation. This package includes a standalone browser program to | |
130 | view these files. | |
aca7154f | 131 | |
3d9086ad JR |
132 | %description -n info -l de.UTF-8 |
133 | Das GNU-Projekt benutzt das texinfo-Dateiformat für den Großteil | |
134 | seiner Dokumentation. Dieses Paket enthält ein selbständiges | |
a7c1784e | 135 | Browser-Programm zum Einsehen dieser Dateien. |
aca7154f | 136 | |
3d9086ad | 137 | %description -n info -l fr.UTF-8 |
a7c1784e | 138 | Le projet GNU utilise le format de fichier texinfo pour la plupart de |
139 | sa documentation. Ce paquetage contient un navigateur pour visualiser | |
140 | ces fichiers. | |
aca7154f | 141 | |
3d9086ad JR |
142 | %description -n info -l pl.UTF-8 |
143 | Projekty GNU używają formatu texinfo do tworzenia dokumentacji. Pakiet | |
144 | ten zawiera samodzielną przeglądarkę tychże plików. | |
aca7154f | 145 | |
3d9086ad | 146 | %description -n info -l pt_BR.UTF-8 |
c018c93b | 147 | O projeto GNU usa o formato de arquivos texinfo para a maioria de sua |
3d9086ad | 148 | documentação. Este pacote inclui um browser para visualização destes |
c018c93b | 149 | arquivos. |
150 | ||
3d9086ad JR |
151 | %description -n info -l ru.UTF-8 |
152 | Проект GNU использует формат texinfo для большинства документации, | |
153 | созданной в его рамках. Этот пакет включает программу для просмотра | |
154 | документов в формате GNU texinfo на текстовой консоли. | |
95839e35 | 155 | |
3d9086ad JR |
156 | %description -n info -l tr.UTF-8 |
157 | Bu pakette, info biçimindeki dosyaları okumak için bir görüntüleyici | |
aca7154f | 158 | bulunur. |
159 | ||
3d9086ad JR |
160 | %description -n info -l uk.UTF-8 |
161 | Проект GNU використовує формат texinfo для більшості документації, | |
162 | створеної в його рамках. Цей пакет містить програму для перегляду | |
163 | документів в форматі GNU texinfo на текстовому терміналі. | |
95839e35 | 164 | |
9294cf47 JB |
165 | %package texi2dvi |
166 | Summary: Texinfo to dvi conversion tool | |
db2f7687 | 167 | Summary(pl.UTF-8): Narzędzie do konwersji texinfo na dvi |
9294cf47 | 168 | Group: Applications/Publishing |
0b516f51 | 169 | Requires: %{name} = %{version}-%{release} |
b6860a89 | 170 | %if "%{pld_release}" == "ti" |
171 | Requires: tetex-fonts-latex | |
172 | # R: tetex 3.0 to avoid texi2pdf file conflict with tetex 2.0 | |
173 | Requires: tetex-format-pdfetex >= 1:3.0 | |
174 | Requires: tetex-format-plain | |
175 | %else | |
d8b8859e ZU |
176 | Requires: texlive |
177 | Requires: texlive-fonts-latex | |
178 | Requires: texlive-plain | |
b6860a89 | 179 | %endif |
9294cf47 JB |
180 | |
181 | %description texi2dvi | |
182 | Texinfo to dvi conversion tool. | |
183 | ||
3d9086ad JR |
184 | %description texi2dvi -l pl.UTF-8 |
185 | Narzędzie do konwersji plików texinfo na dvi. | |
9294cf47 | 186 | |
aca7154f | 187 | %prep |
0fbe2b2b | 188 | %setup -q -c -T -n %{name}-4.13 |
7a2a69da | 189 | lzma -dc %{SOURCE0} | tar xf - -C .. |
53703672 | 190 | %patch0 -p1 |
1d774642 | 191 | %patch1 -p1 |
bdf2db26 | 192 | %patch2 -p1 |
0b516f51 | 193 | |
aca7154f | 194 | %build |
1d774642 | 195 | %{__aclocal} -I gnulib/m4 |
21725700 | 196 | %{__autoconf} |
197 | %{__automake} | |
0b516f51 JB |
198 | %configure |
199 | ||
98b6b41e | 200 | PATH="$PATH:../util" %{__make} |
aca7154f | 201 | |
202 | %install | |
203 | rm -rf $RPM_BUILD_ROOT | |
3eb8c50a | 204 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_sbindir},/sbin} |
aca7154f | 205 | |
0b516f51 JB |
206 | %{__make} install \ |
207 | DESTDIR=$RPM_BUILD_ROOT | |
aca7154f | 208 | |
65afa3c6 | 209 | mv -f $RPM_BUILD_ROOT%{_bindir}/install-info $RPM_BUILD_ROOT%{_sbindir} |
36510611 | 210 | ln -sf %{_sbindir}/install-info $RPM_BUILD_ROOT/sbin/install-info |
aca7154f | 211 | |
fbd564d0 | 212 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
aca7154f | 213 | |
8a7d68c2 JR |
214 | %find_lang %{name} |
215 | ||
104dfac5 JB |
216 | %clean |
217 | rm -rf $RPM_BUILD_ROOT | |
218 | ||
7a2a69da | 219 | %post -p /sbin/postshell |
aaebc53e | 220 | -/usr/sbin/fix-info-dir -c %{_infodir} |
aca7154f | 221 | |
7a2a69da | 222 | %postun -p /sbin/postshell |
aaebc53e | 223 | -/usr/sbin/fix-info-dir -c %{_infodir} |
2ae95f25 | 224 | |
2ae95f25 | 225 | %post -n info |
a831b67c | 226 | /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 |
aca7154f | 227 | |
aca7154f | 228 | %files |
229 | %defattr(644,root,root,755) | |
95839e35 | 230 | %doc AUTHORS ChangeLog INTRODUCTION NEWS README TODO |
65afa3c6 | 231 | %attr(755,root,root) %{_bindir}/makeinfo |
65afa3c6 | 232 | %attr(755,root,root) %{_bindir}/texindex |
586f606c | 233 | %{_datadir}/texinfo |
1f3ab6d1 | 234 | |
90a90f72 | 235 | %{_infodir}/texinfo* |
97f44cc9 | 236 | %{_mandir}/man1/makeinfo.1* |
97f44cc9 | 237 | %{_mandir}/man1/texindex.1* |
238 | %{_mandir}/man5/texinfo.5* | |
aca7154f | 239 | |
8a7d68c2 | 240 | %files -n info -f texinfo.lang |
aca7154f | 241 | %defattr(644,root,root,755) |
95839e35 | 242 | %doc info/README |
34968592 | 243 | %attr(755,root,root) %{_bindir}/info |
9ead054c | 244 | %attr(755,root,root) %{_bindir}/infokey |
aca7154f | 245 | %attr(755,root,root) /sbin/install-info |
65afa3c6 | 246 | %attr(755,root,root) %{_sbindir}/install-info |
1f3ab6d1 | 247 | |
fbd564d0 | 248 | %{_desktopdir}/info.desktop |
1f3ab6d1 | 249 | |
1f3ab6d1 AF |
250 | %{_infodir}/info.info* |
251 | %{_infodir}/info-stnd.info* | |
97f44cc9 | 252 | |
253 | %{_mandir}/man1/info.1* | |
0b516f51 | 254 | %{_mandir}/man1/infokey.1* |
97f44cc9 | 255 | %{_mandir}/man1/install-info.1* |
256 | %{_mandir}/man5/info.5* | |
9294cf47 JB |
257 | |
258 | %files texi2dvi | |
259 | %defattr(644,root,root,755) | |
1d774642 | 260 | %attr(755,root,root) %{_bindir}/pdftexi2dvi |
9294cf47 | 261 | %attr(755,root,root) %{_bindir}/texi2dvi |
99140fed | 262 | %attr(755,root,root) %{_bindir}/texi2pdf |
1d774642 | 263 | %{_mandir}/man1/pdftexi2dvi.1* |
9294cf47 | 264 | %{_mandir}/man1/texi2dvi.1* |
1d774642 | 265 | %{_mandir}/man1/texi2pdf.1* |