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