/[packages]/cauldron/geolite2/current/SPECS/geolite2.spec
ViewVC logotype

Annotation of /cauldron/geolite2/current/SPECS/geolite2.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1812990 - (hide annotations) (download)
Mon Mar 21 09:16:18 2022 UTC (3 years, 3 months ago) by umeabot
File size: 2119 byte(s)
Mageia 9 Mass Rebuild
1 wally 1314858 %global _description \
2     GeoLite2 databases are free IP geolocation databases comparable to, but less\
3 wally 1314942 accurate than, MaxMind's GeoIP2 databases.\
4     \
5     This product includes GeoLite2 data created by MaxMind,\
6     available from http://www.maxmind.com.
7 wally 1314858
8     Name: geolite2
9 wally 1609969 Version: 20191217
10 umeabot 1812990 Release: %mkrel 2
11 wally 1314858 Summary: Free IP geolocation databases
12     License: CC-BY-SA
13 wally 1314942 Group: Sciences/Geosciences
14 wally 1314858 URL: https://dev.maxmind.com/geoip/geoip2/geolite2/
15     Source0: https://geolite.maxmind.com/download/geoip/database/GeoLite2-City_%{version}.tar.gz
16     Source1: https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country_%{version}.tar.gz
17 wally 1394682 Source2: https://geolite.maxmind.com/download/geoip/database/GeoLite2-ASN_%{version}.tar.gz
18 wally 1314858 BuildArch: noarch
19    
20    
21     %description %{_description}
22    
23    
24     %package city
25     Summary: Free IP geolocation city database
26 wally 1314942 Group: Sciences/Geosciences
27 wally 1315010 Recommends: geoipupdate
28 wally 1314858
29     %description city %{_description}
30    
31    
32     %package country
33     Summary: Free IP geolocation country database
34 wally 1314942 Group: Sciences/Geosciences
35 wally 1315010 Recommends: geoipupdate
36 wally 1314858
37     %description country %{_description}
38    
39    
40 wally 1394682 %package asn
41     Summary: Free IP autonomous system number database
42     Group: Sciences/Geosciences
43     Recommends: geoipupdate
44    
45     %description asn %{_description}
46    
47    
48 wally 1314858 %prep
49 wally 1394682 %setup -q -T -c -a 0 -a 1 -a 2
50 wally 1314858
51    
52     %install
53 wally 1394682 for db in GeoLite2-City GeoLite2-Country GeoLite2-ASN; do
54 wally 1314858 install -D -p -m 0644 ${db}_%{version}/$db.mmdb %{buildroot}%{_datadir}/GeoIP/$db.mmdb
55     done
56    
57    
58     %files city
59     %license GeoLite2-City_%{version}/COPYRIGHT.txt GeoLite2-City_%{version}/LICENSE.txt
60     %dir %{_datadir}/GeoIP
61     %verify(not md5 size mtime) %{_datadir}/GeoIP/GeoLite2-City.mmdb
62    
63    
64     %files country
65     %license GeoLite2-Country_%{version}/COPYRIGHT.txt GeoLite2-Country_%{version}/LICENSE.txt
66     %dir %{_datadir}/GeoIP
67     %verify(not md5 size mtime) %{_datadir}/GeoIP/GeoLite2-Country.mmdb
68 wally 1394682
69    
70     %files asn
71     %license GeoLite2-ASN_%{version}/COPYRIGHT.txt GeoLite2-ASN_%{version}/LICENSE.txt
72     %dir %{_datadir}/GeoIP
73     %verify(not md5 size mtime) %{_datadir}/GeoIP/GeoLite2-ASN.mmdb
74    

  ViewVC Help
Powered by ViewVC 1.1.30