Search
j0ke.net Open Build Service
>
Projects
>
devel
:
perl
>
perl-Geo-IP-PurePerl
> perl-Geo-IP-PurePerl.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File perl-Geo-IP-PurePerl.spec of Package perl-Geo-IP-PurePerl (Revision 2)
Currently displaying revision
2
,
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-PurePerl Summary: Look up country by IP Address Name: perl-Geo-IP-PurePerl Version: 1.22 Release: 1 License: Artistic/GPL Group: Applications/CPAN URL: http://search.cpan.org/dist/Geo-IP-PurePerl/ Source: http://search.cpan.org//CPAN/authors/id/T/TJ/TJMATHER/Geo-IP-PurePerl-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: perl, perl(ExtUtils::MakeMaker) %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::PurePerl* %doc %{_mandir}/man1/geoip-lookup* %{perl_vendorlib}/Geo/IP/PurePerl.pm %dir %{perl_vendorlib}/Geo %dir %{perl_vendorlib}/Geo/IP %{_bindir}/geoip-lookup %changelog * Sun Nov 23 2008 Carsten Schoene <cs@linux-administrator.com> - 1.22-1 - bump to version 1.22 * Sun Apr 29 2007 Dries Verachtert <dries@ulyssis.org> - 1.18-1 - Initial package.