2024-01-06 03:33:18 +01:00
|
|
|
%define pkgver %(echo %version | tr . -)
|
|
|
|
Name: latex2html
|
2024-10-23 11:04:44 +02:00
|
|
|
Version: 2024.2
|
2024-01-06 03:33:18 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 03:33:18 +01:00
|
|
|
Summary: LATEX2HTML converts LATEX documents to HTML
|
|
|
|
Group: Applications/Publishing
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Aleph0 <aleph0@openmamba.org>
|
2024-01-06 03:33:18 +01:00
|
|
|
URL: https://www.latex2html.org
|
2024-01-06 03:33:18 +01:00
|
|
|
Source: https://github.com/latex2html/latex2html.git/v%{version}/latex2html-%{version}.tar.bz2
|
|
|
|
#Source: http://mirrors.ctan.org/support/latex2html/latex2html-%{version}.tar.gz
|
2024-01-06 03:33:18 +01:00
|
|
|
License: GPL
|
|
|
|
BuildArch: noarch
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 03:33:18 +01:00
|
|
|
BuildRequires: libperl
|
2024-01-06 03:33:19 +01:00
|
|
|
BuildRequires: perl-Encode
|
2024-01-06 03:33:18 +01:00
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 03:33:18 +01:00
|
|
|
BuildRequires: netpbm
|
2024-01-06 03:33:18 +01:00
|
|
|
BuildRequires: tetex
|
|
|
|
BuildRequires: tetex-dvips
|
|
|
|
BuildRequires: ghostscript
|
|
|
|
Requires: netpbm
|
|
|
|
|
|
|
|
%description
|
|
|
|
LATEX2HTML is a convertor written in Perl that converts LATEX documents to HTML.
|
|
|
|
This way e.g. scientific papers - primarily typeset for printing - can be put on the Web for online viewing.
|
|
|
|
LATEX2HTML does also a good job in rapid web site deployment.
|
|
|
|
It is designed to run on UNIX-like systems (e.g. Linux, Solaris, IRIX, Dec Unix, HP-UX, AIX) as well as Windows (95, 98, NT) systems.
|
|
|
|
|
2024-01-06 03:33:18 +01:00
|
|
|
#% debug_package
|
|
|
|
|
2024-01-06 03:33:18 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
# Win32.pm just need for Windows installations
|
|
|
|
rm -f L2hos/Win32.pm
|
|
|
|
|
|
|
|
%build
|
|
|
|
PERL=%{_bindir}/perl \
|
|
|
|
./configure \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--libdir=%{_libdir}/%{name} \
|
|
|
|
--shlibdir=%{_libdir}/%{name} \
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
## install LaTeX2HTML style files in TeX directory tree
|
|
|
|
#install -d %{buildroot}%{_datadir}/texmf-dist/tex/latex/html
|
|
|
|
#cp texinputs/* %{buildroot}%{_datadir}/texmf-dist/tex/latex/html/
|
|
|
|
|
|
|
|
# dirty hack
|
|
|
|
sed -i "s,%{_bindir}/perl[0-9\.]*,%{_bindir}/perl," %{buildroot}%{_bindir}/*
|
|
|
|
|
|
|
|
%clean
|
|
|
|
#[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_bindir}/pstoimg
|
|
|
|
%{_bindir}/texexpand
|
|
|
|
%dir %{_libdir}/%{name}/
|
|
|
|
%{_libdir}/%{name}/*
|
2024-01-06 03:33:18 +01:00
|
|
|
%dir %{_datadir}/texmf-dist/tex/latex/html/
|
|
|
|
%{_datadir}/texmf-dist/tex/latex/html/*
|
2024-01-06 03:33:18 +01:00
|
|
|
%doc LICENSE
|
|
|
|
# BUGS Changes FAQ README
|
|
|
|
|
|
|
|
%changelog
|
2024-10-23 11:04:44 +02:00
|
|
|
* Tue Oct 22 2024 Automatic Build System <autodist@openmamba.org> 2024.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:33:20 +01:00
|
|
|
* Tue Jan 02 2024 Automatic Build System <autodist@mambasoft.it> 2024-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:33:19 +01:00
|
|
|
* Sun Jul 02 2023 Automatic Build System <autodist@mambasoft.it> 2023.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:33:19 +01:00
|
|
|
* Mon Jan 02 2023 Automatic Build System <autodist@mambasoft.it> 2023-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:33:19 +01:00
|
|
|
* Sun Jul 03 2022 Automatic Build System <autodist@mambasoft.it> 2022.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:33:19 +01:00
|
|
|
* Sun Jan 02 2022 Automatic Build System <autodist@mambasoft.it> 2022-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:33:19 +01:00
|
|
|
* Sat Jul 03 2021 Automatic Build System <autodist@mambasoft.it> 2021.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:33:18 +01:00
|
|
|
* Sat Feb 06 2021 Automatic Build System <autodist@mambasoft.it> 2021-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:33:18 +01:00
|
|
|
* Sun Aug 30 2020 Automatic Build System <autodist@mambasoft.it> 2020.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:33:18 +01:00
|
|
|
* Thu Aug 15 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2019.2-1mamba
|
|
|
|
- update to 2019.2
|
|
|
|
|
2024-01-06 03:33:18 +01:00
|
|
|
* Wed Feb 08 2017 Automatic Build System <autodist@mambasoft.it> 2017.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:33:18 +01:00
|
|
|
* Fri Sep 16 2016 Automatic Build System <autodist@mambasoft.it> 2016-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 03:33:18 +01:00
|
|
|
* Fri May 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2015-1mamba
|
|
|
|
- update to 2015
|
|
|
|
|
2024-01-06 03:33:18 +01:00
|
|
|
* Thu Sep 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2012-1mamba
|
|
|
|
- update to 2012
|
|
|
|
|
2024-01-06 03:33:18 +01:00
|
|
|
* Tue Aug 20 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2008-2mamba
|
|
|
|
- migrated from %{_datadir}/texmf to %{_datadir}/texmf-dist
|
|
|
|
|
|
|
|
* Fri Mar 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2008-1mamba
|
|
|
|
- update to 2008
|
|
|
|
|
|
|
|
* Fri Dec 12 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2002.2.1-1mamba
|
|
|
|
- update to 2002.2.1
|
|
|
|
|
|
|
|
* Sat Jun 21 2008 Tiziana Ferro <tiziana.ferro@email.it> 2002-5mamba
|
|
|
|
- update Vendor, Distribution, Packager
|
|
|
|
|
|
|
|
* Wed Apr 12 2006 Davide Madrisan <davide.madrisan@qilinux.it> 2002-3qilnx
|
|
|
|
- do not require perl-<version>
|
|
|
|
|
|
|
|
* Mon Feb 27 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 2002-2qilnx
|
|
|
|
- specfile fixed and updated
|
|
|
|
- architecture changed to noarch
|
|
|
|
|
|
|
|
* Thu May 27 2004 Davide Madrisan <davide.madrisan@qilinux.it> 2002-1qilnx
|
|
|
|
- first build
|