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