- add latex2html, texexpand, pstoimg man pages (#60308)
This commit is contained in:
parent
54b241fd06
commit
69d307b6b7
@ -1,2 +1,3 @@
|
||||
l2h-2002-2-1+jp2.0.patch.gz
|
||||
latex2html-2002-2-1.tar.bz2
|
||||
latex2html-manpages.tar.bz2
|
||||
|
@ -4,12 +4,13 @@
|
||||
Summary: Converts LaTeX documents to HTML
|
||||
Name: latex2html
|
||||
Version: 2002.2.1
|
||||
Release: 2
|
||||
Release: 3
|
||||
License: Free To Use But Restricted (See LICENSE)
|
||||
Group: Applications/Publishing
|
||||
URL: http://www.latex2html.org/
|
||||
Source0: http://saftsack.fs.uni-bayreuth.de/~latex2ht/current/%{name}-%{latex2html_ver}.tar.bz2
|
||||
Source1: cfgcache.pm
|
||||
Source2: %{name}-manpages.tar.bz2
|
||||
Patch0: latex2html-2K.1beta-tabularx.patch
|
||||
Patch1: teTeX-l2h-config.patch
|
||||
Patch3: latex2html-2K.1beta-DB.patch
|
||||
@ -72,6 +73,7 @@ popd
|
||||
%build
|
||||
pushd %{name}-%{latex2html_ver}
|
||||
cp %{SOURCE1} cfgcache.pm
|
||||
tar fxj %{SOURCE2}
|
||||
|
||||
./configure --program-prefix=%{?_program_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,$cfg{'GS_LIB'} = q'';,$cfg{'GS_LIB'} = q'%{_datadir}/ghostscript/`ghostscript --version`';," cfgcache.pm
|
||||
install -m0644 *.pm %{buildroot}%{_datadir}/latex2html
|
||||
|
||||
# install man pages
|
||||
mkdir -p %{buildroot}%{_mandir}/man1
|
||||
install -m0644 *.1 %{buildroot}%{_mandir}/man1
|
||||
popd
|
||||
|
||||
%if %{enable_japanese}
|
||||
@ -199,7 +205,14 @@ exit 0
|
||||
%{_datadir}/jlatex2html/*
|
||||
%endif
|
||||
|
||||
%{_mandir}/man1/latex2html.1
|
||||
%{_mandir}/man1/texexpand.1
|
||||
%{_mandir}/man1/pstoimg.1
|
||||
|
||||
%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
|
||||
- run texhash in the %%post and %%postun phase (#156660)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user