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