File perl-URI-Find.spec of Package perl-URI-Find

%define _real_name URI-Find
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)

Summary: Find URIs in arbitrary text
Name: perl-URI-Find
Version: 0.16
Release: 1
License: GPL
Group: Applications/CPAN
Packager: Leo Eraly <leo@unstable.be>
URL: http://search.cpan.org/~rosch/URI-Find-0.16/lib/URI/Find.pm

Buildarch: noarch

BuildRequires: perl-URI

Source: http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/URI-Find-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
Find URIs in arbitrary text

%prep
%setup -n %{_real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor"  destdir="%{buildroot}"
%{__make}

%install
%{__rm} -rf %{buildroot}
%{__make} install
%{__rm} -rf %{buildroot}%{perl_archlib}/perllocal.pod
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%{_mandir}/man3/*.gz
%dir %{perl_vendorlib}/URI
%dir %{perl_vendorlib}/URI/Find
%{perl_vendorlib}/URI/Find.pm
%{perl_vendorlib}/URI/Find/Schemeless.pm


%changelog
* Tue Feb 03 2009 Leo Eraly <leo@unstable.be> - 0.16-1
- Initial package
openSUSE Build Service is sponsored by