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