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