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