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