5 |
License: GPL |
License: GPL |
6 |
Group: Applications/Text |
Group: Applications/Text |
7 |
Summary: A highly customizable texinfo to HTML and other formats translator |
Summary: A highly customizable texinfo to HTML and other formats translator |
8 |
Source0: %{name}-%{version}.tar.bz2 |
Source: http://savannah.nongnu.org/download/texi2html/%{name}-%{version}.tar.gz |
9 |
#Source: http://texi2html.cvshome.org/servlets/ProjectDownloadList |
URL: http://www.nongnu.org/texi2html/ |
|
URL: http://texi2html.cvshome.org/ |
|
10 |
|
|
11 |
Requires: perl >= 5.004 |
Requires: perl >= 5.004 |
12 |
Prefix: %{_prefix} |
Requires(post): /sbin/install-info |
13 |
|
Requires(preun): /sbin/install-info |
14 |
|
# uncomment this if you want to build a relocatable package |
15 |
|
#Prefix: %{_prefix} |
16 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
17 |
|
|
18 |
|
|
19 |
%description |
%description |
20 |
The basic purpose of texi2html is to convert Texinfo documents into HTML, |
The basic purpose of texi2html is to convert Texinfo documents into HTML, |
21 |
and other formats. Configuration files written in perl provide fine degree |
and other formats. Configuration files written in perl provide fine degree |
41 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
42 |
|
|
43 |
%post |
%post |
44 |
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || : |
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : |
45 |
|
|
46 |
%preun |
%preun |
47 |
if [ $1 = 0 ]; then |
if [ $1 = 0 ]; then |
48 |
/sbin/install-info --delete %{_infodir}/%{name}.info \ |
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : |
|
%{_infodir}/dir 2>/dev/null || : |
|
49 |
fi |
fi |
50 |
|
|
51 |
%files |
%files |
52 |
%defattr(-,root,root) |
%defattr(-,root,root) |
53 |
%doc AUTHORS NEWS README ChangeLog TODO %{name}.init |
%doc AUTHORS NEWS README ChangeLog %{name}.init |
54 |
%{_bindir}/%{name} |
%{_bindir}/%{name} |
55 |
%{_datadir}/texinfo/html/%{name}.html |
%{_datadir}/texinfo/html/%{name}.html |
56 |
%{_mandir}/man*/%{name}* |
%{_mandir}/man*/%{name}* |