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