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