diff --git a/.cvsignore b/.cvsignore index e69de29..9278959 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +texi2html-1.76.tar.bz2 diff --git a/sources b/sources index e69de29..508f5c1 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e8286fc0c07ce684fcc3793a98832038 texi2html-1.76.tar.bz2 diff --git a/texi2html.spec b/texi2html.spec new file mode 100644 index 0000000..547af1f --- /dev/null +++ b/texi2html.spec @@ -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 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 - 1.76-0 +- updated to 1.76 + +* Mon Jan 10 2005 MATSUURA Takanori - 1.72-1.fc3 +- initial build for Fedora Core 3 based on spec file in source tarball + +* Mon Mar 23 2004 Patrice Dumas 0:1.69-0.fdr.1 +- Initial build.