]> 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:        4.0b
8 Release:        2
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 Requires:       tetex
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 %prep
111 %setup -q
112 %patch0 -p1
113 %patch1 -p1 
114 %patch2 -p1
115 %patch3 -p1
116 %patch4 -p1
117 %patch5 -p1
118 %patch6 -p1
119
120 %build
121 ln -sf version.texi doc/version2.texi
122 gettextize --copy --force
123 aclocal
124 autoconf
125 automake -a -c
126 %configure \
127         --without-included-gettext
128 %{__make} -C doc distclean-aminfo
129 %{__make}
130 rm -f util/install-info
131 %{__make} -C util 
132
133 %install
134 rm -rf $RPM_BUILD_ROOT
135 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Utilities,%{_sbindir},/sbin}
136
137 %{__make} install DESTDIR=$RPM_BUILD_ROOT
138
139 mv -f $RPM_BUILD_ROOT%{_bindir}/install-info $RPM_BUILD_ROOT%{_sbindir}
140 ln -sf %{_sbindir}/install-info $RPM_BUILD_ROOT/sbin/install-info
141
142 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Utilities
143
144 gzip -9nf ChangeLog INTRODUCTION NEWS README info/README
145
146 %find_lang %{name}
147
148 %clean
149 rm -rf $RPM_BUILD_ROOT
150
151 %post
152 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
153
154 %postun
155 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
156
157 %post -n info
158 /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
159
160 %files
161 %defattr(644,root,root,755)
162 %doc *.gz info/*.gz
163 %attr(755,root,root) %{_bindir}/makeinfo
164 %attr(755,root,root) %{_bindir}/texi2dvi
165 %attr(755,root,root) %{_bindir}/texindex
166
167 %{_infodir}/texinfo*
168 %{_mandir}/man1/makeinfo.1*
169 %{_mandir}/man1/texi2dvi.1*
170 %{_mandir}/man1/texindex.1*
171 %{_mandir}/man5/texinfo.5*
172
173 %files -n info -f texinfo.lang
174 %defattr(644,root,root,755)
175 %attr(755,root,root) %{_bindir}/info
176 %attr(755,root,root) /sbin/install-info
177 %attr(755,root,root) %{_sbindir}/install-info
178
179 %{_applnkdir}/Utilities/info.desktop
180
181 %{_infodir}/info.info*
182 %{_infodir}/info-stnd.info*
183
184 %{_mandir}/man1/info.1*
185 %{_mandir}/man1/install-info.1*
186 %{_mandir}/man5/info.5*
This page took 0.050884 seconds and 4 git commands to generate.