LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File perl-WWW-Search-AOL.spec of Package perl-WWW-Search-AOL (Project home:csbuild:Perl)

# 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 <holger.manthey@bertelsmann.de>

Name:      perl-%{real_name}
Summary:   WWW::Search::AOL - backend for searching AOL
Version:   0.0103
Release:   1
License:   GPL
Packager:  %{_packager}
Group:     Applications/CPAN
Url:       http://www.cpan.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Source0:   http://search.cpan.org/CPAN/authors/id/M/MT/MTHURN/%{real_name}-%{version}.tar.gz
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 http://search.aol.com/.
This class exports no public interface; all interaction should be done through WWW::Search objects.

Shlomi Fish, <shlomif@iglu.org.il>
Funded by http://www.deviatemedia.com/ and http://www.redtreesystems.com/.

%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 <holger.manthey@bertelsmann.de>
- remove perl-version require
* Sat Jul  4 2009 holger.manthey@bertelsmann.de
- Initial build.