]> git.pld-linux.org Git - packages/GeoIP-db-IPASNum.git/blame - GeoIP-db-IPASNum.spec
- IPv4-to-AS database
[packages/GeoIP-db-IPASNum.git] / GeoIP-db-IPASNum.spec
CommitLineData
e6f3e4f6
PG
1Summary: GeoLite IPASNum - IP to AS number translation database for GeoIP
2Name: GeoIP-db-IPASNum
3# Updated every month:
4Version: 2007.05.15
5Release: 1
6License: OPEN DATA LICENSE (see LICENSE.txt)
7Group: Applications/Databases
8Source0: http://www.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz
9# Source0-md5: ce03b15a08e26c88ec2fd8f5c08f8e4b
10Source1: http://www.maxmind.com/download/geoip/database/LICENSE.txt
11# Source1-md5: 8c0bc6e8ebe6ec3bc1580021edb4bba1
12URL: http://www.maxmind.com/app/asnum
13BuildArch: noarch
14Requires: GeoIP-libs
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18GeoIP is a C library that enables the user to find the country that
19any IP address or hostname originates from. It uses a file based
20database that is accurate as of March 2003. This database simply
21contains IP blocks as keys, and countries as values. This database
22should be more complete and accurate than using reverse DNS lookups.
23
24This package contains IPv4 to AS number translation database for GeoIP.
25
26License disclaimer:
27This product includes GeoLite data created by MaxMind, available from
28http://www.maxmind.com/.
29
30%prep
31%setup -q -c -T
32cp %{SOURCE0} .
33cp %{SOURCE1} .
34
35gunzip GeoIPASNum.dat.gz
36
37%install
38rm -rf $RPM_BUILD_ROOT
39install -d $RPM_BUILD_ROOT%{_datadir}/GeoIP
40
41install GeoIPASNum.dat $RPM_BUILD_ROOT%{_datadir}/GeoIP
42
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%files
47%defattr(644,root,root,755)
48%doc *.txt
49%{_datadir}/GeoIP/*.dat
This page took 0.061119 seconds and 4 git commands to generate.