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