1 %include /usr/lib/rpm/macros.perl
2 Summary: Tools needed to create Texinfo format documentation files
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
15 Group: Applications/Publishing
16 Source0: http://ftp.gnu.org/gnu/texinfo/%{name}-%{version}.tar.xz
17 # Source0-md5: 3715197e62e0e07f85860b3d7aab55ed
19 Patch0: %{name}-info.patch
20 Patch1: regex-fix.patch
21 URL: http://www.gnu.org/software/texinfo/
22 BuildRequires: autoconf >= 2.69
23 BuildRequires: automake >= 1:1.14
24 BuildRequires: gettext-tools >= 0.19.8
25 BuildRequires: help2man
26 BuildRequires: ncurses-devel >= 5.0
27 BuildRequires: perl-Encode
28 BuildRequires: perl-devel >= 1:5.8.0
29 BuildRequires: perl-modules >= 1:5.8.0
30 BuildRequires: perl-tools-devel
31 BuildRequires: rpm >= 4.4.9-56
32 BuildRequires: rpm-perlprov
33 BuildRequires: tar >= 1:1.22
35 BuildRequires: zlib-devel
36 Requires: info = %{version}-%{release}
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40 Texinfo is a documentation system that can produce both online
41 information and printed output from a single source file. Normally,
42 you'd have to write two separate documents: one for online help or
43 other online information and the other for a typeset manual or other
44 printed work. Using Texinfo, you only need to write one source
45 document. Then when the work needs revision, you only have to revise
46 one source document. The GNU Project uses the Texinfo file format for
47 most of its documentation.
49 %description -l de.UTF-8
50 Texinfo ist ein Dokumentationssystem, das sowohl Online-Information
51 und gedruckte Ausgabe von einer einzigen Source-Datei erzeugen kann.
52 Normalerweise würden Sie zwei verschiedene Dokumente schreiben, eins
53 für Onlinehilfe und eins für ein gedrucktes Handbuch. Mit Texinfo
54 reicht es, ein Dokument zu schreiben (und später zu aktualisieren).
55 Das GNU-Projekt benutzt texinfo für den größten Teil seiner
58 %description -l es.UTF-8
59 Texinfo es un sistema de documentación que puede producir tanto,
60 información online como salida impresa a partir de un único archivo
61 fuente. Generalmente, tenía que escribir dos documentos por separado:
62 uno para la ayuda u otro tipo de información online, y otro para un
63 manual u otro tipo de trabajos impresos. Usando Texinfo, basta con
64 escribir un único documento fuente. El día que sea necesaria una
65 revisión del trabajo, sólo tendrá que revisar un único documento. El
66 Proyecto GNU usa el formato de archivo Texinfo para la mayoría de su
69 Instale Texinfo si quiere un sistema de documentación para producir
70 tanto documentación online como impresa a partir del mismo archivo
71 fuente y si va a escribir documentación para el Proyecto GNU.
73 %description -l fr.UTF-8
74 Texinfo est un système de documentation capable de produire de la
75 documentation online ou imprimée à partir d'un seul fichier.
76 Habituellement, il faut écrire deux documents : l'un orienté
77 hypertexte, l'autre axé sur une présentation de type PAO. En utilisant
78 texinfo, vous n'avez plus besoin que d'un seul fichier source. Le
79 projet GNU utilie le format de fichier Texinfo pour la plupart de ses
82 %description -l pl.UTF-8
83 Texinfo jest systemem dokumentowania umożliwiającym wyprodukowanie
84 zarówno dokumentacji online jak i w postaci do wydruku z pojedynczego
85 pliku źródłowego. Bardzo często pisze się dwie dokumentacje: jedną do
86 przeglądania online i drugą do przyszykowania wysokiej jakości postaci
87 drukowanej. Używając Texinfo do powyższego potrzebujesz przygotować
88 dokumentację tylko w jednej postaci źródłowej. Podczas modyfikacji
89 dokumentacji modyfikujesz w takim razie tylko jeden dokument.
90 Większość projektów GNU używa do dokumentowania formatu Texinfo.
92 %description -l pt_BR.UTF-8
93 O texinfo é um sistema de documentação que pode produzir tanto
94 informação on-line como saída impressa a partir de um único
95 arquivo-fonte. Geralmente, você teria que escrever dois documentos
96 separados: um para ajuda on-line ou outro tipo de informação on-line,
97 e outro para um manual ou outro tipo de trabalho impresso. Usando o
98 Texinfo, basta escrever um único documento-fonte. Quando houver
99 necessidade de revisão, é preciso apenas revisar um único
100 documento-fonte. O projeto GNU usa o formato de arquivo texinfo para a
101 maioria da sua documentação.
103 %description -l ru.UTF-8
104 Проект GNU использует формат texinfo для большинства документации,
105 созданной в его рамках. Этот пакет включает инструменты, необходимые
106 для создания файлов .info из исходных файлов .texinfo и интерфейс к
107 emacs для всех этих инструментов.
109 %description -l tr.UTF-8
110 [6~GNU projesi, belgelemesinin büyük bölümünde texinfo dosyalarını
111 kullanır. Bu paket, texinfo dosyalarından info dosyalarının
112 türetilmesini sağlayan araçlarla birlikte, tüm bu araçlar için bir
113 emacs arayüzü de sunar.
115 %description -l uk.UTF-8
116 Проект GNU використовує формат texinfo для більшості документації,
117 створеної в його рамках. Цей пакет містить інструменти, потрібні для
118 створення файлів .info з вхідних файлів .texinfo та інтерфейс до emacs
119 для всіх цих інструментів.
122 Summary: A stand-alone TTY-based reader for GNU texinfo documentation
123 Summary(de.UTF-8): Ein TTY-basiertes Leseprogramm für GNU info-Dokumentation
124 Summary(es.UTF-8): Lector basado en tty para documentos texinfo GNU
125 Summary(fr.UTF-8): un lecteur de documentations info
126 Summary(pl.UTF-8): Samodzielny, terminalowy czytnik dokumentów GNU texinfo
127 Summary(pt_BR.UTF-8): Leitor baseado em tty para documentos texinfo GNU
128 Summary(ru.UTF-8): Программа для просмотра документов в формате GNU texinfo на текстовой консоли
129 Summary(tr.UTF-8): GNU texinfo belgeleri için tty tabanlı görüntüleyici
130 Summary(uk.UTF-8): Програма для перегляду документів в форматі GNU texinfo на текстовому терміналі
131 Group: Applications/System
132 Requires: fix-info-dir
133 Obsoletes: info-install
136 The GNU project uses the texinfo file format for much of its
137 documentation. This package includes a standalone browser program to
140 %description -n info -l de.UTF-8
141 Das GNU-Projekt benutzt das texinfo-Dateiformat für den Großteil
142 seiner Dokumentation. Dieses Paket enthält ein selbständiges
143 Browser-Programm zum Einsehen dieser Dateien.
145 %description -n info -l fr.UTF-8
146 Le projet GNU utilise le format de fichier texinfo pour la plupart de
147 sa documentation. Ce paquetage contient un navigateur pour visualiser
150 %description -n info -l pl.UTF-8
151 Projekty GNU używają formatu texinfo do tworzenia dokumentacji. Pakiet
152 ten zawiera samodzielną przeglądarkę tychże plików.
154 %description -n info -l pt_BR.UTF-8
155 O projeto GNU usa o formato de arquivos texinfo para a maioria de sua
156 documentação. Este pacote inclui um browser para visualização destes
159 %description -n info -l ru.UTF-8
160 Проект GNU использует формат texinfo для большинства документации,
161 созданной в его рамках. Этот пакет включает программу для просмотра
162 документов в формате GNU texinfo на текстовой консоли.
164 %description -n info -l tr.UTF-8
165 Bu pakette, info biçimindeki dosyaları okumak için bir görüntüleyici
168 %description -n info -l uk.UTF-8
169 Проект GNU використовує формат texinfo для більшості документації,
170 створеної в його рамках. Цей пакет містить програму для перегляду
171 документів в форматі GNU texinfo на текстовому терміналі.
174 Summary: Texinfo to dvi conversion tool
175 Summary(pl.UTF-8): Narzędzie do konwersji texinfo na dvi
176 Group: Applications/Publishing
177 Requires: %{name} = %{version}-%{release}
179 Requires: texlive-fonts-latex
180 Requires: texlive-plain
182 %description texi2dvi
183 Texinfo to dvi conversion tool.
185 %description texi2dvi -l pl.UTF-8
186 Narzędzie do konwersji plików texinfo na dvi.
194 %{__aclocal} -I gnulib/m4
200 PATH="$PATH:../util" %{__make}
203 rm -rf $RPM_BUILD_ROOT
204 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_sbindir},/sbin}
207 DESTDIR=$RPM_BUILD_ROOT
209 %{__mv} $RPM_BUILD_ROOT%{_bindir}/install-info $RPM_BUILD_ROOT%{_sbindir}
210 ln -sf %{_sbindir}/install-info $RPM_BUILD_ROOT/sbin/install-info
213 %{__rm} $RPM_BUILD_ROOT%{_libdir}/texinfo/*.la
215 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
217 # copy of default encoding
218 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ca.us-ascii
219 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/de.us-ascii
220 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pt.us-ascii
221 # outdated copy of default encoding
222 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pt_BR.us-ascii
223 # normalize locale name
224 %{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/{no.us-ascii,nb}/LC_MESSAGES/texinfo_document.mo
227 %find_lang texinfo_document
230 rm -rf $RPM_BUILD_ROOT
232 %post -p /sbin/postshell
233 -/usr/sbin/fix-info-dir -c %{_infodir}
235 %postun -p /sbin/postshell
236 -/usr/sbin/fix-info-dir -c %{_infodir}
238 %post -n info -p /sbin/postshell
239 -/usr/sbin/fix-info-dir -c %{_infodir}
241 %postun -n info -p /sbin/postshell
242 -/usr/sbin/fix-info-dir -c %{_infodir}
244 %files -f texinfo_document.lang
245 %defattr(644,root,root,755)
246 %doc AUTHORS ChangeLog NEWS README TODO
247 %attr(755,root,root) %{_bindir}/makeinfo
248 %attr(755,root,root) %{_bindir}/pod2texi
249 %attr(755,root,root) %{_bindir}/texi2any
250 %attr(755,root,root) %{_bindir}/texindex
252 %dir %{_libdir}/texinfo
253 %attr(755,root,root) %{_libdir}/texinfo/MiscXS.so
254 %attr(755,root,root) %{_libdir}/texinfo/XSParagraph.so
255 %{_infodir}/texinfo*.info*
256 %{_mandir}/man1/makeinfo.1*
257 %{_mandir}/man1/pod2texi.1*
258 %{_mandir}/man1/texi2any.1*
259 %{_mandir}/man1/texindex.1*
260 %{_mandir}/man5/texinfo.5*
262 %files -n info -f texinfo.lang
263 %defattr(644,root,root,755)
264 %attr(755,root,root) %{_bindir}/info
265 %attr(755,root,root) /sbin/install-info
266 %attr(755,root,root) %{_sbindir}/install-info
267 %{_desktopdir}/info.desktop
268 %{_infodir}/info-stnd.info*
269 %{_mandir}/man1/info.1*
270 %{_mandir}/man1/install-info.1*
271 %{_mandir}/man5/info.5*
274 %defattr(644,root,root,755)
275 %attr(755,root,root) %{_bindir}/pdftexi2dvi
276 %attr(755,root,root) %{_bindir}/texi2dvi
277 %attr(755,root,root) %{_bindir}/texi2pdf
278 %{_mandir}/man1/pdftexi2dvi.1*
279 %{_mandir}/man1/texi2dvi.1*
280 %{_mandir}/man1/texi2pdf.1*