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