auto-import texi2html-1.76-1 on branch devel from texi2html-1.76-1.src.rpm

This commit is contained in:
Jindrich Novy 2005-02-18 13:19:06 +00:00
parent 9c2ec83d1b
commit 7914278007
3 changed files with 84 additions and 0 deletions

View File

@ -0,0 +1 @@
texi2html-1.76.tar.bz2

View File

@ -0,0 +1 @@
e8286fc0c07ce684fcc3793a98832038 texi2html-1.76.tar.bz2

82
texi2html.spec Normal file
View File

@ -0,0 +1,82 @@
Name: texi2html
Version: 1.76
Release: 1
License: GPL
Group: Applications/Text
Summary: A highly customizable texinfo to HTML and other formats translator
Source0: http://texi2html.cvshome.org/files/documents/70/758/%{name}-%{version}.tar.bz2
Source1: texi2html-1.7-ja
Patch0: texi2html-1.74-Makefile.am.patch
Patch1: texi2html-1.74-UTF-8.patch
URL: http://texi2html.cvshome.org/
Requires: perl >= 5.004
BuildRoot: %{_tmppath}/%{name}-root
BuildArch: noarch
%description
The basic purpose of texi2html is to convert Texinfo documents into HTML,
and other formats. Configuration files written in perl provide fine degree
of control over the final output, allowing most every aspect of the final
output not specified in the Texinfo input file to be specified.
%prep
%setup -q
%patch0 -p1 -b makefileam
%patch1 -p1 -b utf8
install -m 644 %{SOURCE1} i18n/ja
%build
#./autogen.sh
export CFLAGS="$RPM_OPT_FLAGS"
%configure
make clean
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir
%preun
if [ $1 = 0 ]; then
/sbin/install-info --delete %{_infodir}/%{name}.info.gz \
%{_infodir}/dir
fi
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog INTRODUCTION NEWS README TODO %{name}.init
%{_bindir}/%{name}
%{_datadir}/texinfo/html/%{name}.html
%{_mandir}/man*/%{name}*
%{_infodir}/%{name}.info*
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*.init
%dir %{_datadir}/%{name}/i18n/
%{_datadir}/%{name}/i18n/*
%dir %{_datadir}/%{name}/images/
%{_datadir}/%{name}/images/*
%changelog
* Fri Feb 18 2005 Jindrich Novy <jnovy@redhat.com> 1.76-1
- new texi2html package is now added (#121889)
- fix Source0
- BuildArchitectures -> BuildArch
- create backups for patches
- add $RPM_OPT_FLAGS to CFLAGS
* Thu Feb 10 2005 MATSUURA Takanori <t-matsuu@estyle.ne.jp> - 1.76-0
- updated to 1.76
* Mon Jan 10 2005 MATSUURA Takanori <t-matsuu@estyle.ne.jp> - 1.72-1.fc3
- initial build for Fedora Core 3 based on spec file in source tarball
* Mon Mar 23 2004 Patrice Dumas <pertusus@free.fr> 0:1.69-0.fdr.1
- Initial build.