update to 2023.2

This commit is contained in:
Than Ngo 2023-07-18 19:16:45 +02:00
parent d37b5e81ab
commit 26ddb30519
2 changed files with 13 additions and 10 deletions

View File

@ -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 <oliver.paukstadt@millenux.com>
%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 <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

View File

@ -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