|
@@ -12,28 +12,34 @@
|
|
|
%define maketest 1
|
|
|
|
|
|
Name: perl-Geo-IP
|
|
|
-Summary: Geo::IP - Perl module
|
|
|
-Version: 1.43
|
|
|
-Release: 2%{?_dist_release}
|
|
|
-Vendor: Project Vine
|
|
|
-Packager: tomop
|
|
|
-Distribution: Vine Linux
|
|
|
-License: Artistic
|
|
|
-Group: Development/Languages
|
|
|
-Url: http://www.cpan.org
|
|
|
-Buildroot: %{_tmppath}/%{name}-%{version}-%(id -u -n)
|
|
|
-Prefix: %(echo %{_prefix})
|
|
|
+Summary: Look up location and network information by IP Address
|
|
|
+Version: 1.45
|
|
|
+Release: 1%{?_dist_release}
|
|
|
+
|
|
|
+License: Artistic or GPL+
|
|
|
+Group: Development/Libraries
|
|
|
+URL: http://search.cpan.org/~maxmind/Geo-IP/
|
|
|
Source: http://search.cpan.org//CPAN/authors/id/B/BO/BORISZ/Geo-IP-%{version}.tar.gz
|
|
|
+
|
|
|
+Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: GeoIP-devel
|
|
|
+BuildRequires: perl
|
|
|
+BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
+
|
|
|
+Distribution: Vine Linux
|
|
|
+Vendor: Project Vine
|
|
|
+Packager: tomop
|
|
|
|
|
|
%description
|
|
|
-None.
|
|
|
+This module a simple file-based database. This database simply contains
|
|
|
+IP blocks as keys, and countries as values. The data contains all public
|
|
|
+IP addresses and should be more complete and accurate than reverse DNS
|
|
|
+lookups.
|
|
|
|
|
|
-#
|
|
|
-# This package was generated automatically with the cpan2rpm
|
|
|
-# utility. To get this software or for more information
|
|
|
-# please visit: http://perl.arix.com/
|
|
|
-#
|
|
|
+This module can be used to automatically select the geographically closest
|
|
|
+mirror, or to analyze your web server logs to determine the countries of
|
|
|
+your visiters.
|
|
|
|
|
|
%prep
|
|
|
%setup -q -n Geo-IP-%{version}
|
|
@@ -119,11 +125,17 @@ find %{buildroot}%{_prefix} \
|
|
|
%clean
|
|
|
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
|
|
|
|
|
+%check
|
|
|
+make test
|
|
|
+
|
|
|
%files -f %filelist
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
%changelog
|
|
|
-* Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.43-1
|
|
|
+* Sat Oct 11 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.45-1
|
|
|
+- new upstream release
|
|
|
+
|
|
|
+* Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.43-2
|
|
|
- rebuilt with perl-5.16.3.
|
|
|
|
|
|
* Thu Mar 27 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.43-1
|