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