%define pkg_name URI-Find %define pkg_version 0.16 %define rpm_pkg_version 0.16 %define rpm_pkg_release 2.n0i.8 Summary: Find URIs in plain text Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/R/RO/ROSCH/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %{!?_without_test:BuildRequires: perl(URI) >= 1.00} %{!?_without_test: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. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes README TODO %changelog * Tue May 22 2007 Marius Feraru - 0.16-2.n0i.8 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - rebuild on perl 5.8.8 * Thu Jul 28 2005 Marius Feraru 0.16-1.n0i.7 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:0.14-2.n0i.6 - automatic rebuild (perl 5.8.6) * Sat Dec 04 2004 Marius Feraru 0:0.14-2.n0i.5 - version 0.14 * Fri Apr 30 2004 Marius Feraru 0:0.13-1.n0i.4 - spec file (re?)created using N0i::CPAN::RPMizer/2004032101 * Thu Jan 29 2004 Marius FERARU 0:0.13-0.n0i.3 - version 0.13 - spec file (re?)created using N0i::CPAN::RPMizer/2004011001 * Mon Jul 28 2003 Marius FERARU - custom rebuild * Sun Jun 29 2003 Marius FERARU 0.13-0.n0i - Initial build.