Name: perl-HTML-FormatText-WithLinks-AndTables Version: 0.07 Release: 26%{?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 # build requirements BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # runtime requirements BuildRequires: perl(HTML::FormatText::WithLinks) BuildRequires: perl(HTML::TreeBuilder) BuildRequires: perl(base) BuildRequires: perl(strict) BuildRequires: perl(warnings) # test requirements BuildRequires: perl(Test::More) %{?perl_default_filter} %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} /usr/bin/chmod -x Changes %build /usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check %{make_build} test %files %license LICENSE %doc Changes README.pod %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 19 2024 Fedora Release Engineering - 0.07-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Apr 20 2024 Miroslav Suchý - 0.07-25 - convert license to SPDX * Thu Jan 25 2024 Fedora Release Engineering - 0.07-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.07-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.07-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.07-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.07-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.07-19 - Perl 5.36 rebuild * Mon Jan 24 2022 Emmanuel Seyman - 0.07-18 - Replace %%{__perl} with /usr/bin/perl - Use %%{make_build} and %%{make_install} where appropriate - Pass NO_PACKLIST and NO_PERLLOCAL to Makefile.PL - Minor improvements to the spec file * Fri Jan 21 2022 Fedora Release Engineering - 0.07-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.07-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 0.07-15 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.07-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * 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.