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-%{version}.tar.gz 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 0.16-1 - update for submission * Thu Dec 11 2008 Chris Weyl 0.16-0.1 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.6)