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