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