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