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