SHA256
1
0
forked from pool/latex2html

Accepting request 509169 from Publishing

1

OBS-URL: https://build.opensuse.org/request/show/509169
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/latex2html?expand=0&rev=33
This commit is contained in:
Dominique Leuenberger 2017-07-11 06:23:54 +00:00 committed by Git OBS Bridge
commit 9986170b6f
4 changed files with 51 additions and 54 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ab1dbc18ab0ec62f65c1f8c14f2b74823a0a2fc54b07d73ca49524bcae071309
size 1149971

3
latex2html-2017.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4b8c21ef292817c85ba553f560129723bcae4ee9a6ec7a22ce2289329db7c1ef
size 1131438

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Jul 10 11:27:31 UTC 2017 - jengelh@inai.de
- Fix descriptions.
-------------------------------------------------------------------
Wed Jul 5 07:14:59 UTC 2017 - tchvatal@suse.com
- Version update to latest release 2017.2:
* Various small fixes
- Sort out with spec-cleaner
- Remove post/postun phases expecting suseconfig to be around
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 21 13:58:44 UTC 2016 - pgajdos@suse.com Mon Nov 21 13:58:44 UTC 2016 - pgajdos@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package latex2html # spec file for package latex2html
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,29 +16,14 @@
# #
%define share_dir %{_datadir}/latex2html
Name: latex2html Name: latex2html
BuildRequires: fdupes Version: 2017.2
BuildRequires: ghostscript-fonts-std
BuildRequires: ghostscript-x11
BuildRequires: netpbm
BuildRequires: texlive-dvips
BuildRequires: texlive-kpathsea
BuildRequires: texlive-latex
%{expand: %%global _texmfmaindir %(kpsewhich -expand-var='$TEXMFMAIN')}
%define share_dir /usr/share/latex2html
Url: http://www.ctan.org/tex-archive/support/latex2html
Requires: ghostscript_any
Requires: latex2html-pngicons
Requires: netpbm
Requires: perl
Requires: texlive-dvips
Requires: texlive-latex
Version: 2016
Release: 0 Release: 0
Summary: LaTeX to HTML Converter Summary: LaTeX to HTML Converter
License: GPL-2.0+ License: GPL-2.0+
Group: Productivity/Publishing/TeX/Utilities Group: Productivity/Publishing/TeX/Utilities
BuildArch: noarch Url: http://www.ctan.org/tex-archive/support/latex2html
Source0: http://mirrors.ctan.org/support/latex2html/latex2html-%{version}.tar.gz Source0: http://mirrors.ctan.org/support/latex2html/latex2html-%{version}.tar.gz
Source1: latex2html-manual.tar.bz2 Source1: latex2html-manual.tar.bz2
Source2: latex2html-README.SUSE Source2: latex2html-README.SUSE
@ -50,10 +35,24 @@ Patch1: latex2html-perl-bindir.diff
Patch2: latex2html-dest-dir.diff Patch2: latex2html-dest-dir.diff
Patch3: latex2html-binmode.diff Patch3: latex2html-binmode.diff
Patch4: latex2html-backref-workaround.diff Patch4: latex2html-backref-workaround.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build 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
BuildArch: noarch
%{expand: %%global _texmfmaindir %(kpsewhich -expand-var='$TEXMFMAIN')}
%description %description
LaTeX2HTML lets you easily convert basic LaTeX documents into the HTML LaTeX2HTML lets you convert basic LaTeX documents into the HTML
format. This allows both a written and online version even of older format. This allows both a written and online version even of older
LaTeX texts. LaTeX texts.
@ -66,55 +65,42 @@ Group: Productivity/Publishing/TeX/Utilities
Icons in the PNG format for the LaTeX to HTML Converter. Icons in the PNG format for the LaTeX to HTML Converter.
%package doc %package doc
Summary: Documentation for Latex2HTML Converter Summary: Documentation for the Latex2HTML Converter
License: GPL-2.0+ and LPPL-1.3c License: GPL-2.0+ AND LPPL-1.3c
Group: Productivity/Publishing/TeX/Utilities Group: Productivity/Publishing/TeX/Utilities
%description doc %description doc
LaTeX2HTML lets you easily convert basic LaTeX documents into the HTML This subpackage contains the documentation for the Latex2HTML converter.
format. This allows both a written and online version even of older
LaTeX texts.
%prep %prep
%setup -a 1 %setup -q -a 1
%patch0 %patch0
%patch1 %patch1
%patch2 %patch2
%patch3 %patch3
%patch4 %patch4
cp %{S:2} README.SUSE cp %{SOURCE2} README.SUSE
cp %{S:4} . cp %{SOURCE4} .
%build %build
# Not autotools based configure
./configure --prefix=%{_prefix} ./configure --prefix=%{_prefix}
make make %{?_smp_mflags}
%install %install
make DESTDIR=%{buildroot} install %make_install
mkdir -p %{buildroot}/%{_mandir}/man1 mkdir -p %{buildroot}/%{_mandir}/man1
install -m 644 %{S:5} %{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,readme.hthtml}
chmod 755 %{buildroot}%{_datadir}/%{name}/{cweb2html/makemake.pl,cweb2html/cweb2html,makemap,makeseg/makeseg} chmod 755 %{buildroot}%{_datadir}/%{name}/{cweb2html/makemake.pl,cweb2html/cweb2html,makemap,makeseg/makeseg}
#removing out-dated url.sty [#283760]
rm %{buildroot}%{_texmfmaindir}/tex/latex/html/url.sty
%fdupes -s %{buildroot} %fdupes -s %{buildroot}
%check %check
LATEX2HTMLDIR=%buildroot/%{share_dir} ./latex2html --test_mode %{S:3} LATEX2HTMLDIR=%{buildroot}/%{share_dir} ./latex2html --test_mode %{SOURCE3}
%postun
mkdir -p var/adm/SuSEconfig
touch var/adm/SuSEconfig/run-texhash
%post
mkdir -p var/adm/SuSEconfig
touch var/adm/SuSEconfig/run-texhash
%files %files
%defattr(-, root, root) %doc README.SUSE Changes FAQ README.md TODO dot.latex2html-init readme.hthtml
%doc README.SUSE %{_prefix}/lib/latex2html
%doc Changes FAQ README TODO dot.latex2html-init readme.hthtml
/usr/lib/latex2html
%dir %{share_dir} %dir %{share_dir}
%{share_dir}/*.pm %{share_dir}/*.pm
%{share_dir}/IndicTeX-HTML %{share_dir}/IndicTeX-HTML
@ -129,18 +115,16 @@ touch var/adm/SuSEconfig/run-texhash
%{share_dir}/styles %{share_dir}/styles
%{share_dir}/texinputs %{share_dir}/texinputs
%{share_dir}/versions %{share_dir}/versions
/usr/bin/* %{_bindir}/*
%{_texmfmaindir}/tex/latex/html %{_texmfmaindir}/tex/latex/html
%{_mandir}/man1/latex2html* %{_mandir}/man1/latex2html*
%files pngicons %files pngicons
%defattr(-, root, root)
%dir %{share_dir} %dir %{share_dir}
%dir %{share_dir}/icons %dir %{share_dir}/icons
%{share_dir}/icons/*.png %{share_dir}/icons/*.png
%files doc %files doc
%defattr(-,root,root)
%doc manual %doc manual
%doc tests %doc tests
%doc example %doc example