From e0e74fde9e9860cc53a35873f4939d37c0f09b80 Mon Sep 17 00:00:00 2001 From: Chris Weyl cweyl@fedoraproject.org Date: Sun, 14 Dec 2008 18:53:33 +0000 Subject: initial import
--- .cvsignore | 1 + import.log | 1 + perl-URI-Find.spec | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 70 insertions(+) create mode 100644 import.log create mode 100644 perl-URI-Find.spec
diff --git a/.cvsignore b/.cvsignore index e69de29..1e5f48c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +URI-Find-0.16.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..cb813bd --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-URI-Find-0_16-1_fc10:HEAD:perl-URI-Find-0.16-1.fc10.src.rpm:1229280803 diff --git a/perl-URI-Find.spec b/perl-URI-Find.spec new file mode 100644 index 0000000..0480fc1 --- /dev/null +++ b/perl-URI-Find.spec @@ -0,0 +1,67 @@ +Name: perl-URI-Find +Version: 0.16 +Release: 1%{?dist} +# see lib/URI/Find.pm +License: GPL+ or Artistic +Group: Development/Libraries +Summary: Find URIs in plain text +Source: http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/URI-Find-%%7Bversion%7D.ta... +Url: http://search.cpan.org/dist/URI-Find +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildArch: noarch + +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(URI) >= 1.00 +BuildRequires: perl(URI::URL) >= 5.00 + + +%description +This module does one thing: Finds URIs and URLs in plain text. It finds +them quickly and it finds them *all* (or what URI::URL considers a URI to +be.) It only finds URIs which include a scheme (http:// or the like), for +something a bit less strict have a look at URI::Find::Schemeless. + +For a command-line interface, see Darren Chamberlain's 'urifind' script. +It's available from his CPAN directory, the +http://www.cpan.org/authors/id/D/DA/DARREN/ manpage. + +Public Methods + * *new* + +%prep +%setup -q -n URI-Find-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' + +%{_fixperms} %{buildroot}/* + +%check +make test + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc Changes README TODO +%{perl_vendorlib}/* +%{_mandir}/man3/*.3* + +%changelog +* Fri Dec 12 2008 Chris Weyl cweyl@alumni.drew.edu 0.16-1 +- update for submission + +* Thu Dec 11 2008 Chris Weyl cweyl@alumni.drew.edu 0.16-0.1 +- initial RPM packaging +- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.6) + diff --git a/sources b/sources index e69de29..43b9ec9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +339279e268cf37e629f54c1091f99a13 URI-Find-0.16.tar.gz
perl-devel@lists.fedoraproject.org