- add latex2html, texexpand, pstoimg man pages (#60308)

This commit is contained in:
Jindrich Novy 2005-05-04 09:11:53 +00:00
parent 54b241fd06
commit 69d307b6b7
3 changed files with 16 additions and 1 deletions

View File

@ -1,2 +1,3 @@
l2h-2002-2-1+jp2.0.patch.gz l2h-2002-2-1+jp2.0.patch.gz
latex2html-2002-2-1.tar.bz2 latex2html-2002-2-1.tar.bz2
latex2html-manpages.tar.bz2

View File

@ -4,12 +4,13 @@
Summary: Converts LaTeX documents to HTML Summary: Converts LaTeX documents to HTML
Name: latex2html Name: latex2html
Version: 2002.2.1 Version: 2002.2.1
Release: 2 Release: 3
License: Free To Use But Restricted (See LICENSE) License: Free To Use But Restricted (See LICENSE)
Group: Applications/Publishing Group: Applications/Publishing
URL: http://www.latex2html.org/ URL: http://www.latex2html.org/
Source0: http://saftsack.fs.uni-bayreuth.de/~latex2ht/current/%{name}-%{latex2html_ver}.tar.bz2 Source0: http://saftsack.fs.uni-bayreuth.de/~latex2ht/current/%{name}-%{latex2html_ver}.tar.bz2
Source1: cfgcache.pm Source1: cfgcache.pm
Source2: %{name}-manpages.tar.bz2
Patch0: latex2html-2K.1beta-tabularx.patch Patch0: latex2html-2K.1beta-tabularx.patch
Patch1: teTeX-l2h-config.patch Patch1: teTeX-l2h-config.patch
Patch3: latex2html-2K.1beta-DB.patch Patch3: latex2html-2K.1beta-DB.patch
@ -72,6 +73,7 @@ popd
%build %build
pushd %{name}-%{latex2html_ver} pushd %{name}-%{latex2html_ver}
cp %{SOURCE1} cfgcache.pm cp %{SOURCE1} cfgcache.pm
tar fxj %{SOURCE2}
./configure --program-prefix=%{?_program_prefix} \ ./configure --program-prefix=%{?_program_prefix} \
--prefix=%{_prefix} \ --prefix=%{_prefix} \
@ -146,6 +148,10 @@ perl -pi -e"s,$RPM_BUILD_ROOT,," %{buildroot}%{_bindir}/texexpand
perl -pi -e"s,$RPM_BUILD_ROOT,," cfgcache.pm perl -pi -e"s,$RPM_BUILD_ROOT,," cfgcache.pm
perl -pi -e"s,$cfg{'GS_LIB'} = q'';,$cfg{'GS_LIB'} = q'%{_datadir}/ghostscript/`ghostscript --version`';," cfgcache.pm perl -pi -e"s,$cfg{'GS_LIB'} = q'';,$cfg{'GS_LIB'} = q'%{_datadir}/ghostscript/`ghostscript --version`';," cfgcache.pm
install -m0644 *.pm %{buildroot}%{_datadir}/latex2html install -m0644 *.pm %{buildroot}%{_datadir}/latex2html
# install man pages
mkdir -p %{buildroot}%{_mandir}/man1
install -m0644 *.1 %{buildroot}%{_mandir}/man1
popd popd
%if %{enable_japanese} %if %{enable_japanese}
@ -199,7 +205,14 @@ exit 0
%{_datadir}/jlatex2html/* %{_datadir}/jlatex2html/*
%endif %endif
%{_mandir}/man1/latex2html.1
%{_mandir}/man1/texexpand.1
%{_mandir}/man1/pstoimg.1
%changelog %changelog
* Wed May 4 2005 Jindrich Novy <jnovy@redhat.com> 2002.2.1-3
- add latex2html, texexpand, pstoimg man pages (#60308)
* Tue May 3 2005 Jindrich Novy <jnovy@redhat.com> 2002.2.1-2 * Tue May 3 2005 Jindrich Novy <jnovy@redhat.com> 2002.2.1-2
- run texhash in the %%post and %%postun phase (#156660) - run texhash in the %%post and %%postun phase (#156660)

View File

@ -1,2 +1,3 @@
0b44186e870fa5790205231cbab0f789 l2h-2002-2-1+jp2.0.patch.gz 0b44186e870fa5790205231cbab0f789 l2h-2002-2-1+jp2.0.patch.gz
e8374264303f56ef66c97ec2392eccbe latex2html-2002-2-1.tar.bz2 e8374264303f56ef66c97ec2392eccbe latex2html-2002-2-1.tar.bz2
e931367bddb503cbbbc60376354736e3 latex2html-manpages.tar.bz2