Package perl-HTML-FormatText-WithLinks-AndTables: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | # BEGIN SourceDeps(oneline): BuildRequires(pre): rpm-build-perl BuildRequires: perl(Pod/Coverage/TrustPod.pm) perl(Test/Pod.pm) perl(Test/Pod/Coverage.pm) perl-podlators # END SourceDeps(oneline) # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Name: perl-HTML-FormatText-WithLinks-AndTables Version: 0.07 Release: alt1_6 Summary: Converts HTML to Text with tables in tact License: Artistic 2.0 Group: Development/Other 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: perl-devel BuildRequires: rpm-build-perl BuildRequires: perl(base.pm) BuildRequires: perl(ExtUtils/MakeMaker.pm) BuildRequires: perl(HTML/FormatText/WithLinks.pm) BuildRequires: perl(HTML/TreeBuilder.pm) BuildRequires: perl(strict.pm) BuildRequires: perl(Test/More.pm) BuildRequires: perl(warnings.pm) Source44: import.info %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 <TABLE>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 <TABLE> structure intact for inclusion as "multi-part/alternative" content. Further, it will preserve both the formatting specified by the <TD> tag's "align" attribute, and will also preserve multi-line text inside of a <TD> element provided it is broken using <BR/> tags. %prep %setup -q -n HTML-FormatText-WithLinks-AndTables-%{version} %build perl Makefile.PL INSTALLDIRS=vendor %make_build %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 %doc --no-dereference LICENSE %doc Changes README.pod %{perl_vendor_privlib}/* %changelog * Sat Jul 14 2018 Igor Vlasenko <viy@altlinux.ru> 0.07-alt1_6 - update to new release by fcimport * Mon Oct 02 2017 Igor Vlasenko <viy@altlinux.ru> 0.07-alt1_4 - update to new release by fcimport * Thu Aug 03 2017 Igor Vlasenko <viy@altlinux.ru> 0.07-alt1_3 - update to new release by fcimport * Thu Mar 16 2017 Igor Vlasenko <viy@altlinux.ru> 0.07-alt1_2 - update to new release by fcimport * Sun Dec 18 2016 Igor Vlasenko <viy@altlinux.ru> 0.07-alt1 - automated CPAN update * Mon Mar 07 2016 Igor Vlasenko <viy@altlinux.ru> 0.06-alt1_2 - update to new release by fcimport * Sun Dec 27 2015 Igor Vlasenko <viy@altlinux.ru> 0.06-alt1_1 - update to new release by fcimport * Wed Nov 11 2015 Igor Vlasenko <viy@altlinux.ru> 0.06-alt1 - automated CPAN update * Sun Sep 20 2015 Igor Vlasenko <viy@altlinux.ru> 0.02-alt2_9 - update to new release by fcimport * Mon Oct 27 2014 Igor Vlasenko <viy@altlinux.ru> 0.02-alt2_7 - update to new release by fcimport * Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 0.02-alt2_6 - update to new release by fcimport * Mon Aug 12 2013 Igor Vlasenko <viy@altlinux.ru> 0.02-alt2_5 - update to new release by fcimport * Tue Mar 19 2013 Igor Vlasenko <viy@altlinux.ru> 0.02-alt2_3 - build for Sisyphus * Mon Mar 04 2013 Igor Vlasenko <viy@altlinux.ru> 0.02-alt1_3 - update to new release by fcimport * Mon Dec 03 2012 Igor Vlasenko <viy@altlinux.ru> 0.02-alt1_2 - update to new release by fcimport * Tue Jul 31 2012 Igor Vlasenko <viy@altlinux.ru> 0.01-alt1_5 - update to new release by fcimport * Wed May 23 2012 Igor Vlasenko <viy@altlinux.ru> 0.01-alt1_3 - fc import |