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