automatic rebuild by autodist [release 20080803-2mamba;Thu Aug 22 2013]
This commit is contained in:
parent
f03ccd46df
commit
5374d38785
61
Geo-db-LiteCountry.spec
Normal file
61
Geo-db-LiteCountry.spec
Normal file
@ -0,0 +1,61 @@
|
||||
Name: Geo-db-LiteCountry
|
||||
Version: 20080803
|
||||
Release: 2mamba
|
||||
Summary: GeoLite LiteCountry - Country database for GeoIP
|
||||
Group: Applications/Databases
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Automatic Build System <autodist@mambasoft.it>
|
||||
URL: http://www.maxmind.com/app/geolitecountry
|
||||
Source0: http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz
|
||||
Source1: http://www.maxmind.com/download/geoip/database/LICENSE.txt
|
||||
License: OPEN DATA LICENSE
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
GeoIP is a C 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.
|
||||
|
||||
GeoLite Country is similar to the GeoIP Country database, but is slightly less accurate.
|
||||
Should you require greater accuracy, GeoIP Country is a drop-in replacement for GeoLite Country.
|
||||
We also offer a free geolocation database on a city level.
|
||||
|
||||
Under the license agreement, all advertising materials and documentation mentioning features
|
||||
or use of this database must display the following acknowledgment:
|
||||
"This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/."
|
||||
|
||||
%prep
|
||||
|
||||
%setup -q -c -T
|
||||
cp %{SOURCE0} .
|
||||
cp %{SOURCE1} .
|
||||
gunzip GeoIP.dat.gz
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
install -d %{buildroot}%{_datadir}/GeoIP
|
||||
|
||||
install GeoIP.dat %{buildroot}%{_datadir}/GeoIP
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(644,root,root,755)
|
||||
%dir %{_datadir}/GeoIP
|
||||
%{_datadir}/GeoIP/*.dat
|
||||
%doc *.txt
|
||||
|
||||
%changelog
|
||||
* Thu Aug 22 2013 Automatic Build System <autodist@mambasoft.it> 20080803-2mamba
|
||||
- automatic rebuild by autodist
|
||||
|
||||
* Thu Aug 21 2008 gil <puntogil@libero.it> 20080801CSV-1mamba
|
||||
- package created by autospec
|
BIN
GeoIP.dat.gz
Normal file
BIN
GeoIP.dat.gz
Normal file
Binary file not shown.
39
LICENSE.txt
Normal file
39
LICENSE.txt
Normal file
@ -0,0 +1,39 @@
|
||||
There are two licenses, one for the C library software, and one for
|
||||
the database.
|
||||
|
||||
SOFTWARE LICENSE (C library)
|
||||
|
||||
The GeoIP C Library is licensed under the LGPL. For details see
|
||||
the COPYING file.
|
||||
|
||||
OPEN DATA LICENSE (GeoLite Country and GeoLite City databases)
|
||||
|
||||
Copyright (c) 2007 MaxMind LLC. All Rights Reserved.
|
||||
|
||||
All advertising materials and documentation mentioning features or use of
|
||||
this database must display the following acknowledgment:
|
||||
"This product includes GeoLite data created by MaxMind, available from
|
||||
http://maxmind.com/"
|
||||
|
||||
Redistribution and use with or without modification, are permitted provided
|
||||
that the following conditions are met:
|
||||
1. Redistributions must retain the above copyright notice, this list of
|
||||
conditions and the following disclaimer in the documentation and/or other
|
||||
materials provided with the distribution.
|
||||
2. All advertising materials and documentation mentioning features or use of
|
||||
this database must display the following acknowledgement:
|
||||
"This product includes GeoLite data created by MaxMind, available from
|
||||
http://maxmind.com/"
|
||||
3. "MaxMind" may not be used to endorse or promote products derived from this
|
||||
database without specific prior written permission.
|
||||
|
||||
THIS DATABASE IS PROVIDED BY MAXMIND.COM ``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 MAXMIND.COM 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
|
||||
DATABASE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
14
README.md
14
README.md
@ -1,2 +1,16 @@
|
||||
# Geo-db-LiteCountry
|
||||
|
||||
GeoIP is a C 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.
|
||||
|
||||
GeoLite Country is similar to the GeoIP Country database, but is slightly less accurate.
|
||||
Should you require greater accuracy, GeoIP Country is a drop-in replacement for GeoLite Country.
|
||||
We also offer a free geolocation database on a city level.
|
||||
|
||||
Under the license agreement, all advertising materials and documentation mentioning features
|
||||
or use of this database must display the following acknowledgment:
|
||||
"This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/."
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user