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