1 |
%define name texinfo |
%define name texinfo |
2 |
%define version 4.13a |
%define version 4.13a |
3 |
%define release %mkrel 3 |
%define release %mkrel 4 |
4 |
|
|
5 |
%define bootstrap 0 |
%define bootstrap 0 |
6 |
%{?_without_bootstrap: %global bootstrap 0} |
%{?_without_bootstrap: %global bootstrap 0} |
28 |
Patch201: texinfo-4.13-accentenc-test.patch |
Patch201: texinfo-4.13-accentenc-test.patch |
29 |
# (anssi 01/2008) for make check: |
# (anssi 01/2008) for make check: |
30 |
%if %bootstrap == 0 |
%if %bootstrap == 0 |
|
Requires: texmf-data |
|
31 |
BuildRequires: tetex |
BuildRequires: tetex |
32 |
BuildRequires: tetex-latex |
BuildRequires: tetex-latex |
33 |
%endif |
%endif |
77 |
documentation. The info package provides a standalone TTY-based browser |
documentation. The info package provides a standalone TTY-based browser |
78 |
program for viewing texinfo files. |
program for viewing texinfo files. |
79 |
|
|
80 |
|
%package tex |
81 |
|
Summary: Tools for formatting Texinfo documentation files using TeX |
82 |
|
Group: Publishing |
83 |
|
Requires: texinfo = %{version}-%{release} |
84 |
|
Requires: texmf-data |
85 |
|
Requires: texlive |
86 |
|
Requires(post): %{_bindir}/texconfig-sys |
87 |
|
Requires(postun): %{_bindir}/texconfig-sys |
88 |
|
|
89 |
|
%description tex |
90 |
|
Texinfo is a documentation system that can produce both online |
91 |
|
information and printed output from a single source file. The GNU |
92 |
|
Project uses the Texinfo file format for most of its documentation. |
93 |
|
|
94 |
|
The texinfo-tex package provides tools to format Texinfo documents |
95 |
|
for printing using TeX. |
96 |
|
|
97 |
%prep |
%prep |
98 |
%setup -qn %name-4.13 |
%setup -qn %name-4.13 |
99 |
%patch1 -p1 |
%patch1 -p1 |
128 |
mv %{buildroot}%{_bindir}/install-info %{buildroot}/sbin/install-info |
mv %{buildroot}%{_bindir}/install-info %{buildroot}/sbin/install-info |
129 |
mkdir -p %{buildroot}%{_sysconfdir}/X11/wmconfig |
mkdir -p %{buildroot}%{_sysconfdir}/X11/wmconfig |
130 |
|
|
131 |
|
# Doc install for the tex subpackage (from Fedora) |
132 |
|
mkdir -p %{buildroot}%{_datadir}/texmf/tex/texinfo |
133 |
|
install -p -m644 doc/texinfo.tex doc/txi-??.tex %{buildroot}%{_datadir}/texmf/tex/texinfo |
134 |
|
|
135 |
%find_lang %{name} |
%find_lang %{name} |
136 |
|
|
137 |
%clean |
%clean |
154 |
%doc AUTHORS INTRODUCTION NEWS README TODO |
%doc AUTHORS INTRODUCTION NEWS README TODO |
155 |
%doc --parents info/README |
%doc --parents info/README |
156 |
%{_bindir}/makeinfo |
%{_bindir}/makeinfo |
|
%{_bindir}/texindex |
|
|
%{_bindir}/texi2dvi |
|
|
%{_bindir}/texi2pdf |
|
|
%{_bindir}/pdftexi2dvi |
|
157 |
%{_infodir}/info-stnd.info* |
%{_infodir}/info-stnd.info* |
158 |
%{_infodir}/texinfo* |
%{_infodir}/texinfo* |
159 |
%{_mandir}/man1/makeinfo.1* |
%{_mandir}/man1/makeinfo.1* |
|
%{_mandir}/man1/pdftexi2dvi.1* |
|
|
%{_mandir}/man1/texi2dvi.1* |
|
|
%{_mandir}/man1/texi2pdf.1* |
|
|
%{_mandir}/man1/texindex.1* |
|
160 |
%{_mandir}/man5/texinfo.5* |
%{_mandir}/man5/texinfo.5* |
161 |
%{_datadir}/texinfo |
%{_datadir}/texinfo |
162 |
|
|
176 |
%{_mandir}/man1/install-info.1* |
%{_mandir}/man1/install-info.1* |
177 |
%{_mandir}/man5/info.5* |
%{_mandir}/man5/info.5* |
178 |
|
|
179 |
|
%files tex |
180 |
|
%{_bindir}/texindex |
181 |
|
%{_bindir}/texi2dvi |
182 |
|
%{_bindir}/texi2pdf |
183 |
|
%{_bindir}/pdftexi2dvi |
184 |
|
%{_datadir}/texmf/tex/texinfo |
185 |
|
%{_mandir}/man1/texindex.1* |
186 |
|
%{_mandir}/man1/texi2dvi.1* |
187 |
|
%{_mandir}/man1/texi2pdf.1* |
188 |
|
%{_mandir}/man1/pdftexi2dvi.1* |
189 |
|
|