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