Sophie

Sophie

distrib > Mandriva > 2010.1 > i586 > by-pkgid > cbde31d94e49146b60cfe90eb9e054b1 > files > 2

python-geoip-1.2.4-1mdv2010.0.src.rpm

%define name python-geoip
%define version 1.2.4
%define release %mkrel 1
%define oname GeoIP-Python

Summary: Python bindings for the GeoIP library
Name: %{name}
Version: %{version}
Release: %{release}
Source0: http://www.maxmind.com/download/geoip/api/python/%{oname}-%{version}.tar.bz2
URL: http://www.maxmind.com/app/python
License: BSD-like
Group: Development/Python
BuildRoot: %{_tmppath}/%{name}-buildroot
%py_requires -d
BuildRequires: libgeoip-devel

%description
This is the Python API to the GeoIP library that enables the user to
find the country that any IP address or hostname originates from. It
uses a file based database that is accurate as of March 2003. This
database simply contains IP blocks as keys, and countries as
values. This database should be more complete and accurate than using
reverse DNS lookups. Commercial databases and automatic update
services are available from http://www.maxmind.com/

%prep
%setup -q -n %oname-%version

%build
python setup.py build

%install
rm -rf $RPM_BUILD_ROOT
python setup.py install --root=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README
%py_platsitedir/*




%changelog
* Thu Jun 25 2009 Götz Waschk <waschk@mandriva.org> 1.2.4-1mdv2010.0
+ Revision: 388906
- update to new version 1.2.4

* Sun Dec 28 2008 Funda Wang <fundawang@mandriva.org> 1.2.1-7mdv2009.1
+ Revision: 320169
- rebuild for new python

* Fri Aug 01 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.2.1-6mdv2009.0
+ Revision: 259614
- rebuild

* Fri Jul 25 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.2.1-5mdv2009.0
+ Revision: 247417
- rebuild
- kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot


* Wed Nov 29 2006 Götz Waschk <waschk@mandriva.org> 1.2.1-3mdv2007.0
+ Revision: 88299
- bot rebuild
- Import python-geoip

* Tue Nov 28 2006 Götz Waschk <waschk@mandriva.org> 1.2.1-2mdv2007.1
- update file list

* Mon Nov 28 2005 Götz Waschk <waschk@mandriva.org> 1.2.1-1mdk
- New release 1.2.1

* Sat Dec 04 2004 Michael Scherer <misc@mandrake.org> 1.2.0-2mdk
- Rebuild for new python

* Thu Feb 19 2004 Götz Waschk <waschk@linux-mandrake.com> 1.2.0-1mdk
- new version