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