]> git.pld-linux.org Git - packages/texinfo.git/blob - texinfo.spec
- updated to 4.0,
[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.0
8 Release:        1
9 Copyright:      GPL
10 Group:          Applications/Publishing
11 Group(pl):      Aplikacje/Publikowanie
12 Source:         ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
13 Source1:        info.desktop
14 Patch1:         texinfo-fix.patch
15 Patch3:         texinfo-zlib.patch
16 Patch4:         texinfo-info.patch
17 Patch5:         texinfo-version.texi.patch
18 Patch6:         texinfo-DESTDIR.patch
19 Patch7:         texinfo-fix-info-dir.patch
20 BuildRequires:  zlib-devel
21 BuildRequires:  ncurses-devel
22 Prereq:         /usr/sbin/fix-info-dir
23 Requires:       info = %{version}
24 Requires:       mktemp
25 Buildroot:      /tmp/%{name}-%{version}-root
26
27 %description
28 Texinfo is a documentation system that can produce both online information
29 and printed output from a single source file. Normally, you'd have to write
30 two separate documents: one for online help or other online information and
31 the other for a typeset manual or other printed work. Using Texinfo, you
32 only need to write one source document. Then when the work needs revision,
33 you only have to revise one source document. The GNU Project uses the
34 Texinfo file format for most of its documentation.
35
36 Install texinfo if you want a documentation system for producing both online
37 and print documentation from the same source file and/or if you are going to
38 write documentation for the GNU Project.
39
40 %description -l de
41 Texinfo ist ein Dokumentationssystem, das sowohl Online-Information und
42 gedruckte Ausgabe von einer einzigen Source-Datei erzeugen kann.
43 Normalerweise würden Sie zwei verschiedene Dokumente schreiben, eins für
44 Onlinehilfe und eins für ein gedrucktes Handbuch. Mit Texinfo reicht es, ein
45 Dokument zu schreiben (und später zu aktualisieren). Das GNU-Projekt benutzt
46 texinfo für den größten Teil seiner Dokumentation.
47
48 Installieren Sie texinfo, wenn Sie ein Dokumentationssystem für Online- und
49 gedruckte Dokumentation brauchen, oder wenn Sie Dokumentationen für das
50 GNU-Projekt schreiben wollen.
51
52 %description -l fr
53 Texinfo est un système de documentation capable de produire de la
54 documentation online ou imprimée à partir d'un seul fichier. 
55 Habituellement, il faut écrire deux documents : l'un orienté hypertexte,
56 l'autre axé sur une présentation de type PAO. En utilisant texinfo, vous
57 n'avez plus besoin que d'un seul fichier source. Le projet GNU utilie le
58 format de fichier Texinfo pour la plupart de ses documentations.
59
60 Vous devriez installer texinfo si vous compter écrire des documents en ligne
61 et sur papier à partir du même fichier ou si vous désirez écrire une
62 documentation pour le projet GNU.
63
64 %description -l pl
65 Texinfo jest systemem dokumentowania umo¿liwiaj±cym wyprodukowanie zarówno
66 dokumentacji online jak i postaci do wydruku z pojedynczego pliku
67 ¼ród³owego. bardzo czêsto piszê siedwie dokumentacje: jedna do przegl±dania
68 online i inna do przyszykowanai wysokiej jako¶ci postaci drukowane. U¿ywaj±c
69 Texinfo do powy¿szego potzrebujesz przygotowaæ dokumentacjê tylko w jednej
70 postaci ¼ród³owej. Podczas modyfikacji dokumentacji modyfikujesz w takim
71 razie tylko jeden dokument. Wiêkszo¶æ projektów GNU u¿ywa do dukumentowania
72 formatu Texinfo.
73
74 Zainstaluj Texinfo je¿eli potzrebujesz sporz±dzaæ dokumentacjê która bêdzie
75 przegl±dana zarówno online jak i bêdzie drukowan lub je¿eli zamierzasz pisaæ
76 dokumentacjê do projektów GNU.
77
78 %description -l tr
79 GNU projesi, belgelemesinin büyük bölümünde texinfo dosyalarýný kullanýr.
80 Bu paket, texinfo dosyalarýndan info dosyalarýnýn türetilmesini saðlayan
81 araçlarla birlikte, tüm bu araçlar için bir emacs arayüzü de sunar.
82
83 %package -n info
84 Summary:        A stand-alone TTY-based reader for GNU texinfo documentation.
85 Summary(de):    Ein TTY-basiertes Leseprogramm für GNU info-Dokumentation.
86 Summary(fr):    un lecteur de documentations info
87 Summary(pl):    Samodzielny, bazuj±cy na terminalu czytnik dokumentów GNU texinfo
88 Summary(tr):    GNU texinfo belgeleri için tty tabanlý görüntüleyici
89 Group:          Utilities/System
90 Group(pl):      Narzêdzia/System
91
92 %description -n info
93 The GNU project uses the texinfo file format for much of its documentation. 
94 This package includes a standalone browser program to view these files.
95
96 %description -l de -n info
97 Das GNU-Projekt benutzt das texinfo-Dateiformat für den Großteil seiner
98 Dokumentation. Dieses Paket enthält ein selbständiges Browser-Programm 
99 zum Einsehen dieser Dateien. 
100
101 %description -l fr -n info
102 Le projet GNU utilise le format de fichier texinfo pour la plupart de sa
103 documentation. Ce paquetage contient un navigateur pour visualiser ces
104 fichiers.
105
106 %description -l pl -n info
107 Projekty GNU u¿ywaj± formatu texinfo do tworzenia dokumentacji.
108 Pakiet ten zawiera samodzieln± przegl±darkê tych¿e plików.
109
110 %description -l tr -n info
111 Bu pakette, info biçimindeki dosyalarý okumak için bir görüntüleyici
112 bulunur.
113
114 %prep
115 %setup -q
116 %patch1 -p1
117 %patch3 -p1 
118 %patch4 -p1
119 %patch5 -p1
120 %patch6 -p1
121 %patch7 -p1 
122
123 %build
124 ln -s version.texi doc/version2.texi
125 automake
126 gettextize --copy --force
127 aclocal
128 autoconf
129 LDFLAGS="-s -lz"; export LDFLAGS
130 %configure \
131         --without-included-gettext
132 make -C doc distclean-aminfo
133 make
134 rm util/install-info
135 make -C util 
136
137 %install
138 rm -rf $RPM_BUILD_ROOT
139 install -d $RPM_BUILD_ROOT{/usr/X11R6/share/applnk/Utilities,%{_sbindir},/sbin}
140
141 make install DESTDIR=$RPM_BUILD_ROOT
142
143 install util/fix-info-dir $RPM_BUILD_ROOT%{_sbindir}
144
145 mv -f $RPM_BUILD_ROOT%{_bindir}/install-info $RPM_BUILD_ROOT%{_sbindir}
146 ln -s %{_sbindir}/install-info $RPM_BUILD_ROOT/sbin/install-info
147
148 install %{SOURCE1} $RPM_BUILD_ROOT/usr/X11R6/share/applnk/Utilities
149
150 gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/*info*,%{_mandir}/man?/*} \
151         ChangeLog INTRODUCTION NEWS README info/README
152
153 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
154 touch $RPM_BUILD_ROOT%{_infodir}/dir
155
156 %find_lang %{name}
157
158 %post
159 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
160
161 %postun
162 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
163
164 %pre -n info
165 if [ -e /usr/info ] && [ ! -L /usr/info ]; then
166         cp -af /usr/info %{_infodir} 
167 fi
168
169 %post -n info
170 if [ -e /usr/info ] && [ ! -L /usr/info ]; then
171         rm -rf /usr/info
172         ln -sf %{_infodir} /usr/info
173 fi
174 if [ -L %{_infodir}/dir ]; then
175         rm -f %{_infodir}/dir
176 fi
177 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
178
179 %clean
180 rm -rf $RPM_BUILD_ROOT
181
182 %files
183 %defattr(644,root,root,755)
184 %doc {ChangeLog,INTRODUCTION,NEWS,README,info/README}.gz
185 %attr(755,root,root) %{_bindir}/makeinfo
186 %attr(755,root,root) %{_bindir}/texi2dvi
187 %attr(755,root,root) %{_bindir}/texindex
188
189 %{_infodir}/texinfo*
190 %{_mandir}/man1/makeinfo.1*
191 %{_mandir}/man1/texi2dvi.1*
192 %{_mandir}/man1/texindex.1*
193 %{_mandir}/man5/texinfo.5*
194
195 %files -n info -f texinfo.lang
196 %defattr(644,root,root,755)
197 %attr(755,root,root) %{_bindir}/info
198 %attr(755,root,root) /sbin/install-info
199 %attr(755,root,root) %{_sbindir}/fix-info-dir
200 %attr(755,root,root) %{_sbindir}/install-info
201
202 /usr/X11R6/share/applnk/Utilities/info.desktop
203
204 %ghost %{_infodir}/dir
205 %{_infodir}/info.info*
206 %{_infodir}/info-stnd.info*
207
208 %{_mandir}/man1/info.1*
209 %{_mandir}/man1/install-info.1*
210 %{_mandir}/man5/info.5*
This page took 0.07605 seconds and 3 git commands to generate.