Name: perl-MIME-Lite-HTML
Version: 1.24
Release: 33%{?dist}
Summary: Provide routine to transform a HTML page in a MIME-Lite mail
License: GPL+ or Artistic
URL: https://metacpan.org/release/MIME-Lite-HTML
Source0: https://cpan.metacpan.org/modules/by-module/MIME/MIME-Lite-HTML-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: glibc-common
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
# Run-time:
BuildRequires: perl(Exporter)
BuildRequires: perl(HTML::LinkExtor)
BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl(MIME::Lite)
BuildRequires: perl(strict)
BuildRequires: perl(URI::URL)
BuildRequires: perl(vars)
# Tests:
BuildRequires: perl(Test)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This module is a Perl mail client interface for sending message that
support HTML format and build them for you.. This module provides routine to
transform an HTML page in a MIME::Lite mail. So you need this module to use
MIME-Lite-HTML possibilities.
%prep
%setup -q -n MIME-Lite-HTML-%{version}
chmod a-x README Changes HTML.pm
iconv -f iso8859-1 -t utf-8 Changes > Changes.utf8 && \
touch -r Changes Changes.utf8 && \
mv -f Changes.utf8 Changes
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
# The 2 following tests are broken by MIME::Lite 3.029
# Headers order is not quaranteed so relying on that to test the module is
# doomed to fail.
# Relevant bugs :
# MIME::Lite::HTML : http://rt.cpan.org/Public/Bug/Display.html?id=86020
# MIME::Lite : https://rt.cpan.org/Public/Bug/Display.html?id=79944
rm -f t/20create_image_part.t t/50generic.t
make test
%files
%doc Changes COPYING README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Fri Jul 22 2022 Fedora Release Engineering - 1.24-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jun 01 2022 Jitka Plesnikova - 1.24-32
- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering - 1.24-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering - 1.24-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sun May 23 2021 Jitka Plesnikova - 1.24-29
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering - 1.24-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering - 1.24-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova - 1.24-26
- Perl 5.32 rebuild
* Thu Jan 30 2020 Fedora Release Engineering - 1.24-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering - 1.24-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 2019 Jitka Plesnikova - 1.24-23
- Perl 5.30 rebuild
* Fri Feb 01 2019 Fedora Release Engineering - 1.24-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering - 1.24-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Jun 29 2018 Jitka Plesnikova - 1.24-20
- Perl 5.28 rebuild
* Thu Feb 08 2018 Fedora Release Engineering - 1.24-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering - 1.24-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Tue Jun 06 2017 Jitka Plesnikova - 1.24-17
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering - 1.24-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon May 16 2016 Jitka Plesnikova - 1.24-15
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering - 1.24-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Oct 15 2015 Petr Pisar - 1.24-13
- Specify all dependencies
* Thu Jun 18 2015 Fedora Release Engineering - 1.24-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Jun 06 2015 Jitka Plesnikova - 1.24-11
- Perl 5.22 rebuild
* Thu Aug 28 2014 Jitka Plesnikova - 1.24-10
- Perl 5.20 rebuild
* Sat Jun 07 2014 Fedora Release Engineering - 1.24-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Tue Oct 22 2013 Xavier Bachelot 1.24-8
- Fix FTBS by removing tests broken by MIME::Lite 3.029 (RHBZ#914295).
* Sat Aug 03 2013 Fedora Release Engineering - 1.24-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Jul 24 2013 Petr Pisar - 1.24-6
- Perl 5.18 rebuild
* Thu Feb 14 2013 Fedora Release Engineering - 1.24-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jul 20 2012 Fedora Release Engineering - 1.24-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jun 15 2012 Petr Pisar - 1.24-3
- Perl 5.16 rebuild
* Fri Jan 13 2012 Fedora Release Engineering - 1.24-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Oct 10 2011 Xavier Bachelot 1.24-1
- Update to 1.24.
* Wed Jul 20 2011 Petr Sabata - 1.23-3
- Perl mass rebuild
* Thu May 19 2011 Xavier Bachelot 1.23-2
- Clean up redundant Requires:.
* Mon May 02 2011 Xavier Bachelot 1.23-1
- Specfile autogenerated by cpanspec 1.78.