rpms/perl-HTML-FormatText-WithLinks/devel perl-HTML-FormatText-WithLinks.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Patrice Dumas (pertusus) fedora-extras-commits at redhat.com
Tue Aug 29 15:01:56 UTC 2006


Author: pertusus

Update of /cvs/extras/rpms/perl-HTML-FormatText-WithLinks/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23001/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-HTML-FormatText-WithLinks.spec 
Log Message:
auto-import perl-HTML-FormatText-WithLinks-0.06-2 on branch devel from perl-HTML-FormatText-WithLinks-0.06-2.src.rpm


--- NEW FILE perl-HTML-FormatText-WithLinks.spec ---
Name:           perl-HTML-FormatText-WithLinks
Version:        0.06
Release:        2%{?dist}
Summary:        HTML to text conversion with links as footnotes

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
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  perl
BuildRequires:  perl(HTML::FormatText) perl(HTML::TreeBuilder)
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))

%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.

%prep
%setup -q -n HTML-FormatText-WithLinks-%{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 -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*


%check
make test


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*


%changelog
* 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


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-HTML-FormatText-WithLinks/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	29 Aug 2006 15:01:10 -0000	1.1
+++ .cvsignore	29 Aug 2006 15:01:56 -0000	1.2
@@ -0,0 +1 @@
+HTML-FormatText-WithLinks-0.06.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-HTML-FormatText-WithLinks/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	29 Aug 2006 15:01:10 -0000	1.1
+++ sources	29 Aug 2006 15:01:56 -0000	1.2
@@ -0,0 +1 @@
+77a18dd8ad57d2443827b2458b7e78dd  HTML-FormatText-WithLinks-0.06.tar.gz




More information about the fedora-extras-commits mailing list