williamjmorenor pushed to python-geoip-geolite2 (el6). "Initial import"
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu May 14 14:27:05 UTC 2015
From c2d7d4807fc8f53813d2a8d6fc6d910e42392ce6 Mon Sep 17 00:00:00 2001
From: William Moreno <williamjmorenor at gmail.com>
Date: Thu, 14 May 2015 08:06:07 -0600
Subject: Initial import
diff --git a/python-geoip-geolite2-LICENSE b/python-geoip-geolite2-LICENSE
new file mode 100644
index 0000000..6b86ed3
--- /dev/null
+++ b/python-geoip-geolite2-LICENSE
@@ -0,0 +1,31 @@
+Copyright (c) 2014 by Armin Ronacher, see AUTHORS for more details.
+
+Some rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+
+ * The names of the contributors may not be used to endorse or
+ promote products derived from this software without specific
+ prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/python-geoip-geolite2-README b/python-geoip-geolite2-README
new file mode 100644
index 0000000..6b86ed3
--- /dev/null
+++ b/python-geoip-geolite2-README
@@ -0,0 +1,31 @@
+Copyright (c) 2014 by Armin Ronacher, see AUTHORS for more details.
+
+Some rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+
+ * The names of the contributors may not be used to endorse or
+ promote products derived from this software without specific
+ prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/python-geoip-geolite2.spec b/python-geoip-geolite2.spec
new file mode 100644
index 0000000..7afc6d6
--- /dev/null
+++ b/python-geoip-geolite2.spec
@@ -0,0 +1,61 @@
+Name: python-geoip-geolite2
+Version: 2015.0303
+Release: 3%{?dist}
+Summary: GeoIP database access for Python under a BSD license
+
+License: BSD
+URL: https://pypi.python.org/pypi/python-geoip-geolite2
+Source0: https://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
+Source1: python-geoip-geolite2-LICENSE
+Source2: python-geoip-geolite2-README
+
+BuildArch: noarch
+
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+
+Requires: python-GeoIP
+
+%description
+python-geoip is a library that provides access to GeoIP databases.
+Currently it only supports accessing MaxMind databases. It's similar to
+other GeoIP libraries but comes under the very liberal BSD license and
+also provides an extra library that optionally ships a recent version of
+the Geolite2 database as provided by MaxMind.
+
+%prep
+%setup -q -n %{name}-%{version}
+# Remove bundled egg-info
+rm -rf %{pypi_name}.egg-info
+
+install -p -m 644 %{SOURCE1} \
+%{_builddir}/%{name}-%{version}/LICENSE
+
+install -p -m 644 %{SOURCE2} \
+%{_builddir}/%{name}-%{version}/README
+
+%build
+%{__python2} setup.py build
+
+%install
+%{__python2} setup.py install --skip-build --root %{buildroot}
+
+%files
+%doc README
+%license LICENSE
+%{python2_sitelib}/_geoip_geolite2/
+%{python2_sitelib}/python_geoip_geolite2*.egg-info
+
+%changelog
+* Wed May 13 2015 William Moreno Reyes <williamjmorenor at gmail.com>
+- 2015.0303-3
+- Fix %%files
+
+* Wed May 06 2015 William Moreno Reyes <williamjmorenor at gmail.com>
+- 2015.0303-2
+- Change tarball for github to pypi
+- Include GeoLite2-City.mmdb
+
+* Sun Mar 22 2015 William Moreno Reyes <williamjmorenor at gmail.com>
+- 2015.0303-1
+- Initial package.
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/python-geoip-geolite2.git/commit/?h=el6&id=c2d7d4807fc8f53813d2a8d6fc6d910e42392ce6
More information about the scm-commits
mailing list