]> git.pld-linux.org Git - packages/texinfo.git/blob - texinfo.spec
- /etc/X11/applnk -> /usr/X11R6/share/applnk
[packages/texinfo.git] / texinfo.spec
1 Summary:        texinfo formatter and info reader
2 Summary(de):    texinfo-Formatier- und Leseprogramm
3 Summary(fr):    Formatteur texinfo et lecteur pour info.
4 Summary(pl):    Texinfo -- formatter plików texinfo
5 Summary(tr):    texinfo biçimleyici ve info okuyucu
6 Name:           texinfo
7 Version:        3.12h
8 Release:        3
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-dir
14 Source2:        info.desktop
15 Patch0:         texinfo-exe.patch
16 Patch1:         texinfo-fix.patch
17 Patch2:         texinfo-alpha-tioc.patch
18 Patch3:         texinfo-zlib.patch
19 Patch4:         texinfo-info.patch
20 Patch5:         texinfo-version.texi.patch
21 Patch6:         texinfo-DESTDIR.patch
22 BuildRequires:  zlib-devel
23 Prereq:         /sbin/install-info
24 Requires:       info = %{version}
25 Buildroot:      /tmp/%{name}-%{version}-root
26
27 %description
28 The GNU project uses the texinfo file format for much of its documentation. 
29 This package includes the tools necessary to create .info files from .texinfo 
30 source files, as well as an emacs interface to all these tools.
31
32 %description -l de
33 Das GNU-Projekt verwendet das Dateiformtat 'texinfo' für den Großteil der
34 Dokumentation. Dieses Paket enthält Tools zum Erstellen von .info-Dateien aus
35 .texinfo-Quelldateien und eine emacs-Schnittstelle für diese Tools.
36
37 %description -l fr
38 Le projet GBU utilise le format de fichier texinfo pour la plupart de sa
39 documentation. Ce paquetage contient les outils pour créer des fichiers .info
40 à partir des fichiers sources .texinfo, ainsi qu'une interface emacs pour tous
41 ces outils.
42
43 %description -l pl
44 Projekty GNU u¿ywaj± formatu texinfo do tworzenia dokumentacji. W pakiecie 
45 tym znajduj± siê narzêdzia potrzebne do tworzenia plików info ze ¼ród³owych 
46 *.texinfo, a tak¿e interface dla GNU Emacs. 
47
48 %description -l tr
49 GNU projesi, belgelemesinin büyük bölümünde texinfo dosyalarýný kullanýr.
50 Bu paket, texinfo dosyalarýndan info dosyalarýnýn türetilmesini saðlayan
51 araçlarla birlikte, tüm bu araçlar için bir emacs arayüzü de sunar.
52
53 %package -n info
54 Summary:        standalone tty based reader for GNU texinfo documents
55 Summary(de):    Unabhängiges tty-basiertes Leseprogramm für GNU-texinfo-Dokumente
56 Summary(fr):    Lecteur autonome de documents texinfo pour terminal.
57 Summary(pl):    Samodzielny, bazuj±cy na terminalu czytnik dokumentów GNU texinfo
58 Summary(tr):    GNU texinfo belgeleri için tty tabanlý görüntüleyici
59 Group:          Utilities/System
60 Group(pl):      Narzêdzia/System
61
62 %description -n info
63 The GNU project uses the texinfo file format for much of its documentation. 
64 This package includes a standalone browser program to view these files.
65
66 %description -l de -n info
67 Das GNU-Projekt benutzt das texinfo-Dateiformat für den Großteil seiner
68 Dokumentation. Dieses Paket enthält ein selbständiges Browser-Programm 
69 zum Einsehen dieser Dateien. 
70
71 %description -l fr -n info
72 Le projet GNU utilise le format de fichier texinfo pour la plupart de sa
73 documentation. Ce paquetage contient un navigateur pour visualiser ces
74 fichiers.
75
76 %description -l pl -n info
77 Projekty GNU u¿ywaj± formatu texinfo do tworzenia dokumentacji.
78 Pakiet ten zawiera samodzieln± przegl±darkê tych¿e plików.
79
80 %description -l tr -n info
81 Bu pakette, info biçimindeki dosyalarý okumak için bir görüntüleyici
82 bulunur.
83
84 %prep
85 %setup -q
86 %patch0 -p1
87 %patch1 -p1
88 %patch2 -p1
89 %patch3 -p1
90 %patch4 -p1
91 %patch5 -p1
92 %patch6 -p1
93
94 %build
95 ln -s version.texi doc/version2.texi
96 automake
97 gettextize --copy --force
98 aclocal
99 autoconf
100 LDFLAGS="-s -lz"; export LDFLAGS
101 %configure \
102         --without-included-gettext
103 make
104 rm util/install-info
105 make -C util 
106
107 %install
108 rm -rf $RPM_BUILD_ROOT
109 install -d $RPM_BUILD_ROOT{/usr/X11R6/share/applnk/Utilities,%{_sbindir},/sbin}
110
111 make install DESTDIR=$RPM_BUILD_ROOT
112
113 install util/fix-info-dir $RPM_BUILD_ROOT%{_sbindir}
114
115 install %{SOURCE1} $RPM_BUILD_ROOT/etc/info-dir
116 ln -sf ../../../etc/info-dir $RPM_BUILD_ROOT%{_infodir}/dir
117
118 mv -f $RPM_BUILD_ROOT%{_bindir}/install-info $RPM_BUILD_ROOT%{_sbindir}
119 ln -s %{_sbindir}/install-info $RPM_BUILD_ROOT/sbin/install-info
120
121 install %{SOURCE2} $RPM_BUILD_ROOT/usr/X11R6/share/applnk/Utilities
122
123 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/*info* \
124         ChangeLog INTRODUCTION NEWS README info/README
125
126 %find_lang %{name}
127
128 %post
129 /sbin/install-info %{_infodir}/texinfo.gz /etc/info-dir
130
131 %preun
132 if [ "$1" = "0" ]; then
133         /sbin/install-info --delete %{_infodir}/texinfo.gz /etc/info-dir
134 fi
135
136 %pre -n info
137 if [ -e /usr/info ] && [ ! -L /usr/info ]; then
138         cp -af /usr/info %{_infodir} 
139 fi
140
141 %post -n info
142 if [ -e /usr/info ] && [ ! -L /usr/info ]; then
143         rm -rf /usr/info
144         ln -sf %{_infodir} /usr/info
145 fi
146
147 %clean
148 rm -rf $RPM_BUILD_ROOT
149
150 %files
151 %defattr(644,root,root,755)
152 %doc {ChangeLog,INTRODUCTION,NEWS,README,info/README}.gz
153 %attr(755,root,root) %{_bindir}/makeinfo
154 %attr(755,root,root) %{_bindir}/texi2dvi
155 %attr(755,root,root) %{_bindir}/texindex
156 %{_infodir}/info-stnd.info*
157 %{_infodir}/texinfo*
158
159 %files -n info -f texinfo.lang
160 %defattr(644,root,root,755)
161 /usr/X11R6/share/applnk/Utilities/info.desktop
162 %config(noreplace) %verify(not mtime size md5) /etc/info-dir
163 %config %{_infodir}/dir
164 %attr(755,root,root) %{_bindir}/info
165 %{_infodir}/info.info*
166 %attr(755,root,root) /sbin/install-info
167 %attr(755,root,root) %{_sbindir}/fix-info-dir
168 %attr(755,root,root) %{_sbindir}/install-info
This page took 0.067452 seconds and 3 git commands to generate.