]> git.pld-linux.org Git - packages/texinfo.git/blob - texinfo.spec
- Added "Prereq: fix-info-dir" into info package. I dont realy know
[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 Prereq:         fix-info-dir
78
79 %description -n info
80 The GNU project uses the texinfo file format for much of its
81 documentation. This package includes a standalone browser program to
82 view these files.
83
84 %description -l de -n info
85 Das GNU-Projekt benutzt das texinfo-Dateiformat für den Großteil
86 seiner Dokumentation. Dieses Paket enthält ein selbständiges
87 Browser-Programm zum Einsehen dieser Dateien.
88
89 %description -l fr -n info
90 Le projet GNU utilise le format de fichier texinfo pour la plupart de
91 sa documentation. Ce paquetage contient un navigateur pour visualiser
92 ces fichiers.
93
94 %description -l pl -n info
95 Projekty GNU u¿ywaj± formatu texinfo do tworzenia dokumentacji. Pakiet
96 ten zawiera samodzieln± przegl±darkê tych¿e plików.
97
98 %description -l tr -n info
99 Bu pakette, info biçimindeki dosyalarý okumak için bir görüntüleyici
100 bulunur.
101
102 %prep
103 %setup -q
104 %patch1 -p1
105 %patch3 -p1 
106 %patch4 -p1
107 %patch5 -p1
108 %patch6 -p1
109
110 %build
111 ln -s version.texi doc/version2.texi
112 automake
113 gettextize --copy --force
114 aclocal
115 autoconf
116 LDFLAGS="-s -lz"; export LDFLAGS
117 %configure \
118         --without-included-gettext
119 %{__make} -C doc distclean-aminfo
120 %{__make}
121 rm util/install-info
122 %{__make} -C util 
123
124 %install
125 rm -rf $RPM_BUILD_ROOT
126 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Utilities,%{_sbindir},/sbin}
127
128 %{__make} install DESTDIR=$RPM_BUILD_ROOT
129
130 mv -f $RPM_BUILD_ROOT%{_bindir}/install-info $RPM_BUILD_ROOT%{_sbindir}
131 ln -s %{_sbindir}/install-info $RPM_BUILD_ROOT/sbin/install-info
132
133 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Utilities
134
135 gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/*info*,%{_mandir}/man?/*} \
136         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.052128 seconds and 4 git commands to generate.