import latex2html-2020.2-5.el9
This commit is contained in:
commit
420e999691
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SOURCES/l2h-2020-jp20200515.tar.gz
|
||||||
|
SOURCES/latex2html-manpages.tar.gz
|
||||||
|
SOURCES/v2020.2.tar.gz
|
3
.latex2html.metadata
Normal file
3
.latex2html.metadata
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
583ed23367ca6f717e9be9485b9eb1ace959083f SOURCES/l2h-2020-jp20200515.tar.gz
|
||||||
|
e87245982fd87931dc32b703cefc88dad6450681 SOURCES/latex2html-manpages.tar.gz
|
||||||
|
5e5eaa1e3c32e6f65590177ec1dd3adaa21e7a13 SOURCES/v2020.2.tar.gz
|
97
SOURCES/cfgcache.pm
Normal file
97
SOURCES/cfgcache.pm
Normal file
@ -0,0 +1,97 @@
|
|||||||
|
# LaTeX2HTML site specific configuration file
|
||||||
|
# generated by config.pl
|
||||||
|
|
||||||
|
# You may edit this file to get around deficiencies of the configuration
|
||||||
|
# procedure, but you have to be sure of what you are doing!
|
||||||
|
# If you think there are bugs in the configuration procedure, please report
|
||||||
|
# them. See the BUGS file on how to do it. Your help is appreciated!
|
||||||
|
|
||||||
|
package cfgcache;
|
||||||
|
require Exporter;
|
||||||
|
@ISA = qw(Exporter);
|
||||||
|
@EXPORT = qw(%cfg);
|
||||||
|
|
||||||
|
$cfg{'ANYTOPNM'} = q'/usr/bin/anytopnm';
|
||||||
|
$cfg{'BINDIR'} = q'/usr/bin';
|
||||||
|
$cfg{'BMPTOPPM'} = q'/usr/bin/bmptoppm';
|
||||||
|
$cfg{'CRAYOLAFILE'} = q'/usr/share/latex2html/styles/crayola.txt';
|
||||||
|
$cfg{'DVIPS'} = q'/usr/bin/dvips';
|
||||||
|
$cfg{'DVIPSOPT'} = q' -E';
|
||||||
|
$cfg{'GIFTOPNM'} = q'/usr/bin/giftopnm';
|
||||||
|
$cfg{'GS'} = q'/usr/bin/gs';
|
||||||
|
$cfg{'GSALIASDEVICE'} = q'ppmraw';
|
||||||
|
$cfg{'GSDEVICE'} = q'pnmraw';
|
||||||
|
$cfg{'GSLANDSCAPE'} = q'';
|
||||||
|
$cfg{'GS_LIB'} = q'';
|
||||||
|
$cfg{'HASHBANG'} = q'1';
|
||||||
|
$cfg{'HTML_VALIDATOR'} = q'';
|
||||||
|
$cfg{'ICONPATH'} = q'file:/usr/share/latex2html/icons';
|
||||||
|
$cfg{'ICONSERVER'} = q'';
|
||||||
|
$cfg{'ICONSTORAGE'} = q'';
|
||||||
|
$cfg{'IMAGE_TYPES'} = q'png gif';
|
||||||
|
$cfg{'INITEX'} = q'/usr/bin/initex';
|
||||||
|
$cfg{'JPEGTOPNM'} = q'/usr/bin/jpegtopnm';
|
||||||
|
$cfg{'KPSEWHICH'} = q'/usr/bin/kpsewhich';
|
||||||
|
$cfg{'LATEX'} = q'/usr/bin/latex';
|
||||||
|
$cfg{'LATEX2HTMLDIR'} = q'/usr/share/latex2html';
|
||||||
|
$cfg{'LATEX2HTMLPLATDIR'} = q'/usr/share/latex2html';
|
||||||
|
$cfg{'LIBDIR'} = q'/usr/share/latex2html';
|
||||||
|
$cfg{'METADPI'} = q'0';
|
||||||
|
$cfg{'METAMODE'} = q'';
|
||||||
|
$cfg{'MKTEXLSR'} = q'/usr/bin/mktexlsr';
|
||||||
|
$cfg{'NULLFILE'} = q'/dev/null';
|
||||||
|
$cfg{'PBMMAKE'} = q'/usr/bin/pbmmake';
|
||||||
|
$cfg{'PCXTOPPM'} = q'/usr/bin/pcxtoppm';
|
||||||
|
$cfg{'PERL'} = q'/usr/bin/perl';
|
||||||
|
$cfg{'PERLFOOTER'} = q'';
|
||||||
|
$cfg{'PERLHEADER'} = <<'EOQ';
|
||||||
|
#! /usr/bin/perl -w
|
||||||
|
EOQ
|
||||||
|
$cfg{'PERLSCRIPTDIR'} = q'/usr/bin';
|
||||||
|
$cfg{'PICTTOPPM'} = q'';
|
||||||
|
$cfg{'PK_GENERATION'} = q'0';
|
||||||
|
$cfg{'PNGTOPNM'} = q'/usr/bin/pngtopnm';
|
||||||
|
$cfg{'PNMBLACK'} = q'';
|
||||||
|
$cfg{'PNMCAT'} = q'/usr/bin/pnmcat';
|
||||||
|
$cfg{'PNMCROP'} = q'/usr/bin/pnmcrop';
|
||||||
|
$cfg{'PNMCROPOPT'} = q' -sides ';
|
||||||
|
$cfg{'PNMCUT'} = q'/usr/bin/pnmcut';
|
||||||
|
$cfg{'PNMFILE'} = q'/usr/bin/pnmfile';
|
||||||
|
$cfg{'PNMFLIP'} = q'/usr/bin/pnmflip';
|
||||||
|
$cfg{'PNMPAD'} = q'/usr/bin/pnmpad';
|
||||||
|
$cfg{'PNMROTATE'} = q'/usr/bin/pnmrotate';
|
||||||
|
$cfg{'PNMSCALE'} = q'/usr/bin/pnmscale';
|
||||||
|
$cfg{'PNMTOPNG'} = q'/usr/bin/pnmtopng';
|
||||||
|
$cfg{'PPMQUANT'} = q'/usr/bin/ppmquant';
|
||||||
|
$cfg{'PPMTOGIF'} = q'/usr/bin/ppmtogif';
|
||||||
|
$cfg{'PPMTOJPEG'} = q'/usr/bin/ppmtojpeg';
|
||||||
|
$cfg{'PREFIX'} = q'/usr';
|
||||||
|
$cfg{'RGBCOLORFILE'} = q'/usr/share/X11/rgb.txt';
|
||||||
|
$cfg{'SGITOPNM'} = q'/usr/bin/sgitopnm';
|
||||||
|
$cfg{'SHLIBDIR'} = q'/usr/share/latex2html';
|
||||||
|
$cfg{'TEX'} = q'/usr/bin/tex';
|
||||||
|
$cfg{'TEXPATH'} = q'/usr/share/texmf/tex/latex/html';
|
||||||
|
$cfg{'TIFFTOPNM'} = q'/usr/bin/tifftopnm';
|
||||||
|
$cfg{'TMPSPACE'} = q'/tmp';
|
||||||
|
$cfg{'WEB2C'} = q'1';
|
||||||
|
$cfg{'XBMTOPBM'} = q'/usr/bin/xbmtopbm';
|
||||||
|
$cfg{'XWDTOPNM'} = q'/usr/bin/xwdtopnm';
|
||||||
|
$cfg{'dd'} = q'/';
|
||||||
|
$cfg{'distver'} = q'2008';
|
||||||
|
$cfg{'exec_extension'} = q'';
|
||||||
|
$cfg{'gif_interlace'} = q'netpbm';
|
||||||
|
$cfg{'gif_trans'} = q'netpbm';
|
||||||
|
$cfg{'have_dvipsmode'} = q'';
|
||||||
|
$cfg{'have_geometry'} = q'1';
|
||||||
|
$cfg{'have_images'} = q'1';
|
||||||
|
$cfg{'have_pstoimg'} = q'1';
|
||||||
|
$cfg{'perl_starter'} = q'';
|
||||||
|
$cfg{'pipes'} = q'1';
|
||||||
|
$cfg{'plat'} = q'unix';
|
||||||
|
$cfg{'scriptdir'} = q'/usr/bin';
|
||||||
|
$cfg{'scriptext'} = q'';
|
||||||
|
$cfg{'srcdir'} = q'/X/latex2html-2008';
|
||||||
|
$cfg{'texlive'} = q'0';
|
||||||
|
$cfg{'wrapper'} = q'0';
|
||||||
|
|
||||||
|
1; # must be last line
|
20
SOURCES/latex2html-2002-2-1-SHLIB.patch
Normal file
20
SOURCES/latex2html-2002-2-1-SHLIB.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
--- latex2html-2002-2-1/config/config.pl.orig 2004-11-02 20:17:57.000000000 +0900
|
||||||
|
+++ latex2html-2002-2-1/config/config.pl 2004-11-02 20:48:22.024993493 +0900
|
||||||
|
@@ -1915,12 +1915,12 @@
|
||||||
|
else {
|
||||||
|
# similar to the perl installation procedure, append latex2html only
|
||||||
|
# if it does not appear in the PREFIX
|
||||||
|
- if($newcfg{'PREFIX'} =~ /l2h|latex2html/i) {
|
||||||
|
- $newcfg{'SHLIBDIR'} = $newcfg{'PREFIX'};
|
||||||
|
- }
|
||||||
|
- else {
|
||||||
|
+# if($newcfg{'PREFIX'} =~ /l2h|latex2html/i) {
|
||||||
|
+# $newcfg{'SHLIBDIR'} = $newcfg{'PREFIX'};
|
||||||
|
+# }
|
||||||
|
+# else {
|
||||||
|
$newcfg{'SHLIBDIR'} = "$newcfg{'PREFIX'}${dd}share${dd}lib${dd}latex2html";
|
||||||
|
- }
|
||||||
|
+# }
|
||||||
|
}
|
||||||
|
add_drive_letter($newcfg{'SHLIBDIR'});
|
||||||
|
|
11
SOURCES/latex2html-2018.2-teTeX-l2h-config.patch
Normal file
11
SOURCES/latex2html-2018.2-teTeX-l2h-config.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff -up latex2html-2018.2/latex2html-2018.2/config/config.pl.me latex2html-2018.2/latex2html-2018.2/config/config.pl
|
||||||
|
--- latex2html-2018.2/latex2html-2018.2/config/config.pl.me 2018-06-22 16:43:28.830829027 +0200
|
||||||
|
+++ latex2html-2018.2/latex2html-2018.2/config/config.pl 2018-06-22 16:43:58.532706324 +0200
|
||||||
|
@@ -635,6 +635,7 @@ $abs_path_names = &get_name('ABSPATHS');
|
||||||
|
# DBM check
|
||||||
|
# --------------------------------------------------------------------------
|
||||||
|
|
||||||
|
+use DB;
|
||||||
|
&checking('if perl supports some dbm');
|
||||||
|
|
||||||
|
my %array;
|
394
SPECS/latex2html.spec
Normal file
394
SPECS/latex2html.spec
Normal file
@ -0,0 +1,394 @@
|
|||||||
|
%define enable_japanese 1
|
||||||
|
|
||||||
|
Summary: Converts LaTeX documents to HTML
|
||||||
|
Name: latex2html
|
||||||
|
Version: 2020.2
|
||||||
|
Release: 5%{?dist}
|
||||||
|
License: GPLv2+
|
||||||
|
URL: https://github.com/latex2html/latex2html/releases
|
||||||
|
# main latex2html source
|
||||||
|
Source0: https://github.com/latex2html/latex2html/archive/v%{version}.tar.gz
|
||||||
|
Source1: cfgcache.pm
|
||||||
|
Source2: %{name}-manpages.tar.gz
|
||||||
|
# support for Japanese
|
||||||
|
# http://takeno.iee.niit.ac.jp/~shige/TeX/latex2html/
|
||||||
|
Source3: http://takeno.iee.niit.ac.jp/~shige/TeX/latex2html/data2/l2h-2020-jp20200515.tar.gz
|
||||||
|
Patch1: latex2html-2018.2-teTeX-l2h-config.patch
|
||||||
|
Patch4: latex2html-2002-2-1-SHLIB.patch
|
||||||
|
Requires: tex(latex), tex(dvips), tex(url.sty), tex(preview.sty), netpbm-progs
|
||||||
|
BuildRequires: perl-interpreter >= 5.003, perl-generators, ghostscript >= 4.03, netpbm-progs >= 9.21, tex(latex)
|
||||||
|
BuildRequires: perl(Carp), perl(Config), perl(Cwd), perl(DB), perl(Exporter),
|
||||||
|
BuildRequires: perl(File::Copy), perl(FindBin), perl(IO::File), perl(Sys::Hostname)
|
||||||
|
BuildRequires: perl(lib), perl(strict), perl(vars)
|
||||||
|
BuildRequires: make
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
LATEX2HTML is a converter written in Perl that converts LATEX
|
||||||
|
documents to HTML. This way e.g. scientific papers - primarily typeset
|
||||||
|
for printing - can be put on the Web for online viewing.
|
||||||
|
|
||||||
|
LATEX2HTML does also a good job in rapid web site deployment. These
|
||||||
|
pages are generated from a single LATEX source.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{version} -c -a 0
|
||||||
|
|
||||||
|
pushd %{name}-%{version}
|
||||||
|
# Patch from Oliver Paukstadt <oliver.paukstadt@millenux.com>
|
||||||
|
%patch1 -p2 -b .config
|
||||||
|
|
||||||
|
# fix SHLIBDIR
|
||||||
|
%patch4 -p1 -b .shlib
|
||||||
|
|
||||||
|
# remove all platforms we don't need
|
||||||
|
for i in Dos Mac OS2 Win32; do
|
||||||
|
rm -f L2hos/${i}.pm
|
||||||
|
done
|
||||||
|
rm -rf cweb2html
|
||||||
|
rm -f readme.hthtml
|
||||||
|
popd
|
||||||
|
|
||||||
|
%if %{enable_japanese}
|
||||||
|
cp -a %{name}-%{version} %{name}-%{version}JA
|
||||||
|
pushd %{name}-%{version}JA
|
||||||
|
tar fxz %{SOURCE3}
|
||||||
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%build
|
||||||
|
pushd %{name}-%{version}
|
||||||
|
cp %{SOURCE1} cfgcache.pm
|
||||||
|
tar fxz %{SOURCE2}
|
||||||
|
|
||||||
|
./configure --program-prefix=%{?_program_prefix} \
|
||||||
|
--prefix=%{_prefix} \
|
||||||
|
--exec-prefix=%{_exec_prefix} \
|
||||||
|
--bindir=%{_bindir} \
|
||||||
|
--sbindir=%{_sbindir} \
|
||||||
|
--sysconfdir=%{_sysconfdir} \
|
||||||
|
--datadir=%{_datadir} \
|
||||||
|
--includedir=%{_includedir} \
|
||||||
|
--libdir=%{_datadir}/latex2html \
|
||||||
|
--libexecdir=%{_libexecdir} \
|
||||||
|
--localstatedir=%{_localstatedir} \
|
||||||
|
--sharedstatedir=%{_sharedstatedir} \
|
||||||
|
--mandir=%{_mandir} \
|
||||||
|
--infodir=%{_infodir} \
|
||||||
|
--shlibdir=%{_datadir}/latex2html \
|
||||||
|
--with-texpath=%{_datadir}/texmf/tex/latex/html
|
||||||
|
|
||||||
|
perl -pi -e "s,/usr/(share/)?lib,%{_datadir}," cfgcache.pm
|
||||||
|
make
|
||||||
|
popd
|
||||||
|
|
||||||
|
%if %{enable_japanese}
|
||||||
|
pushd %{name}-%{version}JA
|
||||||
|
sed s/latex2html/jlatex2html/g < %{SOURCE1} > cfgcache.pm
|
||||||
|
perl -pi -e "s,/usr/bin/dvips,/usr/bin/pdvips," cfgcache.pm
|
||||||
|
perl -pi -e "s,/usr/bin/latex,/usr/bin/platex," cfgcache.pm
|
||||||
|
|
||||||
|
./configure --program-prefix=%{?_program_prefix} \
|
||||||
|
--prefix=%{_prefix} \
|
||||||
|
--exec-prefix=%{_exec_prefix} \
|
||||||
|
--bindir=%{_bindir} \
|
||||||
|
--sbindir=%{_sbindir} \
|
||||||
|
--sysconfdir=%{_sysconfdir} \
|
||||||
|
--datadir=%{_datadir} \
|
||||||
|
--includedir=%{_includedir} \
|
||||||
|
--libdir=%{_datadir}/jlatex2html \
|
||||||
|
--libexecdir=%{_libexecdir} \
|
||||||
|
--localstatedir=%{_localstatedir} \
|
||||||
|
--sharedstatedir=%{_sharedstatedir} \
|
||||||
|
--mandir=%{_mandir} \
|
||||||
|
--infodir=%{_infodir} \
|
||||||
|
--shlibdir=%{_datadir}/jlatex2html \
|
||||||
|
--with-texpath=%{_datadir}/texmf/tex/latex/html
|
||||||
|
|
||||||
|
perl -pi -e "s,/usr/(share/)?lib,%{_datadir},;
|
||||||
|
s,%{_datadir}/latex2html,%{_datadir}/jlatex2html," cfgcache.pm
|
||||||
|
make
|
||||||
|
perl -pi -e "s,\\\$\{dd}pstoimg,\\\$\{dd}jpstoimg, ;
|
||||||
|
s,\\\$\{dd}texexpand,\\\$\{dd}jtexexpand," l2hconf.pm
|
||||||
|
|
||||||
|
for i in latex2html pstoimg texexpand ; do
|
||||||
|
mv ${i} j${i}
|
||||||
|
done
|
||||||
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%install
|
||||||
|
pushd %{name}-%{version}
|
||||||
|
sed -i "s,%{_prefix},%{buildroot}%{_prefix}," cfgcache.pm
|
||||||
|
sed -i "s,%{buildroot},," l2hconf.pm
|
||||||
|
|
||||||
|
perl -pi -e "s,/.*\\\$\{dd}texexpand,%{_bindir}/texexpand,;
|
||||||
|
s,/.*\\\$\{dd}pstoimg,%{_bindir}/pstoimg,;
|
||||||
|
s,/.*\\\$\{dd}*icons,\\\$\{LATEX2HTMLDIR}/icons,;
|
||||||
|
s,/.*\\\$\{dd}rgb.txt,\\\$\{LATEX2HTMLDIR}/styles/rgb.txt,;
|
||||||
|
s,/.*\\\$\{dd}styles\\\$\{dd}crayola.txt,\\\$\{LATEX2HTMLDIR}/styles/crayola.txt," latex2html
|
||||||
|
|
||||||
|
make install
|
||||||
|
rm -rf %{buildroot}%{_datadir}/latex2html/versions/table.pl.orig \
|
||||||
|
%{buildroot}%{_datadir}/latex2html/docs/ \
|
||||||
|
%{buildroot}%{_datadir}/latex2html/example/
|
||||||
|
sed -i "s,/usr/local/bin/perl,/usr/bin/perl," %{buildroot}%{_datadir}/latex2html/makeseg/makeseg
|
||||||
|
sed -i "s,/usr/local/bin/perl,/usr/bin/perl," %{buildroot}%{_datadir}/latex2html/makemap
|
||||||
|
sed -i "s,###\!.*,," %{buildroot}%{_datadir}/latex2html/makemap
|
||||||
|
sed -i "s,###\!.*,," %{buildroot}%{_datadir}/latex2html/makeseg/makeseg
|
||||||
|
sed -i "s,%{buildroot},," %{buildroot}%{_bindir}/pstoimg
|
||||||
|
sed -i "s,%{buildroot},," %{buildroot}%{_bindir}/texexpand
|
||||||
|
sed -i "s,%{buildroot},," cfgcache.pm
|
||||||
|
sed -i "s,$cfg{'srcdir'}.*,$cfg{'srcdir'} = q'%{name}-%{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
|
||||||
|
chmod +x %{buildroot}%{_datadir}/latex2html/makeseg/makeseg %{buildroot}%{_datadir}/latex2html/makemap
|
||||||
|
|
||||||
|
# install man pages
|
||||||
|
mkdir -p %{buildroot}%{_mandir}/man1
|
||||||
|
install -m0644 *.1 %{buildroot}%{_mandir}/man1
|
||||||
|
popd
|
||||||
|
|
||||||
|
# install japanese version
|
||||||
|
%if %{enable_japanese}
|
||||||
|
pushd %{name}-%{version}JA
|
||||||
|
sed -i "s,%{_prefix},%{buildroot}%{_prefix}," cfgcache.pm
|
||||||
|
perl -pi -e "s,latex2html pstoimg texexpand,jlatex2html jpstoimg jtexexpand," config/install.pl
|
||||||
|
perl -pi -e "s,/.*\\\$\{dd}texexpand,%{_bindir}/jtexexpand,;
|
||||||
|
s,/.*\\\$\{dd}pstoimg,%{_bindir}/jpstoimg,;
|
||||||
|
s,/.*\\\$\{dd}icons,\\\$\{LATEX2HTMLDIR}/icons,;
|
||||||
|
s,/.*\\\$\{dd}styles\\\$\{dd}rgb.txt,\\\$\{LATEX2HTMLDIR}/styles/rgb.txt,;
|
||||||
|
s,/.*\\\$\{dd}styles\\\$\{dd}crayola.txt,\\\$\{LATEX2HTMLDIR}/styles/crayola.txt," jlatex2html
|
||||||
|
sed -i "s,%{buildroot},," l2hconf.pm
|
||||||
|
|
||||||
|
make install
|
||||||
|
rm -rf %{buildroot}%{_datadir}/jlatex2html/versions/table.pl.orig \
|
||||||
|
%{buildroot}%{_datadir}/jlatex2html/docs/ \
|
||||||
|
%{buildroot}%{_datadir}/jlatex2html/example/
|
||||||
|
sed -i "s,/usr/local/bin/perl,/usr/bin/perl," %{buildroot}%{_datadir}/jlatex2html/makeseg/makeseg
|
||||||
|
sed -i "s,/usr/local/bin/perl,/usr/bin/perl," %{buildroot}%{_datadir}/jlatex2html/makemap
|
||||||
|
sed -i "s,###\!.*,," %{buildroot}%{_datadir}/jlatex2html/makemap
|
||||||
|
sed -i "s,###\!.*,," %{buildroot}%{_datadir}/jlatex2html/makeseg/makeseg
|
||||||
|
sed -i "s,%{buildroot},," %{buildroot}%{_bindir}/jpstoimg
|
||||||
|
sed -i "s,%{buildroot},," %{buildroot}%{_bindir}/jtexexpand
|
||||||
|
sed -i "s,%{buildroot},," cfgcache.pm
|
||||||
|
sed -i "s,$cfg{'srcdir'}.*,$cfg{'srcdir'} = q'%{name}-%{version}JA';," 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}/jlatex2html
|
||||||
|
chmod +x %{buildroot}%{_datadir}/jlatex2html/makeseg/makeseg %{buildroot}%{_datadir}/jlatex2html/makemap
|
||||||
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# do not clash with texlive, prefer url.sty from texlive instead
|
||||||
|
rm -f %{buildroot}%{_datadir}/texmf/tex/latex/html/url.sty
|
||||||
|
|
||||||
|
%post
|
||||||
|
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null || :
|
||||||
|
|
||||||
|
%postun
|
||||||
|
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null || :
|
||||||
|
|
||||||
|
%check
|
||||||
|
make -C %{name}-%{version} check
|
||||||
|
%if %{enable_japanese}
|
||||||
|
make -C %{name}-%{version}JA check
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc latex2html-%{version}/{LICENSE,LICENSE.orig,README.md,FAQ,BUGS,docs,example}
|
||||||
|
%{_bindir}/latex2html
|
||||||
|
%{_bindir}/pstoimg
|
||||||
|
%{_bindir}/texexpand
|
||||||
|
%dir %{_datadir}/latex2html
|
||||||
|
%{_datadir}/latex2html/*
|
||||||
|
%dir %{_datadir}/texmf/tex/latex/html
|
||||||
|
%{_datadir}/texmf/tex/latex/html/*
|
||||||
|
|
||||||
|
%if %{enable_japanese}
|
||||||
|
%{_bindir}/jlatex2html
|
||||||
|
%{_bindir}/jpstoimg
|
||||||
|
%{_bindir}/jtexexpand
|
||||||
|
%dir %{_datadir}/jlatex2html
|
||||||
|
%{_datadir}/jlatex2html/*
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%{_mandir}/man1/latex2html.*
|
||||||
|
%{_mandir}/man1/texexpand.*
|
||||||
|
%{_mandir}/man1/pstoimg.*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2020.2-5
|
||||||
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2020.2-4
|
||||||
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2020.2-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2020.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 17 2020 Jindrich Novy <jnovy@redhat.com> - 2020.2-1
|
||||||
|
- update to 2020.2 and l2h-2020
|
||||||
|
|
||||||
|
* Tue Mar 24 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2019.2-5
|
||||||
|
- Add perl dependencies needed for build
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2019.2-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Sep 16 2019 Than Ngo <than@redhat.com> - 2019.2-3
|
||||||
|
- add Requirement on tex(preview.sty)
|
||||||
|
|
||||||
|
* Wed Sep 11 2019 Than Ngo <than@redhat.com> - 2019.2-2
|
||||||
|
- update URL
|
||||||
|
|
||||||
|
* Wed Sep 11 2019 Than Ngo <than@redhat.com> - 2019.2-1
|
||||||
|
- update to v2019.2
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2018.3-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2018.3-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Aug 13 2018 Ben Cotton <bcotton@fedoraproject.org> - 2018.3-1
|
||||||
|
- Update to latest upstream version
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2018.2-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 06 2018 Ben Cotton <bcotton@fedoraproject.org> - 2018.2-3
|
||||||
|
- Add patch to fix bz#1582267 (upstream issue 48) until next upstream release
|
||||||
|
|
||||||
|
* Fri Jun 22 2018 Than Ngo <than@redhat.com> - 2018.2-2
|
||||||
|
- update l2h-2017-jp20180308
|
||||||
|
|
||||||
|
* Fri Jun 22 2018 Than Ngo <than@redhat.com> - 2018.2-1
|
||||||
|
- update to 2018.2
|
||||||
|
- add check
|
||||||
|
|
||||||
|
* Thu Jun 14 2018 Than Ngo <than@redhat.com> - 2017.2-6
|
||||||
|
- fixed bz#1591144, buildroot issue
|
||||||
|
|
||||||
|
* Fri May 11 2018 Than Ngo <than@redhat.com> - 2017.2-5
|
||||||
|
- fixed FTBFS
|
||||||
|
|
||||||
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2017.2-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2017.2-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 12 2017 Ben Cotton <bcotton@fedoraproject.org> 2017.2-2
|
||||||
|
- Update Perl commands in spec file to use valid syntax
|
||||||
|
|
||||||
|
* Mon Jun 26 2017 Tom Callaway <spot@fedoraproject.org> 2017.2-1
|
||||||
|
- update to 2017.2
|
||||||
|
|
||||||
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2012-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2012-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2012-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2012-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2012-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 2012-3
|
||||||
|
- Perl 5.18 rebuild
|
||||||
|
|
||||||
|
* Tue Jan 29 2013 Jindrich Novy <jnovy@redhat.com> 2012-2
|
||||||
|
- prefer url.sty from texlive (#904888)
|
||||||
|
|
||||||
|
* Wed Nov 21 2012 Jindrich Novy <jnovy@redhat.com> 2012-1
|
||||||
|
- update to latex2html 2012
|
||||||
|
- update URL
|
||||||
|
|
||||||
|
* Thu Nov 15 2012 Jindrich Novy <jnovy@redhat.com> 2008-8
|
||||||
|
- BR: netpbm-progs to fix build
|
||||||
|
|
||||||
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2008-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2008-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2008-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Dec 11 2009 Jindrich Novy <jnovy@redhat.com> 2008-4
|
||||||
|
- require netpbm-progs
|
||||||
|
- review fixes (#225980):
|
||||||
|
- include documentation
|
||||||
|
- set executable bit for makeseg and makemap scripts
|
||||||
|
- white-space spec correction
|
||||||
|
- move docs and example directory to %%doc
|
||||||
|
- nuke duplicated stuff
|
||||||
|
|
||||||
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2008-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2008-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 02 2009 Jindrich Novy <jnovy@redhat.com> 2008
|
||||||
|
- update to latex2html-2008
|
||||||
|
- license changed to GPL
|
||||||
|
- update japanese support to l2h-2K8-jp20081220
|
||||||
|
- update cfgcache.pm
|
||||||
|
- fix BR
|
||||||
|
|
||||||
|
* Mon Jan 07 2008 Jindrich Novy <jnovy@redhat.com> 2002.2.1-8
|
||||||
|
- fix post/postun scriptlets
|
||||||
|
|
||||||
|
* Wed Nov 29 2006 Jindrich Novy <jnovy@redhat.com> 2002.2.1-7
|
||||||
|
- add dist tag, fix BuildRoot
|
||||||
|
- fix typo in description
|
||||||
|
|
||||||
|
* Tue Jun 27 2006 Jindrich Novy <jnovy@redhat.com> 2002.2.1-6
|
||||||
|
- remove .pdvips patch
|
||||||
|
- man pages are now stored in tar.gz
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
|
* Sun Jun 25 2006 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp>
|
||||||
|
- fix BuildRequires to be rebuilt with mock (#191762)
|
||||||
|
- fix spec file scripts.
|
||||||
|
- update source files (use tar.gz with the date 20041025 and 2.1b1.6 Japanese patch)
|
||||||
|
|
||||||
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
|
* Thu Nov 24 2005 Jindrich Novy <jnovy@redhat.com> 2002.2.1-5
|
||||||
|
- fix path to rgb.txt, thanks to Ville Skyttä (#174089)
|
||||||
|
|
||||||
|
* Tue Jun 21 2005 Jindrich Novy <jnovy@redhat.com> 2002.2.1-4
|
||||||
|
- remove '\n' causing that pstoimg generates gray images
|
||||||
|
(#161186, #127010), solution from Julius Smith
|
||||||
|
|
||||||
|
* 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)
|
||||||
|
|
||||||
|
* Tue Mar 15 2005 Jindrich Novy <jnovy@redhat.com> 2002.2.1-1
|
||||||
|
- create backups for patches
|
||||||
|
- update Source1
|
||||||
|
- BuildArchitectures -> BuildArch
|
||||||
|
- remove direct RPM_BUILD_ROOT links from l2hconf.pm
|
||||||
|
- fix bad interpreter name path in pstoimg, texexpand
|
||||||
|
- define --with-texpath explicitely
|
||||||
|
- remove Dos.pm, Mac.pm, OS2.pm, Win32.pm
|
||||||
|
- don't require the font directory to be ended with PATH/fonts
|
||||||
|
|
||||||
|
* Wed Dec 15 2004 MATSUURA Takanori <t-matsuu@sx-lx3.protein.net>
|
||||||
|
- Initial build.
|
Loading…
Reference in New Issue
Block a user