]> git.pld-linux.org Git - packages/texinfo.git/blob - texinfo.spec
acae68f714dfd5e3a2205d49516b633237fcf068
[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:        7
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 Obsoletes:      info-install
87
88 %description -n info
89 The GNU project uses the texinfo file format for much of its
90 documentation. This package includes a standalone browser program to
91 view these files.
92
93 %description -l de -n info
94 Das GNU-Projekt benutzt das texinfo-Dateiformat für den Großteil
95 seiner Dokumentation. Dieses Paket enthält ein selbständiges
96 Browser-Programm zum Einsehen dieser Dateien.
97
98 %description -l fr -n info
99 Le projet GNU utilise le format de fichier texinfo pour la plupart de
100 sa documentation. Ce paquetage contient un navigateur pour visualiser
101 ces fichiers.
102
103 %description -l pl -n info
104 Projekty GNU u¿ywaj± formatu texinfo do tworzenia dokumentacji. Pakiet
105 ten zawiera samodzieln± przegl±darkê tych¿e plików.
106
107 %description -l tr -n info
108 Bu pakette, info biçimindeki dosyalarý okumak için bir görüntüleyici
109 bulunur.
110
111 %package texi2dvi
112 Summary:        Texinfo to dvi conversion tool
113 Summary(pl):    Narzêdzie do konwersji texinfo na dvi
114 Group:          Applications/Publishing
115 Group(de):      Applikationen/Publizieren
116 Group(pl):      Aplikacje/Publikowanie
117 Requires:       %{name} = %{version}
118 Requires:       tetex
119
120 %description texi2dvi
121 Texinfo to dvi conversion tool.
122
123 %description texi2dvi -l pl
124 Narzêdzie do konwersji plików texinfo na dvi.
125
126 %prep
127 %setup -q
128 %patch0 -p1
129 %patch1 -p1 
130 %patch2 -p1
131 %patch3 -p1
132 %patch4 -p1
133 %patch5 -p1
134 %patch6 -p1
135 %patch7 -p1
136
137 %build
138 ln -sf version.texi doc/version2.texi
139 gettextize --copy --force
140 aclocal
141 autoconf
142 automake -a -c
143 %configure \
144         --without-included-gettext
145 %{__make} -C doc distclean-aminfo
146 %{__make}
147 rm -f util/install-info
148 %{__make} -C util 
149
150 %install
151 rm -rf $RPM_BUILD_ROOT
152 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Help,%{_sbindir},/sbin}
153
154 %{__make} install DESTDIR=$RPM_BUILD_ROOT
155
156 mv -f $RPM_BUILD_ROOT%{_bindir}/install-info $RPM_BUILD_ROOT%{_sbindir}
157 ln -sf %{_sbindir}/install-info $RPM_BUILD_ROOT/sbin/install-info
158
159 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Help
160
161 gzip -9nf ChangeLog INTRODUCTION NEWS README info/README
162
163 %find_lang %{name}
164
165 %clean
166 rm -rf $RPM_BUILD_ROOT
167
168 %post
169 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
170
171 %postun
172 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
173
174 %post -n info
175 /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
176
177 %files
178 %defattr(644,root,root,755)
179 %doc *.gz
180 %attr(755,root,root) %{_bindir}/makeinfo
181 %attr(755,root,root) %{_bindir}/texindex
182
183 %{_infodir}/texinfo*
184 %{_mandir}/man1/makeinfo.1*
185 %{_mandir}/man1/texindex.1*
186 %{_mandir}/man5/texinfo.5*
187
188 %files -n info -f texinfo.lang
189 %defattr(644,root,root,755)
190 %doc info/*.gz
191 %attr(755,root,root) %{_bindir}/info
192 %attr(755,root,root) /sbin/install-info
193 %attr(755,root,root) %{_sbindir}/install-info
194
195 %{_applnkdir}/Help/info.desktop
196
197 %{_infodir}/info.info*
198 %{_infodir}/info-stnd.info*
199
200 %{_mandir}/man1/info.1*
201 %{_mandir}/man1/install-info.1*
202 %{_mandir}/man5/info.5*
203
204 %files texi2dvi
205 %defattr(644,root,root,755)
206 %attr(755,root,root) %{_bindir}/texi2dvi
207 %{_mandir}/man1/texi2dvi.1*
This page took 0.060757 seconds and 3 git commands to generate.