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