Compare commits

...
Sign in to create a new pull request.

43 commits

Author SHA1 Message Date
Fedora Release Engineering
a37c9283be Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-16 05:29:13 +00:00
Than Ngo
1007ac0539 Update to 2026 2026-06-09 20:24:48 +02:00
Fedora Release Engineering
4cc47e1b6c Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-16 18:20:07 +00:00
Fedora Release Engineering
09c08a97f6 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 19:09:45 +00:00
Fedora Release Engineering
861086fd0f Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 10:12:54 +00:00
Than Ngo
df45734cc6 Remove .orig files 2024-11-12 10:47:04 +01:00
Fedora Release Engineering
ffce1010c2 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 13:00:01 +00:00
Fedora Release Engineering
320802a5db Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 01:13:53 +00:00
Fedora Release Engineering
6592c6c608 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 03:16:00 +00:00
Dan Gildea
09a34c5ea9 enable svg
- add svg to cfgcache.pm
- require poppler-utils to get pdftocairo
- require preview.sty during build, so seen by config.pl script
2023-09-22 13:21:37 -04:00
Yaakov Selkowitz
34a4440a1f BuildRequires: perl(Unicode::Collate::Locale)
This is a new build dependency in 2023.2.
2023-07-20 16:49:11 +00:00
Fedora Release Engineering
6267450ea0 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 09:56:20 +00:00
Than Ngo
26ddb30519 update to 2023.2 2023-07-18 19:16:45 +02:00
d37b5e81ab Use SPDX-compliant License tag 2023-01-30 09:09:51 -05:00
Fedora Release Engineering
a40c36611d Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 15:30:14 +00:00
Fedora Release Engineering
048faee480 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 16:58:54 +00:00
Fedora Release Engineering
06878a1829 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 15:27:47 +00:00
Fedora Release Engineering
160128eeaa - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 10:40:41 +00:00
Fedora Release Engineering
26b194868e - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 16:23:13 +00:00
Tom Stellard
aea91b0be3 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-05 01:17:26 +00:00
Fedora Release Engineering
11652456a3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 03:57:22 +00:00
Jindrich Novy
e136524e64 latex2html-2020.2-1.fc33
- update to 2020.2

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
2020-07-17 09:57:05 +02:00
Jitka Plesnikova
64e8c54d8a Add perl dependencies needed for build 2020-03-24 16:03:36 +01:00
Fedora Release Engineering
720b0e6d02 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 08:14:08 +00:00
Than Ngo
cf87520cf1 add Requirement on tex(preview.sty) 2019-09-16 15:24:08 +02:00
Than Ngo
2902959de9 drop latex2html-2K.1beta-tabularx.patch 2019-09-11 16:07:18 +02:00
Than Ngo
74b61f4893 update URL and source 2019-09-11 16:03:13 +02:00
Than Ngo
732f64bcf8 update to v2019.2 2019-09-11 15:51:26 +02:00
Fedora Release Engineering
4ce2bf30e1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 12:28:19 +00:00
Fedora Release Engineering
96b0315c02 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 06:21:38 +00:00
866822c78d Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:10 +01:00
8086bbad7a Correct the Japanese sources 2018-08-13 09:17:11 -04:00
a9b4c1c229 Update to latest upstream release 2018-08-13 09:09:55 -04:00
Fedora Release Engineering
230b17fab0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 07:35:16 +00:00
87ef112657 Add patches to fix Perl compatibility issues reported in BZ#1582267 2018-07-06 11:06:21 -04:00
Than Ngo
055703f9bc update l2h-2017-jp20180308 2018-06-22 18:11:21 +02:00
Than Ngo
b304f75796 - update to 2018.2
- add check
2018-06-22 17:08:19 +02:00
Than Ngo
4d0e086c84 fixed bz#1591144, buildroot issue 2018-06-14 16:01:34 +02:00
Than Ngo
a79b64e492 fixed FTBFS 2018-05-15 11:50:47 +02:00
Fedora Release Engineering
39d636c596 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 20:51:27 +00:00
Fedora Release Engineering
0d038a9ffc - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 18:16:21 +00:00
f5689d9027 Update the spec file so that it will build in F27 2017-07-12 17:51:56 -04:00
Petr Písař
4eb6c98bf7 perl dependency renamed to perl-interpreter <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules> 2017-07-12 15:13:48 +02:00
8 changed files with 201 additions and 127 deletions

