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