]> git.pld-linux.org Git - packages/texinfo.git/blob - texinfo.spec
- updated to 4.0f (this version support xml output),
[packages/texinfo.git] / texinfo.spec
1 Summary:        Tools needed to create Texinfo format documentation files
2 Summary(de):    Tools zum Erstellen von texinfo-Dokumentationsdateien
3 Summary(fr):    Outils créant des documentations au format texinfo
4 Summary(pl):    Narzêdzia potrzebne przy tworzeniu dokumentacji w formacie texinfo
5 Summary(tr):    texinfo biçimleyici ve info okuyucu
6 Name:           texinfo
7 Version:        4.0f
8 Release:        1
9 License:        GPL
10 Group:          Applications/Publishing
11 Group(cs):      Aplikace/Publikování
12 Group(de):      Anwendungen/Publizieren
13 Group(es):      Aplicaciones/Edición
14 Group(fr):      Applications/Edition
15 Group(ja):      ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó/¥Ñ¥Ö¥ê¥Ã¥·¥ó¥°
16 Group(pl):      Aplikacje/Publikowanie
17 Group(pt):      Aplicações/Publicação
18 Group(pt_BR):   Aplicações/Editoração
19 Group(ru):      ðÒÉÌÏÖÅÎÉÑ/éÚÄÁÔÅÌØÓÔ×Ï
20 Source0:        ftp://alpha.gnu.org/pub/gnu/%{name}-%{version}.tar.gz
21 Source1:        info.desktop
22 Patch0:         %{name}-fix.patch
23 Patch1:         %{name}-zlib.patch
24 Patch2:         %{name}-info.patch
25 Patch3:         %{name}-version.texi.patch
26 Patch4:         %{name}-fileextension.patch
27 URL:            http://texinfo.org/
28 BuildRequires:  autoconf
29 BuildRequires:  automake
30 BuildRequires:  gettext-devel
31 BuildRequires:  ncurses-devel >= 5.0
32 BuildRequires:  zlib-devel
33 Requires:       info = %{version}
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
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 fr
56 Texinfo est un système de documentation capable de produire de la
57 documentation online ou imprimée à partir d'un seul fichier.
58 Habituellement, il faut écrire deux documents : l'un orienté
59 hypertexte, l'autre axé sur une présentation de type PAO. En utilisant
60 texinfo, vous n'avez plus besoin que d'un seul fichier source. Le
61 projet GNU utilie le format de fichier Texinfo pour la plupart de ses
62 documentations.
63
64 %description -l pl
65 Texinfo jest systemem dokumentowania umo¿liwiaj±cym wyprodukowanie
66 zarówno dokumentacji online jak i w postaci do wydruku z pojedynczego
67 pliku ¼ród³owego. Bardzo czêsto pisze siê dwie dokumentacje: jedn± do
68 przegl±dania online i drug± do przyszykowania wysokiej jako¶ci postaci
69 drukowanej. U¿ywaj±c Texinfo do powy¿szego potrzebujesz przygotowaæ
70 dokumentacjê tylko w jednej postaci ¼ród³owej. Podczas modyfikacji
71 dokumentacji modyfikujesz w takim razie tylko jeden dokument.
72 Wiêkszo¶æ projektów GNU u¿ywa do dokumentowania formatu Texinfo.
73
74 %description -l tr
75 GNU projesi, belgelemesinin büyük bölümünde texinfo dosyalarýný
76 kullanýr. Bu paket, texinfo dosyalarýndan info dosyalarýnýn
77 türetilmesini saðlayan araçlarla birlikte, tüm bu araçlar için bir
78 emacs arayüzü de sunar.
79
80 %package -n info
81 Summary:        A stand-alone TTY-based reader for GNU texinfo documentation
82 Summary(de):    Ein TTY-basiertes Leseprogramm für GNU info-Dokumentation
83 Summary(fr):    un lecteur de documentations info
84 Summary(pl):    Samodzielny, terminalowy czytnik dokumentów GNU texinfo
85 Summary(tr):    GNU texinfo belgeleri için tty tabanlý görüntüleyici
86 Group:          Applications/System
87 Group(cs):      Aplikace/Systém
88 Group(de):      Anwendungen/System
89 Group(es):      Aplicaciones/Sistema
90 Group(fr):      Applications/Système
91 Group(ja):      ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó/¥·¥¹¥Æ¥à
92 Group(pl):      Aplikacje/System
93 Group(pt):      Aplicações/Sistema
94 Group(pt_BR):   Aplicações/Sistema
95 Group(ru):      ðÒÉÌÏÖÅÎÉÑ/óÉÓÔÅÍÁ
96 Prereq:         fix-info-dir
97 Obsoletes:      info-install
98
99 %description -n info
100 The GNU project uses the texinfo file format for much of its
101 documentation. This package includes a standalone browser program to
102 view these files.
103
104 %description -l de -n info
105 Das GNU-Projekt benutzt das texinfo-Dateiformat für den Großteil
106 seiner Dokumentation. Dieses Paket enthält ein selbständiges
107 Browser-Programm zum Einsehen dieser Dateien.
108
109 %description -l fr -n info
110 Le projet GNU utilise le format de fichier texinfo pour la plupart de
111 sa documentation. Ce paquetage contient un navigateur pour visualiser
112 ces fichiers.
113
114 %description -l pl -n info
115 Projekty GNU u¿ywaj± formatu texinfo do tworzenia dokumentacji. Pakiet
116 ten zawiera samodzieln± przegl±darkê tych¿e plików.
117
118 %description -l tr -n info
119 Bu pakette, info biçimindeki dosyalarý okumak için bir görüntüleyici
120 bulunur.
121
122 %package texi2dvi
123 Summary:        Texinfo to dvi conversion tool
124 Summary(pl):    Narzêdzie do konwersji texinfo na dvi
125 Group:          Applications/Publishing
126 Group(cs):      Aplikace/Publikování
127 Group(de):      Anwendungen/Publizieren
128 Group(es):      Aplicaciones/Edición
129 Group(fr):      Applications/Edition
130 Group(ja):      ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó/¥Ñ¥Ö¥ê¥Ã¥·¥ó¥°
131 Group(pl):      Aplikacje/Publikowanie
132 Group(pt):      Aplicações/Publicação
133 Group(pt_BR):   Aplicações/Editoração
134 Group(ru):      ðÒÉÌÏÖÅÎÉÑ/éÚÄÁÔÅÌØÓÔ×Ï
135 Requires:       %{name} = %{version}
136 Requires:       tetex
137
138 %description texi2dvi
139 Texinfo to dvi conversion tool.
140
141 %description texi2dvi -l pl
142 Narzêdzie do konwersji plików texinfo na dvi.
143
144 %prep
145 %setup -q
146 %patch0 -p1
147 %patch1 -p1 
148 %patch2 -p1
149 %patch3 -p1
150 %patch4 -p1
151
152 %build
153 ln -sf version.texi doc/version2.texi
154 gettextize --copy --force
155 aclocal
156 autoconf
157 automake -a -c
158 %configure \
159         --without-included-gettext
160 %{__make} -C doc distclean-aminfo
161 %{__make}
162 rm -f util/install-info
163 %{__make} -C util 
164
165 %install
166 rm -rf $RPM_BUILD_ROOT
167 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Help,%{_sbindir},/sbin}
168
169 %{__make} install DESTDIR=$RPM_BUILD_ROOT
170
171 mv -f $RPM_BUILD_ROOT%{_bindir}/install-info $RPM_BUILD_ROOT%{_sbindir}
172 ln -sf %{_sbindir}/install-info $RPM_BUILD_ROOT/sbin/install-info
173
174 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Help
175
176 gzip -9nf ChangeLog INTRODUCTION NEWS README info/README
177
178 %find_lang %{name}
179
180 %clean
181 rm -rf $RPM_BUILD_ROOT
182
183 %post
184 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
185
186 %postun
187 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
188
189 %post -n info
190 /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
191
192 %files
193 %defattr(644,root,root,755)
194 %doc *.gz
195 %attr(755,root,root) %{_bindir}/makeinfo
196 %attr(755,root,root) %{_bindir}/texindex
197
198 %{_infodir}/texinfo*
199 %{_mandir}/man1/makeinfo.1*
200 %{_mandir}/man1/texindex.1*
201 %{_mandir}/man5/texinfo.5*
202
203 %files -n info -f texinfo.lang
204 %defattr(644,root,root,755)
205 %doc info/*.gz
206 %attr(755,root,root) %{_bindir}/info
207 %attr(755,root,root) /sbin/install-info
208 %attr(755,root,root) %{_sbindir}/install-info
209
210 %{_applnkdir}/Help/info.desktop
211
212 %{_infodir}/info.info*
213 %{_infodir}/info-stnd.info*
214
215 %{_mandir}/man1/info.1*
216 %{_mandir}/man1/install-info.1*
217 %{_mandir}/man5/info.5*
218
219 %files texi2dvi
220 %defattr(644,root,root,755)
221 %attr(755,root,root) %{_bindir}/texi2dvi
222 %{_mandir}/man1/texi2dvi.1*
This page took 0.076016 seconds and 4 git commands to generate.