File perl-WWW-Search-AOL.spec of Package perl-WWW-Search-AOL

# norootforbuild

%define real_name WWW-Search-AOL
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
%define perl_archlib %(eval "`perl -V:archlib`"; echo $archlib)
%define perl_privlib %(eval "`perl -V:privlib`"; echo $privlib)
%define maketest 0

%define _packager Holger Manthey <>

Name:      perl-%{real_name}
Summary:   WWW::Search::AOL - backend for searching AOL
Version:   0.0103
Release:   1
License:   GPL
Packager:  %{_packager}
Group:     Applications/CPAN
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
AutoReqProv:    on

Requires:  perl-WWW-Search
BuildRequires: perl-WWW-Search
BuildRequires:  perl(ExtUtils::MakeMaker)
%if 0%{?fedora_version}
BuildRequires:  perl-devel

This class is a AOL specialization of WWW::Search. It handles making and interpreting AOL searches using
This class exports no public interface; all interaction should be done through WWW::Search objects.

Shlomi Fish, <>
Funded by and

%setup -q -n %{real_name}-%{version}

%{__perl} Makefile.PL `%{__perl} -MExtUtils::MakeMaker -e ' print qq|PREFIX=%{buildroot}%{_prefix}| if \$ExtUtils::MakeMaker::VERSION =~ /5\.9[1-6]|6\.0[0-5]/ '`

%if %maketest
%{__make} test

%if 0%{?suse_version}
make DESTDIR=$RPM_BUILD_ROOT install_vendor
find $RPM_BUILD_ROOT/usr -type f -name perllocal.pod |xargs -i rm -f {}
find $RPM_BUILD_ROOT/usr -type d -depth -exec rmdir {} \; 2>/dev/null
find %{buildroot} -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" |xargs -i rm -f {}


%doc %{_mandir}/man?/*
%doc Changes README
%if 0%{?suse_version}

* Thu May 31 2012 Holger Manthey <>
- remove perl-version require
* Sat Jul  4 2009
- Initial build.