|
|
@ -2,23 +2,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Converts LaTeX documents to HTML
|
|
|
|
Summary: Converts LaTeX documents to HTML
|
|
|
|
Name: latex2html
|
|
|
|
Name: latex2html
|
|
|
|
Version: 2018.2
|
|
|
|
Version: 2020.2
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 5%{?dist}
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
Group: Applications/Publishing
|
|
|
|
URL: https://github.com/latex2html/latex2html/releases
|
|
|
|
URL: http://www.latex2html.org/
|
|
|
|
|
|
|
|
# main latex2html source
|
|
|
|
# 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
|
|
|
|
Source1: cfgcache.pm
|
|
|
|
Source2: %{name}-manpages.tar.gz
|
|
|
|
Source2: %{name}-manpages.tar.gz
|
|
|
|
# support for Japanese
|
|
|
|
# support for Japanese
|
|
|
|
Source3: http://takeno.iee.niit.ac.jp/~shige/TeX/latex2html/data2/l2h-2017-jp20180308.tar.gz
|
|
|
|
# http://takeno.iee.niit.ac.jp/~shige/TeX/latex2html/
|
|
|
|
Patch0: latex2html-2K.1beta-tabularx.patch
|
|
|
|
Source3: http://takeno.iee.niit.ac.jp/~shige/TeX/latex2html/data2/l2h-2020-jp20200515.tar.gz
|
|
|
|
Patch1: latex2html-2018.2-teTeX-l2h-config.patch
|
|
|
|
Patch1: latex2html-2018.2-teTeX-l2h-config.patch
|
|
|
|
Patch4: latex2html-2002-2-1-SHLIB.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
|
|
|
|
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)
|
|
|
|
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: make
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -33,18 +35,12 @@ pages are generated from a single LATEX source.
|
|
|
|
%setup -q -n %{name}-%{version} -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>
|
|
|
|
%patch1 -p2 -b .config
|
|
|
|
%patch1 -p2 -b .config
|
|
|
|
|
|
|
|
|
|
|
|
# fix SHLIBDIR
|
|
|
|
# fix SHLIBDIR
|
|
|
|
%patch4 -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
|
|
|
|
rm -f L2hos/${i}.pm
|
|
|
|
rm -f L2hos/${i}.pm
|
|
|
@ -221,8 +217,51 @@ make -C %{name}-%{version}JA check
|
|
|
|
%{_mandir}/man1/pstoimg.*
|
|
|
|
%{_mandir}/man1/pstoimg.*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Thu Dec 07 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2018.2-2
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2020.2-5
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2020.2-4
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|