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:
commit
9986170b6f
@ -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
3
latex2html-2017.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4b8c21ef292817c85ba553f560129723bcae4ee9a6ec7a22ce2289329db7c1ef
|
||||
size 1131438
|
@ -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
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,29 +16,14 @@
|
||||
#
|
||||
|
||||
|
||||
%define share_dir %{_datadir}/latex2html
|
||||
Name: latex2html
|
||||
BuildRequires: fdupes
|
||||
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
|
||||
Version: 2017.2
|
||||
Release: 0
|
||||
Summary: LaTeX to HTML Converter
|
||||
License: GPL-2.0+
|
||||
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
|
||||
Source1: latex2html-manual.tar.bz2
|
||||
Source2: latex2html-README.SUSE
|
||||
@ -50,10 +35,24 @@ Patch1: latex2html-perl-bindir.diff
|
||||
Patch2: latex2html-dest-dir.diff
|
||||
Patch3: latex2html-binmode.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
|
||||
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
|
||||
LaTeX texts.
|
||||
|
||||
@ -66,55 +65,42 @@ Group: Productivity/Publishing/TeX/Utilities
|
||||
Icons in the PNG format for the LaTeX to HTML Converter.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for Latex2HTML Converter
|
||||
License: GPL-2.0+ and LPPL-1.3c
|
||||
Summary: Documentation for the Latex2HTML Converter
|
||||
License: GPL-2.0+ AND LPPL-1.3c
|
||||
Group: Productivity/Publishing/TeX/Utilities
|
||||
|
||||
%description doc
|
||||
LaTeX2HTML lets you easily convert basic LaTeX documents into the HTML
|
||||
format. This allows both a written and online version even of older
|
||||
LaTeX texts.
|
||||
This subpackage contains the documentation for the Latex2HTML converter.
|
||||
|
||||
%prep
|
||||
%setup -a 1
|
||||
%setup -q -a 1
|
||||
%patch0
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3
|
||||
%patch4
|
||||
cp %{S:2} README.SUSE
|
||||
cp %{S:4} .
|
||||
cp %{SOURCE2} README.SUSE
|
||||
cp %{SOURCE4} .
|
||||
|
||||
%build
|
||||
# Not autotools based configure
|
||||
./configure --prefix=%{_prefix}
|
||||
make
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install
|
||||
%make_install
|
||||
mkdir -p %{buildroot}/%{_mandir}/man1
|
||||
install -m 644 %{S:5} %{buildroot}/%{_mandir}/man1
|
||||
rm -r %{buildroot}%{share_dir}/{docs,example,dot.latex2html-init,readme.hthtml}
|
||||
install -m 644 %{SOURCE5} %{buildroot}/%{_mandir}/man1
|
||||
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}
|
||||
#removing out-dated url.sty [#283760]
|
||||
rm %{buildroot}%{_texmfmaindir}/tex/latex/html/url.sty
|
||||
%fdupes -s %{buildroot}
|
||||
|
||||
%check
|
||||
LATEX2HTMLDIR=%buildroot/%{share_dir} ./latex2html --test_mode %{S:3}
|
||||
|
||||
%postun
|
||||
mkdir -p var/adm/SuSEconfig
|
||||
touch var/adm/SuSEconfig/run-texhash
|
||||
|
||||
%post
|
||||
mkdir -p var/adm/SuSEconfig
|
||||
touch var/adm/SuSEconfig/run-texhash
|
||||
LATEX2HTMLDIR=%{buildroot}/%{share_dir} ./latex2html --test_mode %{SOURCE3}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc README.SUSE
|
||||
%doc Changes FAQ README TODO dot.latex2html-init readme.hthtml
|
||||
/usr/lib/latex2html
|
||||
%doc README.SUSE Changes FAQ README.md TODO dot.latex2html-init readme.hthtml
|
||||
%{_prefix}/lib/latex2html
|
||||
%dir %{share_dir}
|
||||
%{share_dir}/*.pm
|
||||
%{share_dir}/IndicTeX-HTML
|
||||
@ -129,18 +115,16 @@ touch var/adm/SuSEconfig/run-texhash
|
||||
%{share_dir}/styles
|
||||
%{share_dir}/texinputs
|
||||
%{share_dir}/versions
|
||||
/usr/bin/*
|
||||
%{_bindir}/*
|
||||
%{_texmfmaindir}/tex/latex/html
|
||||
%{_mandir}/man1/latex2html*
|
||||
|
||||
%files pngicons
|
||||
%defattr(-, root, root)
|
||||
%dir %{share_dir}
|
||||
%dir %{share_dir}/icons
|
||||
%{share_dir}/icons/*.png
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
%doc manual
|
||||
%doc tests
|
||||
%doc example
|
||||
|
Loading…
x
Reference in New Issue
Block a user