diff --git a/latex2html-2002-2-1-gsfont.patch b/latex2html-2002-2-1-gsfont.patch deleted file mode 100644 index d098505..0000000 --- a/latex2html-2002-2-1-gsfont.patch +++ /dev/null @@ -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; diff --git a/latex2html-2023.2.tar.gz b/latex2html-2023.2.tar.gz new file mode 100644 index 0000000..60c9afc Binary files /dev/null and b/latex2html-2023.2.tar.gz differ diff --git a/latex2html-2K.1beta-tabularx.patch b/latex2html-2K.1beta-tabularx.patch deleted file mode 100644 index 90ed3be..0000000 --- a/latex2html-2K.1beta-tabularx.patch +++ /dev/null @@ -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 .= ""; - push(@colspec,"$cellopen=RIGHT NOWRAP>$content_mark$cellclose"); - $cols++; -+ } elsif ( $char eq "X" ) { -+ $htmlcolspec .= ""; -+ 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 { diff --git a/latex2html.spec b/latex2html.spec index 4b530c9..a787736 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -1,17 +1,14 @@ Name: latex2html -Version: 2018.3 -Release: 3 +Version: 2023.2 +Release: 1 Summary: A utility that converts LaTeX documents to web pages in HTML License: GPLv2+ URL: http://www.latex2html.org/ -Source0: https://github.com/latex2html/latex2html/archive/v%{version}.tar.gz +Source0: https://github.com/latex2html/latex2html/archive/v%{version}/%{name}-%{version}.tar.gz Source1: latex2html.1 Source2: pstoimg.1 Source3: texexpand.1 -Patch0: latex2html-2K.1beta-tabularx.patch -Patch1: latex2html-2002-2-1-gsfont.patch - BuildRequires: perl-interpreter perl-generators ghostscript netpbm-progs tex(latex) Requires: tex(latex) tex(dvips) tex(url.sty) netpbm-progs BuildArch: noarch @@ -170,5 +167,8 @@ make check %{_mandir}/man1/pstoimg.1.gz %changelog +* Fri Oct 13 2023 yaoxin - 2023.2-1 +- Upgrade to 2023.2 + * Thu Feb 20 2020 lihao - 2018.3-3 - Package init diff --git a/v2018.3.tar.gz b/v2018.3.tar.gz deleted file mode 100644 index 621221e..0000000 Binary files a/v2018.3.tar.gz and /dev/null differ