Blame LaTeXML.spec

3467e75
Name:           LaTeXML
c5006b5
Version:        0.8.3
aabade6
Release:        5%{?dist}
3467e75
Summary:        Converts TeX and LaTeX to XML/HTML/ePub/MathML
3467e75
3467e75
License:        Public Domain
3467e75
URL:            http://dlmf.nist.gov/LaTeXML/
3467e75
Source0:        http://search.cpan.org/CPAN/authors/id/B/BR/BRMILLER/%{name}-%{version}.tar.gz
3467e75
3467e75
BuildArch:      noarch
3467e75
1e9caf9
BuildRequires:  findutils
1e9caf9
BuildRequires:  make
1e9caf9
BuildRequires:  perl(:VERSION) >= 5.10.1
1e9caf9
BuildRequires:  perl-generators
3467e75
BuildRequires:  perl(Archive::Zip)
3467e75
BuildRequires:  perl(base)
3467e75
BuildRequires:  perl(Carp)
3467e75
BuildRequires:  perl(charnames)
3467e75
BuildRequires:  perl(Cwd)
3467e75
BuildRequires:  perl(Data::Dumper)
3467e75
BuildRequires:  perl(DB_File)
3467e75
BuildRequires:  perl(Encode)
3467e75
BuildRequires:  perl(ExtUtils::MakeMaker)
3467e75
BuildRequires:  perl(File::Copy)
3467e75
BuildRequires:  perl(File::Path)
3467e75
BuildRequires:  perl(File::Spec)
3467e75
BuildRequires:  perl(File::Temp)
3467e75
BuildRequires:  perl(File::Which)
3467e75
BuildRequires:  perl(FindBin)
3467e75
BuildRequires:  perl(Getopt::Long) >= 2.37
3467e75
BuildRequires:  perl(HTTP::Request)
3467e75
BuildRequires:  perl(HTTP::Response)
3467e75
BuildRequires:  perl(Image::Size)
3467e75
BuildRequires:  perl(IO::Socket)
3467e75
BuildRequires:  perl(IO::String)
3467e75
BuildRequires:  perl(JSON::XS)
3467e75
BuildRequires:  perl(List::Util)
3467e75
BuildRequires:  perl(LWP)
3467e75
BuildRequires:  perl(Math::Trig)
3467e75
BuildRequires:  perl(MIME::Base64)
3467e75
BuildRequires:  perl(Parse::RecDescent)
3467e75
BuildRequires:  perl(Pod::Find)
3467e75
BuildRequires:  perl(Pod::Parser)
3467e75
BuildRequires:  perl(POSIX)
3467e75
BuildRequires:  perl(strict)
3467e75
BuildRequires:  perl(Term::ANSIColor)
3467e75
BuildRequires:  perl(Test::More)
3467e75
BuildRequires:  perl(Text::Balanced)
3467e75
BuildRequires:  perl(Text::Unidecode)
3467e75
BuildRequires:  perl(Text::Wrap)
3467e75
BuildRequires:  perl(Time::HiRes)
3467e75
BuildRequires:  perl(Unicode::Normalize)
3467e75
BuildRequires:  perl(URI)
3467e75
BuildRequires:  perl(version)
3467e75
BuildRequires:  perl(warnings)
3467e75
BuildRequires:  perl(XML::LibXML) >= 1.61
3467e75
BuildRequires:  perl(XML::LibXSLT) >= 1.58
3467e75
BuildRequires:  tex(tex)
3467e75
BuildRequires:  tex(latex)
3467e75
1e9caf9
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
3467e75
Requires:       perl(Getopt::Long) >= 2.37
3467e75
Requires:       perl(Image::Magick)
3467e75
Requires:       perl(MIME::Base64)
3467e75
Requires:       perl(Pod::Parser)
3467e75
Requires:       perl(XML::LibXML) >= 1.61
3467e75
Requires:       perl(XML::LibXSLT) >= 1.58
3467e75
Requires:       tex(tex)
3467e75
Requires:       tex(latex)
3467e75
Requires(post): tex(tex)
3467e75
Requires(postun): tex(tex)
3467e75
1e9caf9
%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Getopt::Long\\)$
1e9caf9
%global __requires_exclude %__requires_exclude|^perl\\(XML::LibXML\\)$
1e9caf9
%global __requires_exclude %__requires_exclude|^perl\\(XML::LibXSLT\\)$
1e9caf9
3467e75
%description
3467e75
LaTeXML is a converter that transforms TeX and LaTeX into XML/HTML/ePub/MathML
3467e75
and other formats.
3467e75
3467e75
%prep
3467e75
%autosetup
3467e75
3467e75
%build
3467e75
%{__perl} Makefile.PL INSTALLDIRS=vendor TEXMF=%{_texmf_main} NOMKTEXLSR
3467e75
make %{?_smp_mflags}
3467e75
3467e75
%check
3467e75
make test
3467e75
3467e75
%install
3467e75
make pure_install DESTDIR=$RPM_BUILD_ROOT
3467e75
%{_fixperms} $RPM_BUILD_ROOT/*
1e9caf9
find $RPM_BUILD_ROOT -type f -name .packlist -delete
3467e75
3467e75
%files
3467e75
%doc Changes manual.pdf META.json README.pod
3467e75
%license LICENSE
3467e75
%{_bindir}/*
3467e75
%{perl_vendorlib}/*
3467e75
%{_mandir}/man1/*
3467e75
%{_mandir}/man3/*
3467e75
%{_texmf_main}/tex/latex/latexml/*
3467e75
3467e75
%post
3467e75
mktexlsr >/dev/null 2>&1 || :
3467e75
3467e75
%postun
3467e75
mktexlsr >/dev/null 2>&1 || :
3467e75
3467e75
%changelog
aabade6
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-5
aabade6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
aabade6
1e9caf9
* Wed Jun 12 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.8.3-4
1e9caf9
- Use perl-generators for getting
1e9caf9
  - list of binary requires and provides
1e9caf9
  - definition of perl macros removed from rpm >= 4.15
1e9caf9
aa444be
* Sat Jun 01 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.8.3-3
aa444be
- Perl 5.30 rebuild
aa444be
6fb4c28
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-2
6fb4c28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6fb4c28
c5006b5
* Fri Aug 10 2018 W. Michael Petullo <mike@flyn.org> - 0.8.3-1
c5006b5
- New upstream version
c5006b5
045190f
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-3
045190f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
045190f
dd2b997
* Fri Jul 06 2018 Petr Pisar <ppisar@redhat.com> - 0.8.2-2
dd2b997
- Perl 5.28 rebuild
dd2b997
3467e75
* Sun Jun 24 2018 W. Michael Petullo <mike@flyn.org> - 0.8.2-1
3467e75
- Initial package