From e9c6a147e4b31df837a83539236649d7c7a5a2cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 18 Jul 2013 00:01:52 +0200 Subject: [PATCH 01/51] Perl 5.18 rebuild --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index c79419b..b597d94 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2012 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Group: Applications/Publishing URL: http://www.latex2html.org/ @@ -230,6 +230,9 @@ rm -rf %{buildroot} %{_mandir}/man1/pstoimg.* %changelog +* Wed Jul 17 2013 Petr Pisar - 2012-3 +- Perl 5.18 rebuild + * Tue Jan 29 2013 Jindrich Novy 2012-2 - prefer url.sty from texlive (#904888) From 05255880f8faa5c7d2102205d34df1e58bb5b1bd Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 2 Aug 2013 23:14:01 -0500 Subject: [PATCH 02/51] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index b597d94..42bb39b 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2012 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ Group: Applications/Publishing URL: http://www.latex2html.org/ @@ -230,6 +230,9 @@ rm -rf %{buildroot} %{_mandir}/man1/pstoimg.* %changelog +* Sat Aug 03 2013 Fedora Release Engineering - 2012-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Wed Jul 17 2013 Petr Pisar - 2012-3 - Perl 5.18 rebuild From 02916592ded2c1718db7eb17327be702707bd5d2 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 6 Jun 2014 20:59:10 -0500 Subject: [PATCH 03/51] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index 42bb39b..b6df660 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2012 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ Group: Applications/Publishing URL: http://www.latex2html.org/ @@ -230,6 +230,9 @@ rm -rf %{buildroot} %{_mandir}/man1/pstoimg.* %changelog +* Sat Jun 07 2014 Fedora Release Engineering - 2012-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Sat Aug 03 2013 Fedora Release Engineering - 2012-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From 6cc86befb997277a9f9dfb53fff6400785803655 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 17 Jun 2015 13:56:50 +0000 Subject: [PATCH 04/51] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index b6df660..a87ae5c 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2012 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ Group: Applications/Publishing URL: http://www.latex2html.org/ @@ -230,6 +230,9 @@ rm -rf %{buildroot} %{_mandir}/man1/pstoimg.* %changelog +* Wed Jun 17 2015 Fedora Release Engineering - 2012-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Sat Jun 07 2014 Fedora Release Engineering - 2012-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From 6cbc26a1619d6cb01b3bdc3b91bbdee6ba2ac4b2 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 4 Feb 2016 02:40:08 +0000 Subject: [PATCH 05/51] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index a87ae5c..952b4ea 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2012 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv2+ Group: Applications/Publishing URL: http://www.latex2html.org/ @@ -230,6 +230,9 @@ rm -rf %{buildroot} %{_mandir}/man1/pstoimg.* %changelog +* Thu Feb 04 2016 Fedora Release Engineering - 2012-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Wed Jun 17 2015 Fedora Release Engineering - 2012-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From d418f99914c6e22cfd984cf6005e2fb68bb4f46e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 24 Jun 2016 10:31:42 +0200 Subject: [PATCH 06/51] Mandatory Perl build-requires added --- latex2html.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index 952b4ea..9046d00 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -20,7 +20,7 @@ Patch4: latex2html-2002-2-1-SHLIB.patch Patch5: latex2html-2002-2-1-gsfont.patch Patch6: latex2html-2002.2.1-grayimg.patch Requires: tex(latex), tex(dvips), tex(url.sty), netpbm-progs -BuildRequires: perl >= 5.003, ghostscript >= 4.03, netpbm-progs >= 9.21, tex(latex) +BuildRequires: perl >= 5.003, perl-generators, ghostscript >= 4.03, netpbm-progs >= 9.21, tex(latex) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch From e6f2ae05fd5c50d1aa9c85a8bfe55d114ee788e0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 18:08:45 +0000 Subject: [PATCH 07/51] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index 9046d00..00f629e 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2012 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2+ Group: Applications/Publishing URL: http://www.latex2html.org/ @@ -230,6 +230,9 @@ rm -rf %{buildroot} %{_mandir}/man1/pstoimg.* %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 2012-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Thu Feb 04 2016 Fedora Release Engineering - 2012-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From 6e1b9ad504d5aad4cecdd21c55754dbecbd97989 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Mon, 26 Jun 2017 14:04:30 -0400 Subject: [PATCH 08/51] 2017.2 --- .gitignore | 2 ++ latex2html-2002.2.1-grayimg.patch | 11 ----------- latex2html.spec | 29 +++++++++-------------------- sources | 6 +++--- 4 files changed, 14 insertions(+), 34 deletions(-) delete mode 100644 latex2html-2002.2.1-grayimg.patch diff --git a/.gitignore b/.gitignore index 5440736..9b88f0a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ /l2h-2K8-jp20081220.tar.gz /latex2html-manpages.tar.gz /latex2html-2012.tgz +/latex2html-2017.2.tar.gz +/l2h-2016-jp20160826.tar.gz diff --git a/latex2html-2002.2.1-grayimg.patch b/latex2html-2002.2.1-grayimg.patch deleted file mode 100644 index 329359d..0000000 --- a/latex2html-2002.2.1-grayimg.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- latex2html-2002-2-1/pstoimg.pin.grayimg 2005-05-04 11:20:46.000000000 +0200 -+++ latex2html-2002-2-1/pstoimg.pin 2005-06-21 14:54:30.899550448 +0200 -@@ -1021,7 +1021,7 @@ sub ps2pnm { - } - my $had_nonwhite; - if($opt{white}) { -- $had_nonwhite = ($ps =~ s/(\n\d+ \d+ bop gsave) \d*\.\d+ (TeXcolorgray clippath fill grestore)/$1 1 $2/s); -+ $had_nonwhite = ($ps =~ s/(\d+ \d+ bop gsave) \d*\.\d+ (TeXcolorgray clippath fill grestore)/$1 1 $2/s); - } - $ps_changed = $had_papersize || $had_nonwhite; - if($ps_changed) { diff --git a/latex2html.spec b/latex2html.spec index 00f629e..f05c76a 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -2,26 +2,24 @@ Summary: Converts LaTeX documents to HTML Name: latex2html -Version: 2012 -Release: 8%{?dist} +Version: 2017.2 +Release: 1%{?dist} License: GPLv2+ Group: Applications/Publishing URL: http://www.latex2html.org/ # main latex2html source -Source0: http://mirrors.ctan.org/support/latex2html/%{name}-%{version}.tgz +Source0: http://mirrors.ctan.org/support/latex2html/%{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/current/data/l2h-2K8-jp20081220.tar.gz +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 -Patch6: latex2html-2002.2.1-grayimg.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) -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch %description @@ -66,12 +64,6 @@ tar fxz %{SOURCE3} popd %endif -pushd %{name}-%{version} -# don't generate gray images as output from latex2html -# it's patched here to let the .jp2 patch be cleanly applied -%patch6 -p1 -b .grayimg -popd - %build pushd %{name}-%{version} cp %{SOURCE1} cfgcache.pm @@ -134,8 +126,6 @@ popd %endif %install -rm -rf %{buildroot} - pushd %{name}-%{version} perl -pi -e"s,%{_prefix},%{buildroot}%{_prefix}," cfgcache.pm perl -pi -e"s,/.*\\\${dd}texexpand,%{_bindir}/texexpand,; @@ -197,9 +187,6 @@ done # do not clash with texlive, prefer url.sty from texlive instead rm -f %{buildroot}%{_datadir}/texmf/tex/latex/html/url.sty -%clean -rm -rf %{buildroot} - %post [ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null || : @@ -207,8 +194,7 @@ rm -rf %{buildroot} [ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null || : %files -%defattr(-,root,root,-) -%doc latex2html-%{version}/{LICENSE,LICENSE.orig,README,FAQ,BUGS,docs,example} +%doc latex2html-%{version}/{LICENSE,LICENSE.orig,README.md,FAQ,BUGS,docs,example} %{_bindir}/latex2html %{_bindir}/pstoimg %{_bindir}/texexpand @@ -230,6 +216,9 @@ rm -rf %{buildroot} %{_mandir}/man1/pstoimg.* %changelog +* Mon Jun 26 2017 Tom Callaway 2017.2-1 +- update to 2017.2 + * Fri Feb 10 2017 Fedora Release Engineering - 2012-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild @@ -322,7 +311,7 @@ rm -rf %{buildroot} * Tue May 3 2005 Jindrich Novy 2002.2.1-2 - run texhash in the %%post and %%postun phase (#156660) -* Fri Mar 15 2005 Jindrich Novy 2002.2.1-1 +* Tue Mar 15 2005 Jindrich Novy 2002.2.1-1 - create backups for patches - update Source1 - BuildArchitectures -> BuildArch diff --git a/sources b/sources index fa3778f..3bbd924 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -7951e334e313a1a88946a1171c72e78f l2h-2K8-jp20081220.tar.gz -a27170c02c0f2bc3a524058711e339a4 latex2html-manpages.tar.gz -4939a3f6abb13cdc9904d1555ac8e250 latex2html-2012.tgz +SHA512 (latex2html-2017.2.tar.gz) = 0e1ab1b2005dc71988b1500884d7a13bfbdce73a62ef7f6cc6e83e29d776c98eb09cff3f8d0c162493586094c9ca6f07d47e98d2137f223f27044d03e9bb3473 +SHA512 (l2h-2016-jp20160826.tar.gz) = 29f719a8db7dababafeadd20017f0491583d3d1be65e7ebd9105d772f59134833b2e4f7dbcdfde75f7122a801653ccdc637a9851c335fc5628c098f3d8fc2400 +SHA512 (latex2html-manpages.tar.gz) = 113fdc27c9ab5c2d7ef76c86eb5b55bccf30077e987fd1645ae9c8f96d037372d9446b13d73b2ad3cf7655787366ac7ee8899db8682e354fe3a1acec4e92b829 From 4eb6c98bf7e1231832dbff9288f4ecea9e8013a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Wed, 12 Jul 2017 15:13:48 +0200 Subject: [PATCH 09/51] perl dependency renamed to perl-interpreter --- latex2html.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index f05c76a..cee47fb 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -19,7 +19,7 @@ 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) +BuildRequires: perl-interpreter >= 5.003, perl-generators, ghostscript >= 4.03, netpbm-progs >= 9.21, tex(latex) BuildArch: noarch %description From f5689d9027f2a416192cb821eb9cb8f610a8606a Mon Sep 17 00:00:00 2001 From: Ben Cotton Date: Wed, 12 Jul 2017 17:51:56 -0400 Subject: [PATCH 10/51] Update the spec file so that it will build in F27 --- latex2html.spec | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/latex2html.spec b/latex2html.spec index cee47fb..23b06ea 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2017.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Group: Applications/Publishing URL: http://www.latex2html.org/ @@ -116,8 +116,8 @@ perl -pi -e"s,/usr/bin/latex,/usr/bin/platex," cfgcache.pm 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} @@ -128,11 +128,11 @@ 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,/.*\\\$\{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 make install @@ -156,11 +156,11 @@ popd 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,/.*\\\$\{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 make install @@ -216,6 +216,9 @@ rm -f %{buildroot}%{_datadir}/texmf/tex/latex/html/url.sty %{_mandir}/man1/pstoimg.* %changelog +* Wed Jul 12 2017 Ben Cotton 2017.2-2 +- Update Perl commands in spec file to use valid syntax + * Mon Jun 26 2017 Tom Callaway 2017.2-1 - update to 2017.2 From 0d038a9ffc05b9cf43089970aafb65ac0ebdbabe Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 18:16:21 +0000 Subject: [PATCH 11/51] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index 23b06ea..8eabf35 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2017.2 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Group: Applications/Publishing URL: http://www.latex2html.org/ @@ -216,6 +216,9 @@ rm -f %{buildroot}%{_datadir}/texmf/tex/latex/html/url.sty %{_mandir}/man1/pstoimg.* %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 2017.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Wed Jul 12 2017 Ben Cotton 2017.2-2 - Update Perl commands in spec file to use valid syntax From 39d636c59610fbbd7e0db7a743fdc62aed45b526 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 20:51:27 +0000 Subject: [PATCH 12/51] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index 8eabf35..ec244b1 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2017.2 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ Group: Applications/Publishing URL: http://www.latex2html.org/ @@ -216,6 +216,9 @@ rm -f %{buildroot}%{_datadir}/texmf/tex/latex/html/url.sty %{_mandir}/man1/pstoimg.* %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 2017.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 2017.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From a79b64e4920dabc4220f7958bba81f0c3ab1bd25 Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Tue, 15 May 2018 11:50:47 +0200 Subject: [PATCH 13/51] fixed FTBFS --- latex2html.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index ec244b1..c6dd5a7 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2017.2 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ Group: Applications/Publishing URL: http://www.latex2html.org/ @@ -126,6 +126,8 @@ popd %endif %install +# fix check-buildroot failure, bootroot is dropped manually +%define __arch_install_post %{nil} pushd %{name}-%{version} perl -pi -e"s,%{_prefix},%{buildroot}%{_prefix}," cfgcache.pm perl -pi -e"s,/.*\\\$\{dd}texexpand,%{_bindir}/texexpand,; @@ -216,6 +218,9 @@ rm -f %{buildroot}%{_datadir}/texmf/tex/latex/html/url.sty %{_mandir}/man1/pstoimg.* %changelog +* Fri May 11 2018 Than Ngo - 2017.2-5 +- fixed FTBFS + * Wed Feb 07 2018 Fedora Release Engineering - 2017.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 4d0e086c84f4cfe3c6dfb9d70111223e786c09aa Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Thu, 14 Jun 2018 16:01:34 +0200 Subject: [PATCH 14/51] fixed bz#1591144, buildroot issue --- latex2html.spec | 80 ++++++++++++++++++++++++++----------------------- 1 file changed, 42 insertions(+), 38 deletions(-) diff --git a/latex2html.spec b/latex2html.spec index c6dd5a7..95c2ad2 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2017.2 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ Group: Applications/Publishing URL: http://www.latex2html.org/ @@ -86,15 +86,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,10 +113,10 @@ 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, ; +perl -pi -e "s,\\\$\{dd}pstoimg,\\\$\{dd}jpstoimg, ; s,\\\$\{dd}texexpand,\\\$\{dd}jtexexpand," l2hconf.pm for i in latex2html pstoimg texexpand ; do @@ -126,26 +126,29 @@ popd %endif %install -# fix check-buildroot failure, bootroot is dropped manually -%define __arch_install_post %{nil} pushd %{name}-%{version} -perl -pi -e"s,%{_prefix},%{buildroot}%{_prefix}," cfgcache.pm -perl -pi -e"s,/.*\\\$\{dd}texexpand,%{_bindir}/texexpand,; +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 -perl -pi -e"s,%{buildroot},," l2hconf.pm 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 @@ -154,38 +157,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,; +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 -perl -pi -e"s,%{buildroot},," l2hconf.pm +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 @@ -218,6 +219,9 @@ rm -f %{buildroot}%{_datadir}/texmf/tex/latex/html/url.sty %{_mandir}/man1/pstoimg.* %changelog +* Thu Jun 14 2018 Than Ngo - 2017.2-6 +- fixed bz#1591144, buildroot issue + * Fri May 11 2018 Than Ngo - 2017.2-5 - fixed FTBFS From b304f7579619fad234061008663f81d20fa9596e Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Fri, 22 Jun 2018 17:08:19 +0200 Subject: [PATCH 15/51] - update to 2018.2 - add check --- .gitignore | 1 + latex2html-2018.2-teTeX-l2h-config.patch | 11 +++++++++++ latex2html-2K.1beta-DB.patch | 11 ----------- latex2html.spec | 20 +++++++++++++------- sources | 2 +- 5 files changed, 26 insertions(+), 19 deletions(-) create mode 100644 latex2html-2018.2-teTeX-l2h-config.patch delete mode 100644 latex2html-2K.1beta-DB.patch diff --git a/.gitignore b/.gitignore index 9b88f0a..e057e9a 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /latex2html-2012.tgz /latex2html-2017.2.tar.gz /l2h-2016-jp20160826.tar.gz +/latex2html-2018.2.tar.gz diff --git a/latex2html-2018.2-teTeX-l2h-config.patch b/latex2html-2018.2-teTeX-l2h-config.patch new file mode 100644 index 0000000..31e279e --- /dev/null +++ b/latex2html-2018.2-teTeX-l2h-config.patch @@ -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; diff --git a/latex2html-2K.1beta-DB.patch b/latex2html-2K.1beta-DB.patch deleted file mode 100644 index 1f1ef64..0000000 --- a/latex2html-2K.1beta-DB.patch +++ /dev/null @@ -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'; diff --git a/latex2html.spec b/latex2html.spec index 95c2ad2..1909f2c 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -2,8 +2,8 @@ Summary: Converts LaTeX documents to HTML Name: latex2html -Version: 2017.2 -Release: 6%{?dist} +Version: 2018.2 +Release: 1%{?dist} License: GPLv2+ Group: Applications/Publishing URL: http://www.latex2html.org/ @@ -14,8 +14,7 @@ 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 +Patch1: latex2html-2018.2-teTeX-l2h-config.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 @@ -40,9 +39,6 @@ pushd %{name}-%{version} # Patch from Oliver Paukstadt %patch1 -p2 -b .config -# Fix latex2html not to use DB_File -%patch3 -p2 -b .db_file - # fix SHLIBDIR %patch4 -p1 -b .shlib @@ -196,6 +192,12 @@ 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} %{_bindir}/latex2html @@ -219,6 +221,10 @@ rm -f %{buildroot}%{_datadir}/texmf/tex/latex/html/url.sty %{_mandir}/man1/pstoimg.* %changelog +* Fri Jun 22 2018 Than Ngo - 2018.2-1 +- update to 2018.2 +- add check + * Thu Jun 14 2018 Than Ngo - 2017.2-6 - fixed bz#1591144, buildroot issue diff --git a/sources b/sources index 3bbd924..a4e2d04 100644 --- a/sources +++ b/sources @@ -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 (latex2html-2018.2.tar.gz) = 62c7f3de9dbcb43b69b8d7b71dc9200a02100a8ac9ce027a741a448b24b4e20b6ba7ae870a9d154527ef6124c660bac53868a4de9a365bd790a18ad01a5f6f36 From 055703f9bc8b720d2c9891fb01d0c35fa2cb21fb Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Fri, 22 Jun 2018 18:11:21 +0200 Subject: [PATCH 16/51] update l2h-2017-jp20180308 --- .gitignore | 1 + latex2html.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e057e9a..159cf26 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /latex2html-2017.2.tar.gz /l2h-2016-jp20160826.tar.gz /latex2html-2018.2.tar.gz +/l2h-2017-jp20180308.tar.gz diff --git a/latex2html.spec b/latex2html.spec index 1909f2c..34e2d5d 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2018.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Group: Applications/Publishing URL: http://www.latex2html.org/ @@ -12,7 +12,7 @@ Source0: http://mirrors.ctan.org/support/latex2html/%{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 +Source3: http://takeno.iee.niit.ac.jp/~shige/TeX/latex2html/data2/l2h-2017-jp20180308.tar.gz Patch0: latex2html-2K.1beta-tabularx.patch Patch1: latex2html-2018.2-teTeX-l2h-config.patch Patch4: latex2html-2002-2-1-SHLIB.patch @@ -221,6 +221,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Fri Jun 22 2018 Than Ngo - 2018.2-2 +- update l2h-2017-jp20180308 + * Fri Jun 22 2018 Than Ngo - 2018.2-1 - update to 2018.2 - add check diff --git a/sources b/sources index a4e2d04..173fd41 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (l2h-2016-jp20160826.tar.gz) = 29f719a8db7dababafeadd20017f0491583d3d1be65e7ebd9105d772f59134833b2e4f7dbcdfde75f7122a801653ccdc637a9851c335fc5628c098f3d8fc2400 SHA512 (latex2html-manpages.tar.gz) = 113fdc27c9ab5c2d7ef76c86eb5b55bccf30077e987fd1645ae9c8f96d037372d9446b13d73b2ad3cf7655787366ac7ee8899db8682e354fe3a1acec4e92b829 SHA512 (latex2html-2018.2.tar.gz) = 62c7f3de9dbcb43b69b8d7b71dc9200a02100a8ac9ce027a741a448b24b4e20b6ba7ae870a9d154527ef6124c660bac53868a4de9a365bd790a18ad01a5f6f36 +SHA512 (l2h-2017-jp20180308.tar.gz) = 57dfdaf6a3ab3098b728385b842bd6c6d4266724d870763390ba04474cd735beb5abbb66e545234853f63cdd38eb5c427cec0a9cc96997a011ad7d480b56184a From 87ef1126575b1a7eaebd9c275929d88e995bb469 Mon Sep 17 00:00:00 2001 From: Ben Cotton Date: Fri, 6 Jul 2018 11:06:21 -0400 Subject: [PATCH 17/51] Add patches to fix Perl compatibility issues reported in BZ#1582267 --- latex2html-issue48-1.patch | 32 ++++++++++++++++++++++++++++++++ latex2html-issue48-2.patch | 20 ++++++++++++++++++++ latex2html.spec | 11 ++++++++++- 3 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 latex2html-issue48-1.patch create mode 100644 latex2html-issue48-2.patch diff --git a/latex2html-issue48-1.patch b/latex2html-issue48-1.patch new file mode 100644 index 0000000..e28cc40 --- /dev/null +++ b/latex2html-issue48-1.patch @@ -0,0 +1,32 @@ +From ead9c5ade86d90b07f778b2fcb972f273d52c3c2 Mon Sep 17 00:00:00 2001 +From: Dan Gildea +Date: Thu, 24 May 2018 14:01:34 -0400 +Subject: [PATCH] escape var in regexp + +Fixes #48 +--- + latex2html.pin | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/latex2html.pin b/latex2html.pin +index 116473f..398b3db 100755 +--- a/latex2html.pin ++++ b/latex2html.pin +@@ -4627,7 +4627,7 @@ sub balance_tags { + $save_tags = join(',',@save_open_tags) if (@save_open_tags); + $open_tags = join(',',@$open_tags_R) if (@$open_tags_R); + if ($open_tags eq $save_tags) { return(); } +- if ($save_tags =~ s/^$open_tags//) { ++ if ($save_tags =~ s/^\Q$open_tags\E//) { + @reopen_tags = split (',',$'); + } else { + @reopen_tags = @save_open_tags; +@@ -4637,7 +4637,7 @@ sub balance_tags { + $declarations{$tag_cmd} =~ m|$/); + $open_tags = join(',',@$open_tags_R) if (@$open_tags_R); +- last if ( $save_tags =~ s/^$open_tags/ ++ last if ( $save_tags =~ s/^\Q$open_tags\E/ + @reopen_tags = split (',',$');''/e); + } + } diff --git a/latex2html-issue48-2.patch b/latex2html-issue48-2.patch new file mode 100644 index 0000000..ef33f9d --- /dev/null +++ b/latex2html-issue48-2.patch @@ -0,0 +1,20 @@ +From 78c9a4d6be6c403f2fbe4174a40a7a6585493793 Mon Sep 17 00:00:00 2001 +From: Dan Gildea +Date: Thu, 24 May 2018 14:05:27 -0400 +Subject: [PATCH] \usepackage{xcolor} + +just loads "color" package +--- + styles/xcolor.perl | 3 +++ + 1 file changed, 3 insertions(+) + create mode 100644 styles/xcolor.perl + +diff --git a/styles/xcolor.perl b/styles/xcolor.perl +new file mode 100644 +index 0000000..90ace0a +--- /dev/null ++++ b/styles/xcolor.perl +@@ -0,0 +1,3 @@ ++do_require_package('color'); ++ ++1; diff --git a/latex2html.spec b/latex2html.spec index 34e2d5d..566ac29 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2018.2 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Group: Applications/Publishing URL: http://www.latex2html.org/ @@ -17,6 +17,8 @@ Patch0: latex2html-2K.1beta-tabularx.patch Patch1: latex2html-2018.2-teTeX-l2h-config.patch Patch4: latex2html-2002-2-1-SHLIB.patch Patch5: latex2html-2002-2-1-gsfont.patch +Patch6: latex2html-issue48-1.patch +Patch7: latex2html-issue48-2.patch Requires: tex(latex), tex(dvips), tex(url.sty), netpbm-progs BuildRequires: perl-interpreter >= 5.003, perl-generators, ghostscript >= 4.03, netpbm-progs >= 9.21, tex(latex) BuildArch: noarch @@ -45,6 +47,10 @@ pushd %{name}-%{version} # don't require the font directory to be ended with PATH/fonts %patch5 -p1 -b .gsfont +# Patch Perl compatibility. Fixes are upstream but not yet released +%patch6 -p1 +%patch7 -p1 + # remove all platforms we don't need for i in Dos Mac OS2 Win32; do rm -f L2hos/${i}.pm @@ -221,6 +227,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Fri Jul 07 2018 Ben Cotton - 2018.2-3 +- Add patch to fix bz#1582267 (upstream issue 48) until next upstream release + * Fri Jun 22 2018 Than Ngo - 2018.2-2 - update l2h-2017-jp20180308 From 230b17fab013cd4a7d057fba5e6ed3410f63dae6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 07:35:16 +0000 Subject: [PATCH 18/51] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index 566ac29..e86a991 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2018.2 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ Group: Applications/Publishing URL: http://www.latex2html.org/ @@ -227,6 +227,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 2018.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Fri Jul 07 2018 Ben Cotton - 2018.2-3 - Add patch to fix bz#1582267 (upstream issue 48) until next upstream release From a9b4c1c229d2cc63fad0cc2f3166e463aee8be05 Mon Sep 17 00:00:00 2001 From: Ben Cotton Date: Mon, 13 Aug 2018 08:45:36 -0400 Subject: [PATCH 19/51] Update to latest upstream release --- .gitignore | 2 ++ latex2html-issue48-1.patch | 32 -------------------------------- latex2html-issue48-2.patch | 20 -------------------- latex2html.spec | 17 +++++++---------- sources | 4 ++-- 5 files changed, 11 insertions(+), 64 deletions(-) delete mode 100644 latex2html-issue48-1.patch delete mode 100644 latex2html-issue48-2.patch diff --git a/.gitignore b/.gitignore index 159cf26..3dfafe7 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ /l2h-2016-jp20160826.tar.gz /latex2html-2018.2.tar.gz /l2h-2017-jp20180308.tar.gz +/latex2html-2018.3.tar.gz +/l2h-2018-jp20180813.tar.gz diff --git a/latex2html-issue48-1.patch b/latex2html-issue48-1.patch deleted file mode 100644 index e28cc40..0000000 --- a/latex2html-issue48-1.patch +++ /dev/null @@ -1,32 +0,0 @@ -From ead9c5ade86d90b07f778b2fcb972f273d52c3c2 Mon Sep 17 00:00:00 2001 -From: Dan Gildea -Date: Thu, 24 May 2018 14:01:34 -0400 -Subject: [PATCH] escape var in regexp - -Fixes #48 ---- - latex2html.pin | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/latex2html.pin b/latex2html.pin -index 116473f..398b3db 100755 ---- a/latex2html.pin -+++ b/latex2html.pin -@@ -4627,7 +4627,7 @@ sub balance_tags { - $save_tags = join(',',@save_open_tags) if (@save_open_tags); - $open_tags = join(',',@$open_tags_R) if (@$open_tags_R); - if ($open_tags eq $save_tags) { return(); } -- if ($save_tags =~ s/^$open_tags//) { -+ if ($save_tags =~ s/^\Q$open_tags\E//) { - @reopen_tags = split (',',$'); - } else { - @reopen_tags = @save_open_tags; -@@ -4637,7 +4637,7 @@ sub balance_tags { - $declarations{$tag_cmd} =~ m|$/); - $open_tags = join(',',@$open_tags_R) if (@$open_tags_R); -- last if ( $save_tags =~ s/^$open_tags/ -+ last if ( $save_tags =~ s/^\Q$open_tags\E/ - @reopen_tags = split (',',$');''/e); - } - } diff --git a/latex2html-issue48-2.patch b/latex2html-issue48-2.patch deleted file mode 100644 index ef33f9d..0000000 --- a/latex2html-issue48-2.patch +++ /dev/null @@ -1,20 +0,0 @@ -From 78c9a4d6be6c403f2fbe4174a40a7a6585493793 Mon Sep 17 00:00:00 2001 -From: Dan Gildea -Date: Thu, 24 May 2018 14:05:27 -0400 -Subject: [PATCH] \usepackage{xcolor} - -just loads "color" package ---- - styles/xcolor.perl | 3 +++ - 1 file changed, 3 insertions(+) - create mode 100644 styles/xcolor.perl - -diff --git a/styles/xcolor.perl b/styles/xcolor.perl -new file mode 100644 -index 0000000..90ace0a ---- /dev/null -+++ b/styles/xcolor.perl -@@ -0,0 +1,3 @@ -+do_require_package('color'); -+ -+1; diff --git a/latex2html.spec b/latex2html.spec index e86a991..ac52f3d 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -2,8 +2,8 @@ Summary: Converts LaTeX documents to HTML Name: latex2html -Version: 2018.2 -Release: 4%{?dist} +Version: 2018.3 +Release: 1%{?dist} License: GPLv2+ Group: Applications/Publishing URL: http://www.latex2html.org/ @@ -12,13 +12,11 @@ Source0: http://mirrors.ctan.org/support/latex2html/%{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-2017-jp20180308.tar.gz +Source3: http://takeno.iee.niit.ac.jp/~shige/TeX/latex2html/data2/latex2html-2018.tar.gz Patch0: latex2html-2K.1beta-tabularx.patch Patch1: latex2html-2018.2-teTeX-l2h-config.patch Patch4: latex2html-2002-2-1-SHLIB.patch Patch5: latex2html-2002-2-1-gsfont.patch -Patch6: latex2html-issue48-1.patch -Patch7: latex2html-issue48-2.patch Requires: tex(latex), tex(dvips), tex(url.sty), netpbm-progs BuildRequires: perl-interpreter >= 5.003, perl-generators, ghostscript >= 4.03, netpbm-progs >= 9.21, tex(latex) BuildArch: noarch @@ -47,10 +45,6 @@ pushd %{name}-%{version} # don't require the font directory to be ended with PATH/fonts %patch5 -p1 -b .gsfont -# Patch Perl compatibility. Fixes are upstream but not yet released -%patch6 -p1 -%patch7 -p1 - # remove all platforms we don't need for i in Dos Mac OS2 Win32; do rm -f L2hos/${i}.pm @@ -227,10 +221,13 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Mon Aug 13 2018 Ben Cotton - 2018.3-1 +- Update to latest upstream version + * Fri Jul 13 2018 Fedora Release Engineering - 2018.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild -* Fri Jul 07 2018 Ben Cotton - 2018.2-3 +* Fri Jul 06 2018 Ben Cotton - 2018.2-3 - Add patch to fix bz#1582267 (upstream issue 48) until next upstream release * Fri Jun 22 2018 Than Ngo - 2018.2-2 diff --git a/sources b/sources index 173fd41..3dd6279 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ +SHA512 (l2h-2018-jp20180813.tar.gz) = b6e53f359e13ad03e096c62f00bc11f91cf72260727f8acc98da5ec455f63d38f1888f38464965d0c375da9b3d48d991013d7b0a37acecd93b5cb9ec7291ac2c SHA512 (latex2html-manpages.tar.gz) = 113fdc27c9ab5c2d7ef76c86eb5b55bccf30077e987fd1645ae9c8f96d037372d9446b13d73b2ad3cf7655787366ac7ee8899db8682e354fe3a1acec4e92b829 -SHA512 (latex2html-2018.2.tar.gz) = 62c7f3de9dbcb43b69b8d7b71dc9200a02100a8ac9ce027a741a448b24b4e20b6ba7ae870a9d154527ef6124c660bac53868a4de9a365bd790a18ad01a5f6f36 -SHA512 (l2h-2017-jp20180308.tar.gz) = 57dfdaf6a3ab3098b728385b842bd6c6d4266724d870763390ba04474cd735beb5abbb66e545234853f63cdd38eb5c427cec0a9cc96997a011ad7d480b56184a +SHA512 (latex2html-2018.3.tar.gz) = 01925a69673e8a824f9b6608cd9b84ad54ea6f0058ff9374a5312e40a731ba8ad56cc22cfeaa5499c2083c6883579034bbeb9f5bb90b32bcc5bcd7136f24a934 From 8086bbad7a93c2116cabbbe7368034084a198d7f Mon Sep 17 00:00:00 2001 From: Ben Cotton Date: Mon, 13 Aug 2018 09:17:11 -0400 Subject: [PATCH 20/51] Correct the Japanese sources --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 3dfafe7..b90a771 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /l2h-2017-jp20180308.tar.gz /latex2html-2018.3.tar.gz /l2h-2018-jp20180813.tar.gz +/latex2html-2018.tar.gz diff --git a/sources b/sources index 3dd6279..1ef06a6 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (l2h-2018-jp20180813.tar.gz) = b6e53f359e13ad03e096c62f00bc11f91cf72260727f8acc98da5ec455f63d38f1888f38464965d0c375da9b3d48d991013d7b0a37acecd93b5cb9ec7291ac2c +SHA512 (latex2html-2018.tar.gz) = b6e53f359e13ad03e096c62f00bc11f91cf72260727f8acc98da5ec455f63d38f1888f38464965d0c375da9b3d48d991013d7b0a37acecd93b5cb9ec7291ac2c SHA512 (latex2html-manpages.tar.gz) = 113fdc27c9ab5c2d7ef76c86eb5b55bccf30077e987fd1645ae9c8f96d037372d9446b13d73b2ad3cf7655787366ac7ee8899db8682e354fe3a1acec4e92b829 SHA512 (latex2html-2018.3.tar.gz) = 01925a69673e8a824f9b6608cd9b84ad54ea6f0058ff9374a5312e40a731ba8ad56cc22cfeaa5499c2083c6883579034bbeb9f5bb90b32bcc5bcd7136f24a934 From 866822c78df23a398182652ffd1b18353e1aabe1 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:17:50 +0100 Subject: [PATCH 21/51] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- latex2html.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index ac52f3d..ea6577b 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -5,7 +5,6 @@ Name: latex2html Version: 2018.3 Release: 1%{?dist} License: GPLv2+ -Group: Applications/Publishing URL: http://www.latex2html.org/ # main latex2html source Source0: http://mirrors.ctan.org/support/latex2html/%{name}-%{version}.tar.gz From 96b0315c0278d710ba195389ba2de98397636494 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 1 Feb 2019 06:21:38 +0000 Subject: [PATCH 22/51] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index ea6577b..3762cd0 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2018.3 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: http://www.latex2html.org/ # main latex2html source @@ -220,6 +220,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Fri Feb 01 2019 Fedora Release Engineering - 2018.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Mon Aug 13 2018 Ben Cotton - 2018.3-1 - Update to latest upstream version From 4ce2bf30e11e7d4e7926b0ac7962dc2a01058d0a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 12:28:19 +0000 Subject: [PATCH 23/51] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index 3762cd0..de3eed7 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2018.3 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: http://www.latex2html.org/ # main latex2html source @@ -220,6 +220,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 2018.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Fri Feb 01 2019 Fedora Release Engineering - 2018.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 732f64bcf8f9f360cb6e57187446ececa95f42e3 Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Wed, 11 Sep 2019 15:51:26 +0200 Subject: [PATCH 24/51] update to v2019.2 --- .gitignore | 2 ++ latex2html.spec | 14 +++++++------- sources | 4 ++-- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index b90a771..cafc585 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,5 @@ /latex2html-2018.3.tar.gz /l2h-2018-jp20180813.tar.gz /latex2html-2018.tar.gz +/l2h-2018.2-jp20190902.tar.gz +/latex2html-2019.2.tar.gz diff --git a/latex2html.spec b/latex2html.spec index de3eed7..26e966f 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -2,8 +2,8 @@ Summary: Converts LaTeX documents to HTML Name: latex2html -Version: 2018.3 -Release: 3%{?dist} +Version: 2019.2 +Release: 1%{?dist} License: GPLv2+ URL: http://www.latex2html.org/ # main latex2html source @@ -11,8 +11,8 @@ Source0: http://mirrors.ctan.org/support/latex2html/%{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/latex2html-2018.tar.gz -Patch0: latex2html-2K.1beta-tabularx.patch +# http://takeno.iee.niit.ac.jp/~shige/TeX/latex2html/ +Source3: http://takeno.iee.niit.ac.jp/~shige/TeX/latex2html/data2/l2h-2018.2-jp20190902.tar.gz Patch1: latex2html-2018.2-teTeX-l2h-config.patch Patch4: latex2html-2002-2-1-SHLIB.patch Patch5: latex2html-2002-2-1-gsfont.patch @@ -32,9 +32,6 @@ pages are generated from a single LATEX source. %setup -q -n %{name}-%{version} -c -a 0 pushd %{name}-%{version} -# patch latex2html to support tabularx environments better -%patch0 -p1 -b .tabularx - # Patch from Oliver Paukstadt %patch1 -p2 -b .config @@ -220,6 +217,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Wed Sep 11 2019 Than Ngo - 2019.2-1 +- update to v2019.2 + * Thu Jul 25 2019 Fedora Release Engineering - 2018.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 1ef06a6..cf4bb43 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (latex2html-2018.tar.gz) = b6e53f359e13ad03e096c62f00bc11f91cf72260727f8acc98da5ec455f63d38f1888f38464965d0c375da9b3d48d991013d7b0a37acecd93b5cb9ec7291ac2c SHA512 (latex2html-manpages.tar.gz) = 113fdc27c9ab5c2d7ef76c86eb5b55bccf30077e987fd1645ae9c8f96d037372d9446b13d73b2ad3cf7655787366ac7ee8899db8682e354fe3a1acec4e92b829 -SHA512 (latex2html-2018.3.tar.gz) = 01925a69673e8a824f9b6608cd9b84ad54ea6f0058ff9374a5312e40a731ba8ad56cc22cfeaa5499c2083c6883579034bbeb9f5bb90b32bcc5bcd7136f24a934 +SHA512 (l2h-2018.2-jp20190902.tar.gz) = 9d1100166aa1f4c91624f32de16df144b35cbdc82ab7414f0741e66f78784122b7e5eaa0068dbd5e061eccfb8367efdfebbc1f12ec80727099d2bda2c639c2a3 +SHA512 (latex2html-2019.2.tar.gz) = a07853e561df3d869d3b2874df94a07879e9a646830b363ec0715cd59b8de5643fa43a53841af455432114b39b5e10cf7b715eb088b7060bb5bf2210232b8b16 From 74b61f4893ab7b8bbab5f2086dc1a8706d14af99 Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Wed, 11 Sep 2019 16:03:13 +0200 Subject: [PATCH 25/51] update URL and source --- .gitignore | 1 + latex2html.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index cafc585..cf73848 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /latex2html-2018.tar.gz /l2h-2018.2-jp20190902.tar.gz /latex2html-2019.2.tar.gz +/v2019.2.tar.gz diff --git a/latex2html.spec b/latex2html.spec index 26e966f..62f5591 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,11 +3,11 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2019.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ -URL: http://www.latex2html.org/ +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/latex2html/latex2html/archive/v%{version}.tar.gz Source1: cfgcache.pm Source2: %{name}-manpages.tar.gz # support for Japanese @@ -217,6 +217,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Wed Sep 11 2019 Than Ngo - 2019.2-2 +- update URL + * Wed Sep 11 2019 Than Ngo - 2019.2-1 - update to v2019.2 diff --git a/sources b/sources index cf4bb43..8394502 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ SHA512 (latex2html-manpages.tar.gz) = 113fdc27c9ab5c2d7ef76c86eb5b55bccf30077e987fd1645ae9c8f96d037372d9446b13d73b2ad3cf7655787366ac7ee8899db8682e354fe3a1acec4e92b829 SHA512 (l2h-2018.2-jp20190902.tar.gz) = 9d1100166aa1f4c91624f32de16df144b35cbdc82ab7414f0741e66f78784122b7e5eaa0068dbd5e061eccfb8367efdfebbc1f12ec80727099d2bda2c639c2a3 -SHA512 (latex2html-2019.2.tar.gz) = a07853e561df3d869d3b2874df94a07879e9a646830b363ec0715cd59b8de5643fa43a53841af455432114b39b5e10cf7b715eb088b7060bb5bf2210232b8b16 +SHA512 (v2019.2.tar.gz) = a07853e561df3d869d3b2874df94a07879e9a646830b363ec0715cd59b8de5643fa43a53841af455432114b39b5e10cf7b715eb088b7060bb5bf2210232b8b16 From 2902959de91f967daf9285ae49eaaff0ffab6873 Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Wed, 11 Sep 2019 16:07:18 +0200 Subject: [PATCH 26/51] drop latex2html-2K.1beta-tabularx.patch --- latex2html-2K.1beta-tabularx.patch | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 latex2html-2K.1beta-tabularx.patch 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 { From cf87520cf13fe122fadc19717fb3abf949c79bad Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Mon, 16 Sep 2019 15:24:08 +0200 Subject: [PATCH 27/51] add Requirement on tex(preview.sty) --- latex2html.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/latex2html.spec b/latex2html.spec index 62f5591..0c64d76 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2019.2 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: https://github.com/latex2html/latex2html/releases # main latex2html source @@ -16,7 +16,7 @@ Source3: http://takeno.iee.niit.ac.jp/~shige/TeX/latex2html/data2/l2h-2018.2-jp2 Patch1: latex2html-2018.2-teTeX-l2h-config.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 +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) BuildArch: noarch @@ -217,6 +217,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Mon Sep 16 2019 Than Ngo - 2019.2-3 +- add Requirement on tex(preview.sty) + * Wed Sep 11 2019 Than Ngo - 2019.2-2 - update URL From 720b0e6d025d1350bdbc49baf5e0cd2642f1194a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jan 2020 08:14:08 +0000 Subject: [PATCH 28/51] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index 0c64d76..f804a39 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2019.2 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ URL: https://github.com/latex2html/latex2html/releases # main latex2html source @@ -217,6 +217,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Wed Jan 29 2020 Fedora Release Engineering - 2019.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Mon Sep 16 2019 Than Ngo - 2019.2-3 - add Requirement on tex(preview.sty) From 64e8c54d8ad80999ec9850a198cf3883dab285ca Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Tue, 24 Mar 2020 16:03:36 +0100 Subject: [PATCH 29/51] Add perl dependencies needed for build --- latex2html.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index f804a39..7e72f8b 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2019.2 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ URL: https://github.com/latex2html/latex2html/releases # main latex2html source @@ -18,6 +18,9 @@ Patch4: latex2html-2002-2-1-SHLIB.patch Patch5: latex2html-2002-2-1-gsfont.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) BuildArch: noarch %description @@ -217,6 +220,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Tue Mar 24 2020 Jitka Plesnikova - 2019.2-5 +- Add perl dependencies needed for build + * Wed Jan 29 2020 Fedora Release Engineering - 2019.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From e136524e64e7292eb215917fd813a3fd8506a725 Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Fri, 17 Jul 2020 09:52:31 +0200 Subject: [PATCH 30/51] latex2html-2020.2-1.fc33 - update to 2020.2 Signed-off-by: Jindrich Novy --- .gitignore | 14 +------------- latex2html-2002-2-1-gsfont.patch | 11 ----------- latex2html.spec | 13 ++++++------- sources | 4 ++-- 4 files changed, 9 insertions(+), 33 deletions(-) delete mode 100644 latex2html-2002-2-1-gsfont.patch diff --git a/.gitignore b/.gitignore index cf73848..f6a3a77 100644 --- a/.gitignore +++ b/.gitignore @@ -1,13 +1 @@ -/l2h-2K8-jp20081220.tar.gz -/latex2html-manpages.tar.gz -/latex2html-2012.tgz -/latex2html-2017.2.tar.gz -/l2h-2016-jp20160826.tar.gz -/latex2html-2018.2.tar.gz -/l2h-2017-jp20180308.tar.gz -/latex2html-2018.3.tar.gz -/l2h-2018-jp20180813.tar.gz -/latex2html-2018.tar.gz -/l2h-2018.2-jp20190902.tar.gz -/latex2html-2019.2.tar.gz -/v2019.2.tar.gz +/*.tar.gz 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.spec b/latex2html.spec index 7e72f8b..c974dd4 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -2,8 +2,8 @@ Summary: Converts LaTeX documents to HTML Name: latex2html -Version: 2019.2 -Release: 5%{?dist} +Version: 2020.2 +Release: 1%{?dist} License: GPLv2+ URL: https://github.com/latex2html/latex2html/releases # main latex2html source @@ -12,10 +12,9 @@ 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-2018.2-jp20190902.tar.gz +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 -Patch5: latex2html-2002-2-1-gsfont.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), @@ -41,9 +40,6 @@ pushd %{name}-%{version} # fix SHLIBDIR %patch4 -p1 -b .shlib -# don't require the font directory to be ended with PATH/fonts -%patch5 -p1 -b .gsfont - # remove all platforms we don't need for i in Dos Mac OS2 Win32; do rm -f L2hos/${i}.pm @@ -220,6 +216,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Fri Jul 17 2020 Jindrich Novy - 2020.2-1 +- update to 2020.2 and l2h-2020 + * Tue Mar 24 2020 Jitka Plesnikova - 2019.2-5 - Add perl dependencies needed for build diff --git a/sources b/sources index 8394502..a807c7d 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ SHA512 (latex2html-manpages.tar.gz) = 113fdc27c9ab5c2d7ef76c86eb5b55bccf30077e987fd1645ae9c8f96d037372d9446b13d73b2ad3cf7655787366ac7ee8899db8682e354fe3a1acec4e92b829 -SHA512 (l2h-2018.2-jp20190902.tar.gz) = 9d1100166aa1f4c91624f32de16df144b35cbdc82ab7414f0741e66f78784122b7e5eaa0068dbd5e061eccfb8367efdfebbc1f12ec80727099d2bda2c639c2a3 -SHA512 (v2019.2.tar.gz) = a07853e561df3d869d3b2874df94a07879e9a646830b363ec0715cd59b8de5643fa43a53841af455432114b39b5e10cf7b715eb088b7060bb5bf2210232b8b16 +SHA512 (v2020.2.tar.gz) = 222711ab62580b433acf85be9c6ae8c0b7c87e5b771762c10939866e205e5d62601ffee54a6a928fbae8eab4a46d3dce47f35c023aeac6986dc7757f415fb83f +SHA512 (l2h-2020-jp20200515.tar.gz) = 4a206d6dfbab209781bf8cca30f4864b93165737d866fe78cb5576107b80587bd6df61fc0038c3b6bcbccc03502b08a4a13aeb5c64445c5b272e39915757c53d From 11652456a3c21ebceb8ec20590514058477d932a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 03:57:22 +0000 Subject: [PATCH 31/51] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index c974dd4..1697cb1 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2020.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: https://github.com/latex2html/latex2html/releases # main latex2html source @@ -216,6 +216,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 2020.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jul 17 2020 Jindrich Novy - 2020.2-1 - update to 2020.2 and l2h-2020 From aea91b0be3237f211a6a79414c6396b40fc69a7a Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 5 Jan 2021 01:17:26 +0000 Subject: [PATCH 32/51] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- latex2html.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/latex2html.spec b/latex2html.spec index 1697cb1..79a1cea 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -20,6 +20,7 @@ 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(lib), perl(strict), perl(vars) +BuildRequires: make BuildArch: noarch %description From 26b194868e2df1aba1e4c9c0ef4dcd9b6efa1b2d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 16:23:13 +0000 Subject: [PATCH 33/51] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index 79a1cea..a391b41 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2020.2 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: https://github.com/latex2html/latex2html/releases # main latex2html source @@ -217,6 +217,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 2020.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Jul 28 2020 Fedora Release Engineering - 2020.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 160128eeaa429be12a5be3b90e776cb44b13aeb2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 10:40:41 +0000 Subject: [PATCH 34/51] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index a391b41..533267e 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2020.2 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ URL: https://github.com/latex2html/latex2html/releases # main latex2html source @@ -217,6 +217,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 2020.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 2020.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 06878a1829c8254130707e6eac1e7e7dd7837c82 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 15:27:47 +0000 Subject: [PATCH 35/51] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index 533267e..2dc5ccb 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2020.2 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ URL: https://github.com/latex2html/latex2html/releases # main latex2html source @@ -217,6 +217,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 2020.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Jul 22 2021 Fedora Release Engineering - 2020.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 048faee48080c116bbd29ed96f82b803483eab1d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 21 Jul 2022 16:58:54 +0000 Subject: [PATCH 36/51] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index 2dc5ccb..eca667b 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2020.2 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ URL: https://github.com/latex2html/latex2html/releases # main latex2html source @@ -217,6 +217,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Thu Jul 21 2022 Fedora Release Engineering - 2020.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Thu Jan 20 2022 Fedora Release Engineering - 2020.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From a40c36611d53b87392a1061ba6b0b8a7d6dc1488 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 15:30:14 +0000 Subject: [PATCH 37/51] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index eca667b..35dc12d 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2020.2 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv2+ URL: https://github.com/latex2html/latex2html/releases # main latex2html source @@ -217,6 +217,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 2020.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Thu Jul 21 2022 Fedora Release Engineering - 2020.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From d37b5e81aba6e60995ca2cf47ddab272ee7400ed Mon Sep 17 00:00:00 2001 From: Ben Cotton Date: Mon, 30 Jan 2023 09:09:51 -0500 Subject: [PATCH 38/51] Use SPDX-compliant License tag --- latex2html.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/latex2html.spec b/latex2html.spec index 35dc12d..16a92dd 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,8 +3,8 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2020.2 -Release: 7%{?dist} -License: GPLv2+ +Release: 8%{?dist} +License: GPL-2.0-or-later URL: https://github.com/latex2html/latex2html/releases # main latex2html source Source0: https://github.com/latex2html/latex2html/archive/v%{version}.tar.gz @@ -217,6 +217,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Mon Jan 30 2023 Ben Cotton - 2020.2-8 +- Update License field to match SPDX formatting + * Thu Jan 19 2023 Fedora Release Engineering - 2020.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 26ddb3051969c8869b23db685647dc85d6cfa3f2 Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Tue, 18 Jul 2023 19:16:45 +0200 Subject: [PATCH 39/51] update to 2023.2 --- latex2html.spec | 19 +++++++++++-------- sources | 4 ++-- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/latex2html.spec b/latex2html.spec index 16a92dd..759309d 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -2,19 +2,19 @@ Summary: Converts LaTeX documents to HTML Name: latex2html -Version: 2020.2 -Release: 8%{?dist} +Version: 2023.2 +Release: 1%{?dist} License: GPL-2.0-or-later URL: https://github.com/latex2html/latex2html/releases # main latex2html source -Source0: https://github.com/latex2html/latex2html/archive/v%{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 # 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 +Source3: http://takeno.iee.niit.ac.jp/~shige/TeX/latex2html/data2/l2h-2023-jp3.2b1.37.tar.gz Patch1: latex2html-2018.2-teTeX-l2h-config.patch -Patch4: latex2html-2002-2-1-SHLIB.patch +Patch2: 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), @@ -32,14 +32,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 from Oliver Paukstadt -%patch1 -p2 -b .config +%patch -P1 -p2 -b .config # fix SHLIBDIR -%patch4 -p1 -b .shlib +%patch -P2 -p1 -b .shlib # remove all platforms we don't need for i in Dos Mac OS2 Win32; do @@ -217,6 +217,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Tue Jul 18 2023 Than Ngo - 2023.2-1 +- update to 2023.2 + * Mon Jan 30 2023 Ben Cotton - 2020.2-8 - Update License field to match SPDX formatting diff --git a/sources b/sources index a807c7d..9965c40 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ SHA512 (latex2html-manpages.tar.gz) = 113fdc27c9ab5c2d7ef76c86eb5b55bccf30077e987fd1645ae9c8f96d037372d9446b13d73b2ad3cf7655787366ac7ee8899db8682e354fe3a1acec4e92b829 -SHA512 (v2020.2.tar.gz) = 222711ab62580b433acf85be9c6ae8c0b7c87e5b771762c10939866e205e5d62601ffee54a6a928fbae8eab4a46d3dce47f35c023aeac6986dc7757f415fb83f -SHA512 (l2h-2020-jp20200515.tar.gz) = 4a206d6dfbab209781bf8cca30f4864b93165737d866fe78cb5576107b80587bd6df61fc0038c3b6bcbccc03502b08a4a13aeb5c64445c5b272e39915757c53d +SHA512 (latex2html-2023.2.tar.gz) = 0d2ba7b943249239eeb1b9fbba42b1c8e001e07cd2da42db11700cbef798eb37f45fa1270f6193e60b29eda2006f79647a197fc3414549d57b5abf70e8939ddf +SHA512 (l2h-2023-jp3.2b1.37.tar.gz) = a5278225dca1eb41b309006dd6a25a4120a2b78936abedd1e54de3850e1ec673d43e2cfc8e9cc212c46d06e2b4fbc0bb2e536c797b8d1f9a568c782e0cb0d239 From 6267450ea0a76f47f3865f5cf3cd42fef0c34ce4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jul 2023 09:56:20 +0000 Subject: [PATCH 40/51] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index 759309d..624ed26 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2023.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-2.0-or-later URL: https://github.com/latex2html/latex2html/releases # main latex2html source @@ -217,6 +217,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Thu Jul 20 2023 Fedora Release Engineering - 2023.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Tue Jul 18 2023 Than Ngo - 2023.2-1 - update to 2023.2 From 34a4440a1f716e687d711edbf188c3081b0b846a Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Tue, 18 Jul 2023 23:58:56 -0400 Subject: [PATCH 41/51] BuildRequires: perl(Unicode::Collate::Locale) This is a new build dependency in 2023.2. --- latex2html.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index 624ed26..1802574 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -19,7 +19,7 @@ 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: perl(Unicode::Collate::Locale), perl(lib), perl(strict), perl(vars) BuildRequires: make BuildArch: noarch From 09a34c5ea9ddfccad10d39909ee82664c08893e6 Mon Sep 17 00:00:00 2001 From: Dan Gildea Date: Fri, 22 Sep 2023 13:21:37 -0400 Subject: [PATCH 42/51] enable svg - add svg to cfgcache.pm - require poppler-utils to get pdftocairo - require preview.sty during build, so seen by config.pl script --- cfgcache.pm | 2 +- latex2html.spec | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cfgcache.pm b/cfgcache.pm index 7a4b503..cea2f57 100644 --- a/cfgcache.pm +++ b/cfgcache.pm @@ -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'; diff --git a/latex2html.spec b/latex2html.spec index 1802574..d6c3ea5 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -15,8 +15,9 @@ Source2: %{name}-manpages.tar.gz Source3: http://takeno.iee.niit.ac.jp/~shige/TeX/latex2html/data2/l2h-2023-jp3.2b1.37.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 -BuildRequires: perl-interpreter >= 5.003, perl-generators, ghostscript >= 4.03, netpbm-progs >= 9.21, tex(latex) +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) From 6592c6c608384bb41f4e0e71203fafb7b01e3e26 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 03:16:00 +0000 Subject: [PATCH 43/51] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index d6c3ea5..e7053f0 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2023.2 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL-2.0-or-later URL: https://github.com/latex2html/latex2html/releases # main latex2html source @@ -218,6 +218,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Sun Jan 21 2024 Fedora Release Engineering - 2023.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Thu Jul 20 2023 Fedora Release Engineering - 2023.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 320802a5db4361339bcd5ead5c2b8587571062e5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 01:13:53 +0000 Subject: [PATCH 44/51] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index e7053f0..d9eb75e 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2023.2 -Release: 3%{?dist} +Release: 4%{?dist} License: GPL-2.0-or-later URL: https://github.com/latex2html/latex2html/releases # main latex2html source @@ -218,6 +218,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Thu Jan 25 2024 Fedora Release Engineering - 2023.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Jan 21 2024 Fedora Release Engineering - 2023.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From ffce1010c245a3af0d5ed6a7ecbdb0f00caf1be6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 13:00:01 +0000 Subject: [PATCH 45/51] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index d9eb75e..1c5c0f1 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2023.2 -Release: 4%{?dist} +Release: 5%{?dist} License: GPL-2.0-or-later URL: https://github.com/latex2html/latex2html/releases # main latex2html source @@ -218,6 +218,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Thu Jul 18 2024 Fedora Release Engineering - 2023.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Thu Jan 25 2024 Fedora Release Engineering - 2023.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From df45734cc6bca7229fc7a6de928f24e9a677f7fa Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Tue, 12 Nov 2024 10:47:04 +0100 Subject: [PATCH 46/51] Remove .orig files --- latex2html.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/latex2html.spec b/latex2html.spec index 1c5c0f1..ccbc0b5 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2023.2 -Release: 5%{?dist} +Release: 6%{?dist} License: GPL-2.0-or-later URL: https://github.com/latex2html/latex2html/releases # main latex2html source @@ -196,7 +196,7 @@ 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 @@ -218,6 +218,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Tue Nov 12 2024 Than Ngo - 2023.2-6 +- Remove .orig files + * Thu Jul 18 2024 Fedora Release Engineering - 2023.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 861086fd0f86c55c088ea01e122f2fa2fbf74391 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 10:12:54 +0000 Subject: [PATCH 47/51] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index ccbc0b5..f656426 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2023.2 -Release: 6%{?dist} +Release: 7%{?dist} License: GPL-2.0-or-later URL: https://github.com/latex2html/latex2html/releases # main latex2html source @@ -218,6 +218,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Fri Jan 17 2025 Fedora Release Engineering - 2023.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Tue Nov 12 2024 Than Ngo - 2023.2-6 - Remove .orig files From 09c08a97f6f0bf9ac65d2d2763d1f67d712af836 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 19:09:45 +0000 Subject: [PATCH 48/51] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index f656426..af175b4 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2023.2 -Release: 7%{?dist} +Release: 8%{?dist} License: GPL-2.0-or-later URL: https://github.com/latex2html/latex2html/releases # main latex2html source @@ -218,6 +218,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Thu Jul 24 2025 Fedora Release Engineering - 2023.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Fri Jan 17 2025 Fedora Release Engineering - 2023.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 4cc47e1b6cacc84ada6154c8283918474e582bb4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 18:20:07 +0000 Subject: [PATCH 49/51] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index af175b4..4ad90db 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -3,7 +3,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2023.2 -Release: 8%{?dist} +Release: 9%{?dist} License: GPL-2.0-or-later URL: https://github.com/latex2html/latex2html/releases # main latex2html source @@ -218,6 +218,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Fri Jan 16 2026 Fedora Release Engineering - 2023.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Thu Jul 24 2025 Fedora Release Engineering - 2023.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 1007ac0539db153be8c34ebb53da14d7a89dffcf Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Tue, 9 Jun 2026 20:24:48 +0200 Subject: [PATCH 50/51] Update to 2026 --- latex2html.spec | 13 ++++++++++--- sources | 4 ++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/latex2html.spec b/latex2html.spec index 4ad90db..f56fac2 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -1,9 +1,13 @@ +%if 0%{?fedora} %define enable_japanese 1 +%else +%define enable_japanese 0 +%endif Summary: Converts LaTeX documents to HTML Name: latex2html -Version: 2023.2 -Release: 9%{?dist} +Version: 2026 +Release: 1%{?dist} License: GPL-2.0-or-later URL: https://github.com/latex2html/latex2html/releases # main latex2html source @@ -12,7 +16,7 @@ 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-2023-jp3.2b1.37.tar.gz +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 @@ -218,6 +222,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Tue Jun 09 2026 Than Ngo - 2026-1 +- Update to 2026 + * Fri Jan 16 2026 Fedora Release Engineering - 2023.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild diff --git a/sources b/sources index 9965c40..ddc5ccf 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ SHA512 (latex2html-manpages.tar.gz) = 113fdc27c9ab5c2d7ef76c86eb5b55bccf30077e987fd1645ae9c8f96d037372d9446b13d73b2ad3cf7655787366ac7ee8899db8682e354fe3a1acec4e92b829 -SHA512 (latex2html-2023.2.tar.gz) = 0d2ba7b943249239eeb1b9fbba42b1c8e001e07cd2da42db11700cbef798eb37f45fa1270f6193e60b29eda2006f79647a197fc3414549d57b5abf70e8939ddf -SHA512 (l2h-2023-jp3.2b1.37.tar.gz) = a5278225dca1eb41b309006dd6a25a4120a2b78936abedd1e54de3850e1ec673d43e2cfc8e9cc212c46d06e2b4fbc0bb2e536c797b8d1f9a568c782e0cb0d239 +SHA512 (l2h-2026-jp3.2b1.43.tar.gz) = 4b7c9424d462329173a883fff7ef330222440be132ec9190c9c06798e2d6ef1ec7f14bdb375db0742181e1f661f153e7fa002d786c4b5632d0f28a598543f713 +SHA512 (latex2html-2026.tar.gz) = e607bc637fd8c618db30d967c298a5f5d2e58846a7f32705ef8d58efa87bdea3f012d9852e6a0305f6c5698a9ebe427e71bf0a3b39584923120102cc57ac272a From a37c9283bea695f9f5813d80d648ec07978a3ac7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jul 2026 05:29:13 +0000 Subject: [PATCH 51/51] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- latex2html.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/latex2html.spec b/latex2html.spec index f56fac2..520bf65 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -7,7 +7,7 @@ Summary: Converts LaTeX documents to HTML Name: latex2html Version: 2026 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-2.0-or-later URL: https://github.com/latex2html/latex2html/releases # main latex2html source @@ -222,6 +222,9 @@ make -C %{name}-%{version}JA check %{_mandir}/man1/pstoimg.* %changelog +* Thu Jul 16 2026 Fedora Release Engineering - 2026-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Tue Jun 09 2026 Than Ngo - 2026-1 - Update to 2026