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