rpms/python-GeoIP/devel python-GeoIP.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Michael G. Fleming (mfleming) fedora-extras-commits at redhat.com
Tue Feb 21 22:33:22 UTC 2006


Author: mfleming

Update of /cvs/extras/rpms/python-GeoIP/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24240/devel

Modified Files:
	.cvsignore sources 
Added Files:
	python-GeoIP.spec 
Log Message:
auto-import python-GeoIP-1.2.1-3 on branch devel from python-GeoIP-1.2.1-3.src.rpm


--- NEW FILE python-GeoIP.spec ---
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Name:           python-GeoIP
Version:        1.2.1
Release:        3%{?dist}
Summary:        Python bindings for the GeoIP geographical lookup libraries

Group:          Development/Languages
License:        GPL
URL:            http://www.maxmind.com/download/geoip/api/python/
Source0:        http://www.maxmind.com/download/geoip/api/python/GeoIP-Python-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  python-devel GeoIP-devel
Requires: python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")

%description
This package contains the Python bindings for the GeoIP API, allowing IP to
location lookups to country, city and organization level within Python code.

%prep
%setup -q -n GeoIP-Python-%{version}


%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
# To avoid adding un-needed dependencies
chmod -x test*.py

%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}

 
%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc LICENSE README ChangeLog test*.py
%{python_sitearch}/GeoIP.so


%changelog
* Mon Feb 21 2006 Michael Fleming <mfleming+rpm at enlartenment.com> 1.2.1-3
- Trivial spec tweaks
- Removed redundant GeoIP Requires: (rpm picks it up automatically)

* Mon Feb 20 2006 Michael Fleming <mfleming+rpm at enlartenment.com> 1.2.1-2
- Change name to -GeoIP in keeping with naming conventions.
- Fix dependency issues caused by the test scripts in %%doc.

* Sat Feb 18 2006 Michael Fleming <mfleming+rpm at enlartenment.com> 1.2.1-1
- Initial version.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-GeoIP/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	21 Feb 2006 22:32:38 -0000	1.1
+++ .cvsignore	21 Feb 2006 22:33:22 -0000	1.2
@@ -0,0 +1 @@
+GeoIP-Python-1.2.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-GeoIP/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	21 Feb 2006 22:32:38 -0000	1.1
+++ sources	21 Feb 2006 22:33:22 -0000	1.2
@@ -0,0 +1 @@
+5683420ea34490029ee0285ff048fda0  GeoIP-Python-1.2.1.tar.gz




More information about the fedora-extras-commits mailing list