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