6
.gitignore vendored
View file

@ -1,5 +1 @@
/l2h-2K8-jp20081220.tar.gz
/latex2html-manpages.tar.gz
/latex2html-2012.tgz
/latex2html-2017.2.tar.gz
/l2h-2016-jp20160826.tar.gz
/*.tar.gz

View file

@ -28,7 +28,7 @@ $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{'IMAGE_TYPES'} = q'svg png gif';
$cfg{'INITEX'} = q'/usr/bin/initex';
$cfg{'JPEGTOPNM'} = q'/usr/bin/jpegtopnm';
$cfg{'KPSEWHICH'} = q'/usr/bin/kpsewhich';

View file

@ -1,11 +0,0 @@
--- latex2html-2002-2-1/config/config.pl.gsfont 2002-09-28 07:15:01.000000000 +0200
+++ latex2html-2002-2-1/config/config.pl 2005-03-16 10:50:17.392513136 +0100
@@ -1176,7 +1176,7 @@
push(@right_paths,L2hos->path2os($testpath));
$gs_lib = 1;
}
- $testpath .= "${dd}fonts" unless($testpath =~ /\Q$dd\Efonts$/i);
+ $testpath .= "${dd}fonts" unless($testpath =~ /\Q$dd\Efonts/i);
if(!$gs_fonts && -d $testpath) {
push(@right_paths,L2hos->path2os($testpath));
$gs_fonts = 1;

View 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;

View file

@ -1,11 +0,0 @@
--- teTeX-1.0/latex2html-2K.1beta/config/config.pl.DB Wed Jan 16 13:08:34 2002
+++ teTeX-1.0/latex2html-2K.1beta/config/config.pl Wed Jan 16 13:09:14 2002
@@ -587,7 +587,7 @@
&checking('if perl supports some dbm');
-use DB_File;
+use DB;
my %array;
unless(eval {dbmopen(%array,'DBMtest',0755)}) {
my $err = $@ || 'dbmopen failed';

View file

@ -1,26 +0,0 @@
--- latex2html-2K.1beta/versions/table.pl.tabularx Fri Nov 14 11:10:52 1997
+++ latex2html-2K.1beta/versions/table.pl Wed Jan 24 15:11:01 2001
@@ -121,6 +121,10 @@
$htmlcolspec .= "<COL ALIGN=RIGHT>";
push(@colspec,"$cellopen=RIGHT NOWRAP>$content_mark$cellclose");
$cols++;
+ } elsif ( $char eq "X" ) {
+ $htmlcolspec .= "<COL ALIGN=JUSTIFY>";
+ push(@colspec,"$cellopen=LEFT>$content_mark$cellclose");
+ $cols++;
} elsif ( $char eq "p" ) {
$colspec =~ s/$next_pair_rx//;
($pts,$len) = &convert_length($2);
@@ -170,7 +174,11 @@
local($_) = @_;
s/$next_pair_rx//;
local($pts,$len) = &convert_length($2);
- &do_env_tabular($_," width=$pts");
+ if ($pts != "") {
+ &do_env_tabular($_," width=$pts");
+ } else {
+ &do_env_tabular($_);
+ }
}
sub do_env_tabular {

View file

@ -1,25 +1,31 @@
%if 0%{?fedora}
%define enable_japanese 1
%else
%define enable_japanese 0
%endif
Summary: Converts LaTeX documents to HTML
Name: latex2html
Version: 2017.2
Release: 1%{?dist}
License: GPLv2+
Group: Applications/Publishing
URL: http://www.latex2html.org/
Version: 2026
Release: 2%{?dist}
License: GPL-2.0-or-later
URL: https://github.com/latex2html/latex2html/releases
# main latex2html source
Source0: http://mirrors.ctan.org/support/latex2html/%{name}-%{version}.tar.gz
Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: cfgcache.pm
Source2: %{name}-manpages.tar.gz
# support for Japanese
Source3: http://takeno.iee.niit.ac.jp/~shige/TeX/latex2html/data2/l2h-2016-jp20160826.tar.gz
Patch0: latex2html-2K.1beta-tabularx.patch
Patch1: teTeX-l2h-config.patch
Patch3: latex2html-2K.1beta-DB.patch
Patch4: latex2html-2002-2-1-SHLIB.patch
Patch5: latex2html-2002-2-1-gsfont.patch
Requires: tex(latex), tex(dvips), tex(url.sty), netpbm-progs
BuildRequires: perl >= 5.003, perl-generators, ghostscript >= 4.03, netpbm-progs >= 9.21, tex(latex)
# http://takeno.iee.niit.ac.jp/~shige/TeX/latex2html/
Source3: http://takeno.iee.niit.ac.jp/~shige/TeX/latex2html/data2/l2h-2026-jp3.2b1.43.tar.gz
Patch1: latex2html-2018.2-teTeX-l2h-config.patch
Patch2: latex2html-2002-2-1-SHLIB.patch
Requires: tex(latex), tex(dvips), tex(url.sty), tex(preview.sty), netpbm-progs, poppler-utils
BuildRequires: tex(latex), tex(dvips), tex(url.sty), tex(preview.sty), netpbm-progs, poppler-utils
BuildRequires: perl-interpreter >= 5.003, perl-generators, ghostscript >= 4.03
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(Unicode::Collate::Locale), perl(lib), perl(strict), perl(vars)
BuildRequires: make
BuildArch: noarch
%description
@ -31,23 +37,14 @@ 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
%setup -q -c -a 0
pushd %{name}-%{version}
# patch latex2html to support tabularx environments better
%patch0 -p1 -b .tabularx
# Patch from Oliver Paukstadt <oliver.paukstadt@millenux.com>
%patch1 -p2 -b .config
# Fix latex2html not to use DB_File
%patch3 -p2 -b .db_file
%patch -P1 -p2 -b .config
# fix SHLIBDIR
%patch4 -p1 -b .shlib
# don't require the font directory to be ended with PATH/fonts
%patch5 -p1 -b .gsfont
%patch -P2 -p1 -b .shlib
# remove all platforms we don't need
for i in Dos Mac OS2 Win32; do
@ -86,15 +83,15 @@ tar fxz %{SOURCE2}
--shlibdir=%{_datadir}/latex2html \
--with-texpath=%{_datadir}/texmf/tex/latex/html
perl -pi -e"s,/usr/(share/)?lib,%{_datadir}," cfgcache.pm
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
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} \
@ -113,11 +110,11 @@ perl -pi -e"s,/usr/bin/latex,/usr/bin/platex," cfgcache.pm
--shlibdir=%{_datadir}/jlatex2html \
--with-texpath=%{_datadir}/texmf/tex/latex/html
perl -pi -e"s,/usr/(share/)?lib,%{_datadir},;
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
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}
@ -127,23 +124,28 @@ popd
%install
pushd %{name}-%{version}
perl -pi -e"s,%{_prefix},%{buildroot}%{_prefix}," cfgcache.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
perl -pi -e"s,%{buildroot},," l2hconf.pm
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 -f %{buildroot}%{_datadir}/latex2html/versions/table.pl.orig
rm -rf %{buildroot}%{_datadir}/latex2html/docs/
rm -rf %{buildroot}%{_datadir}/latex2html/example/
perl -pi -e"s,%{buildroot},," %{buildroot}%{_datadir}/latex2html/cfgcache.pm
perl -pi -e"s,%{buildroot},," %{buildroot}%{_bindir}/pstoimg
perl -pi -e"s,%{buildroot},," %{buildroot}%{_bindir}/texexpand
perl -pi -e"s,%{buildroot},," cfgcache.pm
perl -pi -e"s,$cfg{'GS_LIB'} = q'';,$cfg{'GS_LIB'} = q'%{_datadir}/ghostscript/`ghostscript --version`';," cfgcache.pm
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
@ -152,38 +154,36 @@ mkdir -p %{buildroot}%{_mandir}/man1
install -m0644 *.1 %{buildroot}%{_mandir}/man1
popd
# install japanese version
%if %{enable_japanese}
pushd %{name}-%{version}JA
perl -pi -e"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
perl -pi -e"s,%{buildroot},," l2hconf.pm
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 -f %{buildroot}%{_datadir}/jlatex2html/versions/table.pl.orig
rm -rf %{buildroot}%{_datadir}/jlatex2html/docs/
rm -rf %{buildroot}%{_datadir}/jlatex2html/example/
perl -pi -e"s,%{buildroot},," %{buildroot}%{_datadir}/jlatex2html/cfgcache.pm
perl -pi -e"s,%{buildroot},," %{buildroot}%{_bindir}/jpstoimg
perl -pi -e"s,%{buildroot},," %{buildroot}%{_bindir}/jtexexpand
perl -pi -e"s,%{buildroot},," cfgcache.pm
perl -pi -e"s,$cfg{'GS_LIB'} = q'';,$cfg{'GS_LIB'} = q'%{_datadir}/ghostscript/`ghostscript --version`';," cfgcache.pm
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
for f in cweb2html/cweb2html makeseg/makeseg makemap ; do
perl -pi -e "s,/usr/local/bin/perl,/usr/bin/perl," %{buildroot}%{_datadir}/latex2html/$f
%if %{enable_japanese}
perl -pi -e "s,/usr/local/bin/perl,/usr/bin/perl," %{buildroot}%{_datadir}/jlatex2html/$f
%endif
done
# do not clash with texlive, prefer url.sty from texlive instead
rm -f %{buildroot}%{_datadir}/texmf/tex/latex/html/url.sty
@ -193,8 +193,14 @@ rm -f %{buildroot}%{_datadir}/texmf/tex/latex/html/url.sty
%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}
%doc latex2html-%{version}/{LICENSE,README.md,FAQ,BUGS,docs,example}
%{_bindir}/latex2html
%{_bindir}/pstoimg
%{_bindir}/texexpand
@ -216,6 +222,115 @@ rm -f %{buildroot}%{_datadir}/texmf/tex/latex/html/url.sty
%{_mandir}/man1/pstoimg.*
%changelog
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2026-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Tue Jun 09 2026 Than Ngo <than@redhat.com> - 2026-1
- Update to 2026
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2023.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2023.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2023.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Tue Nov 12 2024 Than Ngo <than@redhat.com> - 2023.2-6
- Remove .orig files
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2023.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2023.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2023.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2023.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jul 18 2023 Than Ngo <than@redhat.com> - 2023.2-1
- update to 2023.2
* Mon Jan 30 2023 Ben Cotton <bcotton@fedoraproject.org> - 2020.2-8
- Update License field to match SPDX formatting
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2020.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2020.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2020.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2020.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* 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

View file

@ -1,3 +1,3 @@
SHA512 (latex2html-2017.2.tar.gz) = 0e1ab1b2005dc71988b1500884d7a13bfbdce73a62ef7f6cc6e83e29d776c98eb09cff3f8d0c162493586094c9ca6f07d47e98d2137f223f27044d03e9bb3473
SHA512 (l2h-2016-jp20160826.tar.gz) = 29f719a8db7dababafeadd20017f0491583d3d1be65e7ebd9105d772f59134833b2e4f7dbcdfde75f7122a801653ccdc637a9851c335fc5628c098f3d8fc2400
SHA512 (latex2html-manpages.tar.gz) = 113fdc27c9ab5c2d7ef76c86eb5b55bccf30077e987fd1645ae9c8f96d037372d9446b13d73b2ad3cf7655787366ac7ee8899db8682e354fe3a1acec4e92b829
SHA512 (l2h-2026-jp3.2b1.43.tar.gz) = 4b7c9424d462329173a883fff7ef330222440be132ec9190c9c06798e2d6ef1ec7f14bdb375db0742181e1f661f153e7fa002d786c4b5632d0f28a598543f713
SHA512 (latex2html-2026.tar.gz) = e607bc637fd8c618db30d967c298a5f5d2e58846a7f32705ef8d58efa87bdea3f012d9852e6a0305f6c5698a9ebe427e71bf0a3b39584923120102cc57ac272a