2007-01-15 23:21:08 +00:00
|
|
|
#
|
2011-03-24 15:47:44 +00:00
|
|
|
# spec file for package latex2html
|
2007-01-15 23:21:08 +00:00
|
|
|
#
|
2020-12-28 09:22:46 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2007-01-15 23:21:08 +00:00
|
|
|
#
|
2008-11-29 22:19:40 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-12-31 08:22:50 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:21:08 +00:00
|
|
|
#
|
|
|
|
|
2008-03-19 13:23:26 +00:00
|
|
|
|
2017-07-10 07:07:54 +00:00
|
|
|
%define share_dir %{_datadir}/latex2html
|
2020-12-28 09:22:46 +00:00
|
|
|
%define _texmfmaindir %{_datadir}/texmf
|
2007-02-12 00:33:33 +00:00
|
|
|
Name: latex2html
|
2020-12-28 09:22:46 +00:00
|
|
|
Version: 2020.2
|
2013-02-05 18:11:01 +00:00
|
|
|
Release: 0
|
2013-11-25 15:11:25 +00:00
|
|
|
Summary: LaTeX to HTML Converter
|
2018-12-31 08:22:50 +00:00
|
|
|
License: GPL-2.0-or-later
|
2013-02-05 18:11:01 +00:00
|
|
|
Group: Productivity/Publishing/TeX/Utilities
|
2019-12-19 11:35:58 +00:00
|
|
|
URL: https://github.com/latex2html/latex2html/
|
2019-09-11 18:52:16 +00:00
|
|
|
Source0: https://github.com/latex2html/latex2html/archive/v%{version}.tar.gz
|
2013-11-25 15:11:25 +00:00
|
|
|
Source1: latex2html-manual.tar.bz2
|
2015-12-16 15:05:06 +00:00
|
|
|
Patch0: latex2html-share-dir.diff
|
|
|
|
Patch1: latex2html-perl-bindir.diff
|
|
|
|
Patch2: latex2html-dest-dir.diff
|
|
|
|
Patch3: latex2html-binmode.diff
|
|
|
|
Patch4: latex2html-backref-workaround.diff
|
2017-07-10 07:07:54 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: ghostscript-fonts-std
|
|
|
|
BuildRequires: ghostscript-x11
|
|
|
|
BuildRequires: netpbm
|
|
|
|
BuildRequires: texlive-dvips
|
|
|
|
BuildRequires: texlive-kpathsea
|
|
|
|
BuildRequires: texlive-latex
|
|
|
|
Requires: ghostscript_any
|
|
|
|
Requires: latex2html-pngicons
|
|
|
|
Requires: netpbm
|
|
|
|
Requires: perl
|
|
|
|
Requires: texlive-dvips
|
|
|
|
Requires: texlive-latex
|
2019-09-30 07:13:08 +00:00
|
|
|
Requires: texlive-preview
|
2017-07-10 07:07:54 +00:00
|
|
|
BuildArch: noarch
|
2007-01-15 23:21:08 +00:00
|
|
|
|
|
|
|
%description
|
2017-07-10 11:53:27 +00:00
|
|
|
LaTeX2HTML lets you convert basic LaTeX documents into the HTML
|
2007-02-12 00:33:33 +00:00
|
|
|
format. This allows both a written and online version even of older
|
|
|
|
LaTeX texts.
|
2007-01-15 23:21:08 +00:00
|
|
|
|
|
|
|
%package pngicons
|
2013-11-25 15:11:25 +00:00
|
|
|
Summary: Icons in the PNG format for LateX2HTML
|
2018-12-31 08:22:50 +00:00
|
|
|
License: GPL-2.0-or-later
|
2013-02-05 18:11:01 +00:00
|
|
|
Group: Productivity/Publishing/TeX/Utilities
|
2007-01-15 23:21:08 +00:00
|
|
|
|
|
|
|
%description pngicons
|
|
|
|
Icons in the PNG format for the LaTeX to HTML Converter.
|
|
|
|
|
2009-02-06 17:13:23 +00:00
|
|
|
%package doc
|
2017-07-10 11:53:27 +00:00
|
|
|
Summary: Documentation for the Latex2HTML Converter
|
2018-12-31 08:22:50 +00:00
|
|
|
License: GPL-2.0-or-later AND LPPL-1.3c
|
2013-02-05 18:11:01 +00:00
|
|
|
Group: Productivity/Publishing/TeX/Utilities
|
2009-02-06 17:13:23 +00:00
|
|
|
|
|
|
|
%description doc
|
2017-07-10 11:53:27 +00:00
|
|
|
This subpackage contains the documentation for the Latex2HTML converter.
|
2009-02-06 17:13:23 +00:00
|
|
|
|
2007-01-15 23:21:08 +00:00
|
|
|
%prep
|
2017-07-10 07:07:54 +00:00
|
|
|
%setup -q -a 1
|
2013-11-25 15:11:25 +00:00
|
|
|
%patch0
|
2007-01-15 23:21:08 +00:00
|
|
|
%patch1
|
|
|
|
%patch2
|
2007-02-12 00:33:33 +00:00
|
|
|
%patch3
|
2009-02-06 17:13:23 +00:00
|
|
|
%patch4
|
2007-01-15 23:21:08 +00:00
|
|
|
|
|
|
|
%build
|
2017-07-10 07:07:54 +00:00
|
|
|
# Not autotools based configure
|
2007-01-15 23:21:08 +00:00
|
|
|
./configure --prefix=%{_prefix}
|
2020-12-28 09:22:46 +00:00
|
|
|
%make_build
|
2007-01-15 23:21:08 +00:00
|
|
|
|
|
|
|
%install
|
2017-07-10 07:07:54 +00:00
|
|
|
%make_install
|
2013-11-25 15:11:25 +00:00
|
|
|
mkdir -p %{buildroot}/%{_mandir}/man1
|
2019-09-11 18:52:16 +00:00
|
|
|
install -m 644 latex2html.1 %{buildroot}/%{_mandir}/man1
|
2018-12-31 08:22:50 +00:00
|
|
|
rm -r %{buildroot}%{share_dir}/{docs,example,dot.latex2html-init}
|
2013-11-25 15:11:25 +00:00
|
|
|
chmod 755 %{buildroot}%{_datadir}/%{name}/{cweb2html/makemake.pl,cweb2html/cweb2html,makemap,makeseg/makeseg}
|
|
|
|
%fdupes -s %{buildroot}
|
2007-01-15 23:21:08 +00:00
|
|
|
|
2013-06-25 11:12:33 +00:00
|
|
|
%check
|
2020-12-28 09:22:46 +00:00
|
|
|
%make_build test
|
2019-09-26 06:27:11 +00:00
|
|
|
find manual tests \( -name \*.log -o -name \*.aux \) -delete
|
2007-01-15 23:21:08 +00:00
|
|
|
|
|
|
|
%files
|
2019-09-11 18:52:16 +00:00
|
|
|
%doc Changes FAQ README.md TODO dot.latex2html-init
|
2017-07-10 07:07:54 +00:00
|
|
|
%{_prefix}/lib/latex2html
|
2007-01-15 23:21:08 +00:00
|
|
|
%dir %{share_dir}
|
|
|
|
%{share_dir}/*.pm
|
|
|
|
%{share_dir}/IndicTeX-HTML
|
|
|
|
%{share_dir}/L2hos
|
|
|
|
%{share_dir}/XyMTeX-HTML
|
|
|
|
%{share_dir}/cweb2html
|
|
|
|
%{share_dir}/foilhtml
|
|
|
|
%{share_dir}/icons/*.html
|
|
|
|
%{share_dir}/icons/*.gif
|
|
|
|
%{share_dir}/makemap
|
|
|
|
%{share_dir}/makeseg
|
|
|
|
%{share_dir}/styles
|
|
|
|
%{share_dir}/texinputs
|
|
|
|
%{share_dir}/versions
|
2017-07-10 07:07:54 +00:00
|
|
|
%{_bindir}/*
|
2013-09-10 12:08:21 +00:00
|
|
|
%{_texmfmaindir}/tex/latex/html
|
2007-01-15 23:21:08 +00:00
|
|
|
%{_mandir}/man1/latex2html*
|
|
|
|
|
|
|
|
%files pngicons
|
|
|
|
%dir %{share_dir}
|
|
|
|
%dir %{share_dir}/icons
|
|
|
|
%{share_dir}/icons/*.png
|
|
|
|
|
2009-02-06 17:13:23 +00:00
|
|
|
%files doc
|
2013-11-25 15:11:25 +00:00
|
|
|
%doc manual
|
2009-02-06 17:13:23 +00:00
|
|
|
%doc tests
|
|
|
|
%doc example
|
|
|
|
|
2007-04-20 21:27:46 +00:00
|
|
|
%changelog
|