Name: perl-HTML-FormatText-WithLinks-AndTables
Version: 0.07
Release: 13%{?dist}
Summary: Converts HTML to Text with tables in tact
License: Artistic 2.0
URL: https://metacpan.org/release/HTML-FormatText-WithLinks-AndTables
BuildArch: noarch
Source0: https://cpan.metacpan.org/authors/id/D/DA/DALEEVANS/HTML-FormatText-WithLinks-AndTables-%{version}.tar.gz
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(base)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(HTML::FormatText::WithLinks)
BuildRequires: perl(HTML::TreeBuilder)
BuildRequires: perl(strict)
BuildRequires: perl(Test::More)
BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This module was inspired by HTML::FormatText::WithLinks which has proven to
be a useful "lynx -dump" work-alike. However one frustration was that no
other HTML converters I came across had the ability to deal effectively
with HTML
s. This module can in a rudimentary sense do so. The aim
was to provide facility to take a simple HTML based email template, and to
also convert it to text with the structure intact for inclusion as
"multi-part/alternative" content. Further, it will preserve both the
formatting specified by the tag's "align" attribute, and will also
preserve multi-line text inside of a | element provided it is broken
using tags.
%prep
%setup -q -n HTML-FormatText-WithLinks-AndTables-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -delete
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%license LICENSE
%doc Changes README.pod
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Tue Jul 28 2020 Fedora Release Engineering - 0.07-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jun 25 2020 Jitka Plesnikova - 0.07-12
- Perl 5.32 rebuild
* Thu Jan 30 2020 Fedora Release Engineering - 0.07-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering - 0.07-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 2019 Jitka Plesnikova - 0.07-9
- Perl 5.30 rebuild
* Fri Feb 01 2019 Fedora Release Engineering - 0.07-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering - 0.07-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Jun 29 2018 Jitka Plesnikova - 0.07-6
- Perl 5.28 rebuild
* Thu Feb 08 2018 Fedora Release Engineering - 0.07-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering - 0.07-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jun 05 2017 Jitka Plesnikova - 0.07-3
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering - 0.07-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Dec 22 2016 Petr Pisar - 0.07-1
- 0.07 bump (bug #1405329)
* Tue May 17 2016 Jitka Plesnikova - 0.06-3
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering - 0.06-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Tue Nov 10 2015 Jitka Plesnikova - 0.06-1
- 0.06 bump
* Thu Jun 18 2015 Fedora Release Engineering - 0.02-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Tue Jun 09 2015 Jitka Plesnikova - 0.02-8
- Perl 5.22 rebuild
* Mon Sep 01 2014 Jitka Plesnikova - 0.02-7
- Perl 5.20 rebuild
* Sat Jun 07 2014 Fedora Release Engineering - 0.02-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun Aug 04 2013 Petr Pisar - 0.02-5
- Perl 5.18 rebuild
* Sat Aug 03 2013 Fedora Release Engineering - 0.02-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Feb 21 2013 Peter Robinson 0.02-3
- Merge newer from F18, modernise SPEC
* Fri Feb 15 2013 Jeff fearn 0.02-1
- New Upstream
* Thu Feb 14 2013 Fedora Release Engineering - 0.01-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jul 20 2012 Fedora Release Engineering - 0.01-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Thu Jun 21 2012 Petr Pisar - 0.01-4
- Perl 5.16 rebuild
* Fri Jan 13 2012 Fedora Release Engineering - 0.01-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Sun Jun 26 2011 RĂ¼diger Landmann 0.01-2
- rm duplicate Requires
- verify license
- clean up spellings in description
* Tue Jun 07 2011 Jeff fearn 0.01-1
- Specfile autogenerated by cpanspec 1.78.
|