forked from pool/latex2html
- updated to 2018
* config: avoid warning "untie attempted" * Handle . not in @INC for images.pl and internals.pl * fix \graphicspath with relative path in preamble https://github.com/latex2html/latex2html/issues/40 * \providecommand should not redefine existing command * Picture generation via dvipng * KOI8-R, CP1251 and UTF-8 support for Russian * default to white background for rendering images. if $LATEX_COLOR set, pass as transparency color to pstoimg. https://bugs.debian.org/188024 * usepackage xcolor. uses rgb black rather than cmyk black. fixes eqns appearing as dark grey rather than black. * Fix stray comment mark: Issue #19 - altered patches % latex2html-perl-bindir.diff % latex2html-perl526.patch OBS-URL: https://build.opensuse.org/package/show/Publishing/latex2html?expand=0&rev=32
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package latex2html
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,16 +12,16 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define share_dir %{_datadir}/latex2html
|
||||
Name: latex2html
|
||||
Version: 2017.2
|
||||
Version: 2018
|
||||
Release: 0
|
||||
Summary: LaTeX to HTML Converter
|
||||
License: GPL-2.0+
|
||||
License: GPL-2.0-or-later
|
||||
Group: Productivity/Publishing/TeX/Utilities
|
||||
Url: http://www.ctan.org/tex-archive/support/latex2html
|
||||
Source0: http://mirrors.ctan.org/support/latex2html/latex2html-%{version}.tar.gz
|
||||
@@ -50,7 +50,7 @@ Requires: perl
|
||||
Requires: texlive-dvips
|
||||
Requires: texlive-latex
|
||||
BuildArch: noarch
|
||||
%{expand: %%global _texmfmaindir %(kpsewhich -expand-var='$TEXMFMAIN')}
|
||||
%define _texmfmaindir %{_datadir}/texmf
|
||||
|
||||
%description
|
||||
LaTeX2HTML lets you convert basic LaTeX documents into the HTML
|
||||
@@ -59,7 +59,7 @@ LaTeX texts.
|
||||
|
||||
%package pngicons
|
||||
Summary: Icons in the PNG format for LateX2HTML
|
||||
License: GPL-2.0+
|
||||
License: GPL-2.0-or-later
|
||||
Group: Productivity/Publishing/TeX/Utilities
|
||||
|
||||
%description pngicons
|
||||
@@ -67,7 +67,7 @@ Icons in the PNG format for the LaTeX to HTML Converter.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for the Latex2HTML Converter
|
||||
License: GPL-2.0+ AND LPPL-1.3c
|
||||
License: GPL-2.0-or-later AND LPPL-1.3c
|
||||
Group: Productivity/Publishing/TeX/Utilities
|
||||
|
||||
%description doc
|
||||
@@ -93,7 +93,7 @@ make %{?_smp_mflags}
|
||||
%make_install
|
||||
mkdir -p %{buildroot}/%{_mandir}/man1
|
||||
install -m 644 %{SOURCE5} %{buildroot}/%{_mandir}/man1
|
||||
rm -r %{buildroot}%{share_dir}/{docs,example,dot.latex2html-init,readme.hthtml}
|
||||
rm -r %{buildroot}%{share_dir}/{docs,example,dot.latex2html-init}
|
||||
chmod 755 %{buildroot}%{_datadir}/%{name}/{cweb2html/makemake.pl,cweb2html/cweb2html,makemap,makeseg/makeseg}
|
||||
%fdupes -s %{buildroot}
|
||||
|
||||
@@ -101,7 +101,7 @@ chmod 755 %{buildroot}%{_datadir}/%{name}/{cweb2html/makemake.pl,cweb2html/cweb2
|
||||
LATEX2HTMLDIR=%{buildroot}/%{share_dir} ./latex2html --test_mode %{SOURCE3}
|
||||
|
||||
%files
|
||||
%doc README.SUSE Changes FAQ README.md TODO dot.latex2html-init readme.hthtml
|
||||
%doc README.SUSE Changes FAQ README.md TODO dot.latex2html-init
|
||||
%{_prefix}/lib/latex2html
|
||||
%dir %{share_dir}
|
||||
%{share_dir}/*.pm
|
||||
|
Reference in New Issue
Block a user