2019-02-06 20:57:25 +00:00
|
|
|
%global common_description %{expand:
|
|
|
|
GeoLite2 databases are free IP geolocation databases comparable to, but less
|
|
|
|
accurate than, MaxMind's GeoIP2 databases. This product includes GeoLite2 data
|
|
|
|
created by MaxMind, available from http://www.maxmind.com.}
|
2018-04-25 02:33:29 +00:00
|
|
|
|
2019-08-13 19:44:30 +00:00
|
|
|
|
2018-04-25 02:33:29 +00:00
|
|
|
Name: geolite2
|
2020-05-14 22:50:33 +00:00
|
|
|
# Upstream changed their license on 2019-12-30. This is the last version
|
|
|
|
# released under CC-BY-SA.
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1786211
|
2019-12-19 00:31:49 +00:00
|
|
|
Version: 20191217
|
2024-10-29 15:25:51 +00:00
|
|
|
Release: 14%{?dist}
|
2018-04-25 02:33:29 +00:00
|
|
|
Summary: Free IP geolocation databases
|
2023-03-03 10:52:13 +00:00
|
|
|
# This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License
|
|
|
|
# This database incorporates GeoNames geographical data, which is made available under the Creative Commons Attribution 3.0 License
|
|
|
|
License: CC-BY-SA-4.0 AND CC-BY-3.0
|
2018-04-25 02:33:29 +00:00
|
|
|
URL: https://dev.maxmind.com/geoip/geoip2/geolite2/
|
2019-08-13 19:44:30 +00:00
|
|
|
Source0: https://geolite.maxmind.com/download/geoip/database/GeoLite2-ASN_%{version}.tar.gz
|
|
|
|
Source1: https://geolite.maxmind.com/download/geoip/database/GeoLite2-City_%{version}.tar.gz
|
|
|
|
Source2: https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country_%{version}.tar.gz
|
2018-04-25 02:33:29 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
2019-02-06 20:57:25 +00:00
|
|
|
%description %{common_description}
|
2018-04-25 02:33:29 +00:00
|
|
|
|
|
|
|
|
2019-08-13 19:44:30 +00:00
|
|
|
%package asn
|
|
|
|
Summary: Free IP geolocation ASN database
|
|
|
|
|
|
|
|
|
|
|
|
%description asn %{common_description}
|
|
|
|
|
|
|
|
|
2018-04-25 02:33:29 +00:00
|
|
|
%package city
|
|
|
|
Summary: Free IP geolocation city database
|
|
|
|
|
2019-04-11 18:51:49 +00:00
|
|
|
|
2019-02-06 20:57:25 +00:00
|
|
|
%description city %{common_description}
|
2018-04-25 02:33:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
%package country
|
|
|
|
Summary: Free IP geolocation country database
|
|
|
|
|
2019-04-11 18:51:49 +00:00
|
|
|
|
2019-02-06 20:57:25 +00:00
|
|
|
%description country %{common_description}
|
2018-04-25 02:33:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2019-08-13 19:44:30 +00:00
|
|
|
%setup -q -T -c -a 0 -a 1 -a 2
|
2018-04-25 02:33:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2019-08-13 19:44:30 +00:00
|
|
|
for db in GeoLite2-{ASN,City,Country}; do
|
2018-04-25 02:33:29 +00:00
|
|
|
install -D -p -m 0644 ${db}_%{version}/$db.mmdb %{buildroot}%{_datadir}/GeoIP/$db.mmdb
|
|
|
|
done
|
|
|
|
|
|
|
|
|
2019-08-13 19:44:30 +00:00
|
|
|
%files asn
|
|
|
|
%license GeoLite2-ASN_%{version}/COPYRIGHT.txt GeoLite2-ASN_%{version}/LICENSE.txt
|
|
|
|
%dir %{_datadir}/GeoIP
|
|
|
|
%verify(not md5 size mtime) %{_datadir}/GeoIP/GeoLite2-ASN.mmdb
|
|
|
|
|
|
|
|
|
2018-04-25 02:33:29 +00:00
|
|
|
%files city
|
|
|
|
%license GeoLite2-City_%{version}/COPYRIGHT.txt GeoLite2-City_%{version}/LICENSE.txt
|
|
|
|
%dir %{_datadir}/GeoIP
|
|
|
|
%verify(not md5 size mtime) %{_datadir}/GeoIP/GeoLite2-City.mmdb
|
|
|
|
|
|
|
|
|
|
|
|
%files country
|
|
|
|
%license GeoLite2-Country_%{version}/COPYRIGHT.txt GeoLite2-Country_%{version}/LICENSE.txt
|
|
|
|
%dir %{_datadir}/GeoIP
|
|
|
|
%verify(not md5 size mtime) %{_datadir}/GeoIP/GeoLite2-Country.mmdb
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-10-29 15:25:51 +00:00
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 20191217-14
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
2024-06-24 15:43:26 +00:00
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 20191217-13
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
2024-01-24 12:47:47 +00:00
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 20191217-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-19 20:32:31 +00:00
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 20191217-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-07-19 21:04:39 +00:00
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 20191217-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-03-03 10:52:13 +00:00
|
|
|
* Fri Mar 3 2023 Paul Howarth <paul@city-fan.org> - 20191217-9
|
|
|
|
- Use SPDX-format license tag
|
|
|
|
|
2023-01-19 04:38:48 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 20191217-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-21 04:23:42 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20191217-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-20 04:12:44 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20191217-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-22 00:02:25 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20191217-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-26 06:35:57 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20191217-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-27 18:30:52 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20191217-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-28 19:54:56 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20191217-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-12-19 00:31:49 +00:00
|
|
|
* Thu Dec 19 2019 Carl George <carl@george.computer> - 20191217-1
|
|
|
|
- Latest upstream
|
|
|
|
|
2019-10-08 22:17:00 +00:00
|
|
|
* Tue Oct 08 2019 Carl George <carl@george.computer> - 20191008-1
|
|
|
|
- Latest upstream
|
|
|
|
|
2019-08-13 19:44:30 +00:00
|
|
|
* Tue Aug 13 2019 Carl George <carl@george.computer> - 20190806-1
|
|
|
|
- Latest upstream
|
|
|
|
- Add ASN subpackage
|
|
|
|
|
2019-07-25 01:46:58 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20190618-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-06-19 21:03:01 +00:00
|
|
|
* Wed Jun 19 2019 Carl George <carl@george.computer> - 20190618-1
|
|
|
|
- Latest upstream
|
|
|
|
|
2019-04-11 18:51:49 +00:00
|
|
|
* Thu Apr 11 2019 Carl George <carl@george.computer> - 20190409-1
|
|
|
|
- Latest upstream
|
|
|
|
|
2019-02-06 20:57:25 +00:00
|
|
|
* Wed Feb 06 2019 Carl George <carl@george.computer> - 20190205-1
|
|
|
|
- Latest upstream
|
|
|
|
|
2019-01-31 20:51:44 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20181204-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-12-05 20:13:07 +00:00
|
|
|
* Wed Dec 05 2018 Carl George <carl@george.computer> - 20181204-1
|
|
|
|
- Latest upstream
|
|
|
|
|
2018-10-04 18:19:56 +00:00
|
|
|
* Thu Oct 04 2018 Carl George <carl@george.computer> - 20181002-1
|
|
|
|
- Latest upstream
|
|
|
|
|
2018-08-13 14:11:19 +00:00
|
|
|
* Mon Aug 13 2018 Carl George <carl@george.computer> - 20180807-1
|
|
|
|
- Latest upstream
|
|
|
|
|
2018-07-13 01:20:51 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20180605-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-11 22:26:03 +00:00
|
|
|
* Mon Jun 11 2018 Carl George <carl@george.computer> - 20180605-1
|
|
|
|
- Latest upstream
|
|
|
|
|
2018-04-25 02:33:29 +00:00
|
|
|
* Tue Apr 24 2018 Carl George <carl@george.computer> - 20180403-1
|
|
|
|
- Initial package
|