Compare commits

..

No commits in common. "c10s" and "c8s" have entirely different histories.
c10s ... c8s

10 changed files with 70 additions and 129 deletions

View File

@ -1 +0,0 @@
1

7
.gitignore vendored
View File

@ -1 +1,6 @@
/*.tar.gz SOURCES/l2h-2017-jp20180308.tar.gz
SOURCES/latex2html-2018.2.tar.gz
SOURCES/latex2html-manpages.tar.gz
/l2h-2017-jp20180308.tar.gz
/latex2html-2018.2.tar.gz
/latex2html-manpages.tar.gz

View File

@ -28,7 +28,7 @@ $cfg{'HTML_VALIDATOR'} = q'';
$cfg{'ICONPATH'} = q'file:/usr/share/latex2html/icons'; $cfg{'ICONPATH'} = q'file:/usr/share/latex2html/icons';
$cfg{'ICONSERVER'} = q''; $cfg{'ICONSERVER'} = q'';
$cfg{'ICONSTORAGE'} = q''; $cfg{'ICONSTORAGE'} = q'';
$cfg{'IMAGE_TYPES'} = q'svg png gif'; $cfg{'IMAGE_TYPES'} = q'png gif';
$cfg{'INITEX'} = q'/usr/bin/initex'; $cfg{'INITEX'} = q'/usr/bin/initex';
$cfg{'JPEGTOPNM'} = q'/usr/bin/jpegtopnm'; $cfg{'JPEGTOPNM'} = q'/usr/bin/jpegtopnm';
$cfg{'KPSEWHICH'} = q'/usr/bin/kpsewhich'; $cfg{'KPSEWHICH'} = q'/usr/bin/kpsewhich';

View File

@ -1,6 +1,6 @@
--- !Policy --- !Policy
product_versions: product_versions:
- rhel-10 - rhel-8
decision_context: osci_compose_gate decision_context: osci_compose_gate
rules: rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}

View File

@ -0,0 +1,11 @@
--- 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,26 @@
--- 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

@ -2,26 +2,23 @@
Summary: Converts LaTeX documents to HTML Summary: Converts LaTeX documents to HTML
Name: latex2html Name: latex2html
Version: 2023.2 Version: 2018.2
Release: 7%{?dist} Release: 2%{?dist}
License: GPL-2.0-or-later License: GPLv2+
URL: https://github.com/latex2html/latex2html/releases Group: Applications/Publishing
URL: http://www.latex2html.org/
# main latex2html source # main latex2html source
Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Source0: http://mirrors.ctan.org/support/latex2html/%{name}-%{version}.tar.gz
Source1: cfgcache.pm Source1: cfgcache.pm
Source2: %{name}-manpages.tar.gz Source2: %{name}-manpages.tar.gz
# support for Japanese # support for Japanese
# http://takeno.iee.niit.ac.jp/~shige/TeX/latex2html/ 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/l2h-2023-jp3.2b1.37.tar.gz Patch0: latex2html-2K.1beta-tabularx.patch
Patch1: latex2html-2018.2-teTeX-l2h-config.patch Patch1: latex2html-2018.2-teTeX-l2h-config.patch
Patch2: latex2html-2002-2-1-SHLIB.patch Patch4: latex2html-2002-2-1-SHLIB.patch
Requires: tex(latex), tex(dvips), tex(url.sty), tex(preview.sty), netpbm-progs, poppler-utils Patch5: latex2html-2002-2-1-gsfont.patch
BuildRequires: tex(latex), tex(dvips), tex(url.sty), tex(preview.sty), netpbm-progs, poppler-utils Requires: tex(latex), tex(dvips), tex(url.sty), netpbm-progs
BuildRequires: perl-interpreter >= 5.003, perl-generators, ghostscript >= 4.03 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(Unicode::Collate::Locale), perl(lib), perl(strict), perl(vars)
BuildRequires: make
BuildArch: noarch BuildArch: noarch
%description %description
@ -33,14 +30,20 @@ LATEX2HTML does also a good job in rapid web site deployment. These
pages are generated from a single LATEX source. pages are generated from a single LATEX source.
%prep %prep
%setup -q -c -a 0 %setup -q -n %{name}-%{version} -c -a 0
pushd %{name}-%{version} pushd %{name}-%{version}
# patch latex2html to support tabularx environments better
%patch0 -p1 -b .tabularx
# Patch from Oliver Paukstadt <oliver.paukstadt@millenux.com> # Patch from Oliver Paukstadt <oliver.paukstadt@millenux.com>
%patch -P1 -p2 -b .config %patch1 -p2 -b .config
# fix SHLIBDIR # fix SHLIBDIR
%patch -P2 -p1 -b .shlib %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 # remove all platforms we don't need
for i in Dos Mac OS2 Win32; do for i in Dos Mac OS2 Win32; do
@ -196,7 +199,7 @@ make -C %{name}-%{version}JA check
%endif %endif
%files %files
%doc latex2html-%{version}/{LICENSE,README.md,FAQ,BUGS,docs,example} %doc latex2html-%{version}/{LICENSE,LICENSE.orig,README.md,FAQ,BUGS,docs,example}
%{_bindir}/latex2html %{_bindir}/latex2html
%{_bindir}/pstoimg %{_bindir}/pstoimg
%{_bindir}/texexpand %{_bindir}/texexpand
@ -218,83 +221,6 @@ make -C %{name}-%{version}JA check
%{_mandir}/man1/pstoimg.* %{_mandir}/man1/pstoimg.*
%changelog %changelog
* Tue Nov 12 2024 Than Ngo <than@redhat.com> - 2023.2-7
- Remove .orig file
Related: RHEL-64018
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2023.2-6
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2023.2-5
- Bump release for June 2024 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 * Fri Jun 22 2018 Than Ngo <than@redhat.com> - 2018.2-2
- update l2h-2017-jp20180308 - update l2h-2017-jp20180308

View File

@ -1,16 +0,0 @@
---
summary: Tier1 plan for latex2html
discover:
how: fmf
url: https://pkgs.devel.redhat.com/git/tests/latex2html
ref: master
filter: tier:1
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream or distro == fedora

View File

@ -1,3 +1,3 @@
SHA512 (l2h-2017-jp20180308.tar.gz) = 57dfdaf6a3ab3098b728385b842bd6c6d4266724d870763390ba04474cd735beb5abbb66e545234853f63cdd38eb5c427cec0a9cc96997a011ad7d480b56184a
SHA512 (latex2html-2018.2.tar.gz) = 62c7f3de9dbcb43b69b8d7b71dc9200a02100a8ac9ce027a741a448b24b4e20b6ba7ae870a9d154527ef6124c660bac53868a4de9a365bd790a18ad01a5f6f36
SHA512 (latex2html-manpages.tar.gz) = 113fdc27c9ab5c2d7ef76c86eb5b55bccf30077e987fd1645ae9c8f96d037372d9446b13d73b2ad3cf7655787366ac7ee8899db8682e354fe3a1acec4e92b829 SHA512 (latex2html-manpages.tar.gz) = 113fdc27c9ab5c2d7ef76c86eb5b55bccf30077e987fd1645ae9c8f96d037372d9446b13d73b2ad3cf7655787366ac7ee8899db8682e354fe3a1acec4e92b829
SHA512 (latex2html-2023.2.tar.gz) = 0d2ba7b943249239eeb1b9fbba42b1c8e001e07cd2da42db11700cbef798eb37f45fa1270f6193e60b29eda2006f79647a197fc3414549d57b5abf70e8939ddf
SHA512 (l2h-2023-jp3.2b1.37.tar.gz) = a5278225dca1eb41b309006dd6a25a4120a2b78936abedd1e54de3850e1ec673d43e2cfc8e9cc212c46d06e2b4fbc0bb2e536c797b8d1f9a568c782e0cb0d239

View File

@ -1,10 +0,0 @@
--- teTeX-1.0/latex2html-2K.1beta/config/config.pl.orig Fri May 4 12:26:45 2001
+++ teTeX-1.0/latex2html-2K.1beta/config/config.pl Fri May 4 12:27:11 2001
@@ -566,6 +566,7 @@
&checking('if perl supports some dbm');
+use DB_File;
my %array;
unless(eval {dbmopen(%array,'DBMtest',0755)}) {
my $err = $@ || 'dbmopen failed';