- update to 2018.2

- add check
This commit is contained in:
Than Ngo 2018-06-22 17:08:19 +02:00
parent 4d0e086c84
commit b304f75796
5 changed files with 26 additions and 19 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/latex2html-2012.tgz
/latex2html-2017.2.tar.gz
/l2h-2016-jp20160826.tar.gz
/latex2html-2018.2.tar.gz

View File

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

View File

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

View File

@ -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 <oliver.paukstadt@millenux.com>
%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 <than@redhat.com> - 2018.2-1
- update to 2018.2
- add check
* Thu Jun 14 2018 Than Ngo <than@redhat.com> - 2017.2-6
- fixed bz#1591144, buildroot issue

View File

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