3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: URI::Find - Find URIs in arbitrary text
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-authors/id/R/RO/ROSCH/URI-Find-0.16.tar.gz
17 # Source0-md5: 339279e268cf37e629f54c1091f99a13
18 URL: http://search.cpan.org/dist/URI-Find/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRequires: perl-URI >= 1.00
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 This module does one thing: Finds URIs and URLs in plain text. It finds
29 them quickly and it finds them all (or what URI::URL considers a URI
30 to be.) It only finds URIs which include a scheme (http:// or the
31 like), for something a bit less strict have a look at
32 URI::Find::Schemeless.
34 # %description -l pl.UTF-8
38 %setup -q -n %{pdir}-%{pnam}-%{version}
41 %{__perl} Makefile.PL \
45 %{?with_tests:%{__make} test}
48 rm -rf $RPM_BUILD_ROOT
51 DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
58 %doc Changes README TODO
59 %{perl_vendorlib}/URI/*.pm
60 %{perl_vendorlib}/URI/Find