[perl-HTML-FormatText-WithLinks/el5] new package for el5

RĂ¼diger Landmann rlandmann at fedoraproject.org
Mon Mar 31 22:38:17 UTC 2014


commit 9e815d0428efc90776d68b977640c82504bfb9ac
Author: Ruediger Landmann <r.landmann at redhat.com>
Date:   Tue Apr 1 08:38:39 2014 +1000

    new package for el5

 .gitignore                          |    1 +
 nobranch                            |    1 -
 perl-HTML-FormatText-WithLinks.spec |   70 +++++++++++++----------------------
 sources                             |    2 +-
 4 files changed, 28 insertions(+), 46 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f0ce043..24855c5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 HTML-FormatText-WithLinks-0.07.tar.gz
+/HTML-FormatText-WithLinks-0.14.tar.gz
diff --git a/perl-HTML-FormatText-WithLinks.spec b/perl-HTML-FormatText-WithLinks.spec
index d6e5fb9..a79bdee 100644
--- a/perl-HTML-FormatText-WithLinks.spec
+++ b/perl-HTML-FormatText-WithLinks.spec
@@ -1,73 +1,55 @@
 Name:           perl-HTML-FormatText-WithLinks
-Version:        0.09
+Version:        0.14
 Release:        1%{?dist}
 Summary:        HTML to text conversion with links as footnotes
-
+License:        GPL+ or Artistic
 Group:          Development/Libraries
-License:        Artistic or GPL
-URL:            http://search.cpan.org/dist/HTML-FormatText-WithLinks
-Source0:        http://search.cpan.org/CPAN/authors/id/S/ST/STRUAN/HTML-FormatText-WithLinks-%{version}.tar.gz
+URL:            http://search.cpan.org/dist/HTML-FormatText-WithLinks/
+Source0:        http://www.cpan.org/authors/id/S/ST/STRUAN/HTML-FormatText-WithLinks-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(HTML::FormatText) perl(HTML::TreeBuilder)
+BuildRequires:  perl(HTML::FormatText) >= 2
+BuildRequires:  perl(HTML::TreeBuilder)
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Test::More)
 BuildRequires:  perl(URI::WithBase)
-BuildRequires:  perl(Test::MockObject) perl(Test::Pod::Coverage) 
-BuildRequires:  perl(Test::Pod) perl(Test::More)
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-# not picked up automatically since it is called through SUPER
-Requires:  perl(HTML::FormatText)
+Requires:       perl(HTML::FormatText) >= 2
+Requires:       perl(HTML::TreeBuilder)
+Requires:       perl(URI::WithBase)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
-HTML::FormatText::WithLinks takes HTML and turns it into plain text but 
-prints all the links in the HTML as footnotes. By default, it attempts 
-to mimic the format of the lynx text based web browser's --dump option.
+HTML::FormatText::WithLinks takes HTML and turns it into plain text but
+prints all the links in the HTML as footnotes. By default, it attempts to
+mimic the format of the lynx text based web browser's --dump option.
 
 %prep
 %setup -q -n HTML-FormatText-WithLinks-%{version}
 
-
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
-
+%{__perl} Build.PL installdirs=vendor
+./Build
 
 %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 -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
 
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
-%check
-make test
+%{_fixperms} $RPM_BUILD_ROOT/*
 
+%check
+./Build test
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-
 %files
 %defattr(-,root,root,-)
-%doc Changes README
+%doc Changes examples README
 %{perl_vendorlib}/*
-%{_mandir}/man3/*.3*
-
+%{_mandir}/man3/*
 
 %changelog
-* Wed Aug  8 2007 Patrice Dumas <pertusus at free.fr> 0.09-1
-- update to 0.09
-
-* Sun Sep 17 2006 Patrice Dumas <pertusus at free.fr> 0.07-1
-- update to 0.07
-
-* Fri Sep 15 2006 Patrice Dumas <pertusus at free.fr> 0.06-3
-- add Requires for perl(HTML::FormatText), fix #206729
-
-* Tue Aug 29 2006 Patrice Dumas <pertusus at free.fr> 0.06-2
-- added BuildRequires for tests
-
-* Tue Jul 18 2006 Patrice Dumas <pertusus at free.fr> 0.06-1
-- Initial packaging
+* Tue Jun 07 2011 Jeff fearn <jfearn at redhat.com> 0.14-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index 5e33e4d..cf289d5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3d48f2bae0aa3068de6a31dea4043127  HTML-FormatText-WithLinks-0.09.tar.gz
+264a1436883d20b81e669c65a1f97367  HTML-FormatText-WithLinks-0.14.tar.gz



More information about the perl-devel mailing list