Name: perl-HTML-FormatText-WithLinks-AndTables Version: 0.01 Release: 2%{?dist} Summary: Converts HTML to Text with tables in tact License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/HTML-FormatText-WithLinks-AndTables/ Source0: http://www.cpan.org/authors/id/S/SF/SFRYER/HTML-FormatText-WithLinks-AndTables-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(HTML::FormatText::WithLinks) BuildRequires: perl(HTML::TreeBuilder) BuildRequires: perl(Test::More) Requires: perl(Test::More) 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
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 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 make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun Jun 26 2011 RĂ¼diger Landmann |