## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 5; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec Name: LaTeXML Version: 0.8.6 Release: %autorelease Summary: Converts TeX and LaTeX to XML/HTML/ePub/MathML License: Public Domain URL: http://dlmf.nist.gov/LaTeXML/ Source0: http://search.cpan.org/CPAN/authors/id/B/BR/BRMILLER/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: findutils BuildRequires: make BuildRequires: perl(:VERSION) >= 5.10.1 BuildRequires: perl-generators BuildRequires: perl(Archive::Zip) BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(charnames) BuildRequires: perl(Cwd) BuildRequires: perl(Data::Dumper) BuildRequires: perl(DB_File) BuildRequires: perl(Encode) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Copy) BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) BuildRequires: perl(File::Temp) BuildRequires: perl(File::Which) BuildRequires: perl(FindBin) BuildRequires: perl(Getopt::Long) >= 2.37 BuildRequires: perl(HTTP::Request) BuildRequires: perl(HTTP::Response) BuildRequires: perl(Image::Size) BuildRequires: perl(IO::Socket) BuildRequires: perl(IO::String) BuildRequires: perl(JSON::XS) BuildRequires: perl(List::Util) BuildRequires: perl(LWP) BuildRequires: perl(Math::Trig) BuildRequires: perl(MIME::Base64) BuildRequires: perl(Parse::RecDescent) BuildRequires: perl(Pod::Find) BuildRequires: perl(Pod::Parser) BuildRequires: perl(POSIX) BuildRequires: perl(strict) BuildRequires: perl(Term::ANSIColor) BuildRequires: perl(Test::More) BuildRequires: perl(Text::Balanced) BuildRequires: perl(Text::Unidecode) BuildRequires: perl(Text::Wrap) BuildRequires: perl(Time::HiRes) BuildRequires: perl(Unicode::Normalize) BuildRequires: perl(URI) BuildRequires: perl(version) BuildRequires: perl(warnings) BuildRequires: perl(XML::LibXML) >= 1.61 BuildRequires: perl(XML::LibXSLT) >= 1.58 BuildRequires: tex(tex) BuildRequires: tex(latex) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(Getopt::Long) >= 2.37 Requires: perl(Image::Magick) Requires: perl(MIME::Base64) Requires: perl(Pod::Parser) Requires: perl(XML::LibXML) >= 1.61 Requires: perl(XML::LibXSLT) >= 1.58 Requires: tex(tex) Requires: tex(latex) Requires(post): tex(tex) Requires(postun): tex(tex) %global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Getopt::Long\\)$ %global __requires_exclude %__requires_exclude|^perl\\(XML::LibXML\\)$ %global __requires_exclude %__requires_exclude|^perl\\(XML::LibXSLT\\)$ %description LaTeXML is a converter that transforms TeX and LaTeX into XML/HTML/ePub/MathML and other formats. %prep %autosetup -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor TEXMF=%{_texmf_main} NOMKTEXLSR make %{?_smp_mflags} %check make test %install make pure_install DESTDIR=$RPM_BUILD_ROOT %{_fixperms} $RPM_BUILD_ROOT/* find $RPM_BUILD_ROOT -type f -name .packlist -delete %files %doc Changes manual.pdf README.pod %license LICENSE %{_bindir}/* %{perl_vendorlib}/* %{_mandir}/man1/* %{_mandir}/man3/* %{_texmf_main}/tex/latex/latexml/* %post mktexlsr >/dev/null 2>&1 || : %postun mktexlsr >/dev/null 2>&1 || : %changelog * Wed Jul 20 2022 Fedora Release Engineering 0.8.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova 0.8.6-4 - Perl 5.36 rebuild * Wed Jan 19 2022 Fedora Release Engineering - 0.8.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Nov 24 2021 W. Michael Petullo - 0.8.6-1 - New upstream version - Remove patch that was merged into 0.8.6 * Sat Jul 24 2021 W. Michael Petullo - 0.8.5-7 - More work to fix interaction with latest TeX Live (BZ #1969480) * Thu Jul 22 2021 W. Michael Petullo - 0.8.5-6 - Backport another patch to fix interaction with latest TeX Live (BZ #1969480) * Wed Jul 21 2021 W. Michael Petullo - 0.8.5-5 - Backport patch to fix interaction with latest TeX Live (BZ #1969480) * Wed Jul 21 2021 Fedora Release Engineering - 0.8.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 0.8.5-3 - Perl 5.34 rebuild * Mon Jan 25 2021 Fedora Release Engineering - 0.8.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Nov 17 2020 W. Michael Petullo - 0.8.5-1 - New upstream version - Remove patch that was merged into 0.8.5 * Mon Jul 27 2020 Fedora Release Engineering - 0.8.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.8.4-4 - Perl 5.32 rebuild * Mon May 25 2020 W. Michael Petullo - 0.8.4-3 - Patch to fix TikZ rendering issue while waiting for a merge into 0.8.5 * Tue Jan 28 2020 Fedora Release Engineering - 0.8.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Oct 13 2019 W. Michael Petullo - 0.8.4-1 - New upstream version * Wed Jul 24 2019 Fedora Release Engineering - 0.8.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Jun 12 2019 Jitka Plesnikova - 0.8.3-4 - Use perl-generators for getting - list of binary requires and provides - definition of perl macros removed from rpm >= 4.15 * Sat Jun 01 2019 Jitka Plesnikova - 0.8.3-3 - Perl 5.30 rebuild * Thu Jan 31 2019 Fedora Release Engineering - 0.8.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Aug 10 2018 W. Michael Petullo - 0.8.3-1 - New upstream version * Thu Jul 12 2018 Fedora Release Engineering - 0.8.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jul 06 2018 Petr Pisar - 0.8.2-2 - Perl 5.28 rebuild * Sun Jun 24 2018 W. Michael Petullo - 0.8.2-1 - Initial package