Search
j0ke.net Open Build Service
>
Projects
>
devel
:
perl
>
perl-Geo-IP
> perl-Geo-IP.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File perl-Geo-IP.spec of Package perl-Geo-IP (Revision 3)
Currently displaying revision
3
,
show latest
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch) %define real_name Geo-IP Summary: Look up country by IP Address Name: perl-Geo-IP Version: 1.35 Release: 1 License: Artistic/GPL Group: Applications/CPAN URL: http://search.cpan.org/dist/Geo-IP/ Source: http://search.cpan.org//CPAN/authors/id/T/TJ/TJMATHER/Geo-IP-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: perl, perl(ExtUtils::MakeMaker) libGeoIP-devel %description Look up country by IP Address. %prep %setup -n %{real_name}-%{version} %build CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{_prefix}" %{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}" %install %__make DESTDIR=%{buildroot} install ### Clean up buildroot %{__rm} -rf %{buildroot}%{perl_archlib} \ %{buildroot}%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc Changes README %doc %{_mandir}/man3/Geo::IP* %doc %{_mandir}/man3/Geo::Mirror* %{perl_vendorarch}/Geo/IP/Record* %{perl_vendorarch}/Geo/IP.pm %{perl_vendorarch}/Geo/Mirror.pm %{perl_vendorarch}/auto/Geo/IP/IP* %dir %{perl_vendorarch}/Geo/IP/ %changelog * Sun Nov 23 2008 Carsten Schoene <cs@linux-administrator.com> - 1.35-1 - Initial package.