diff --git a/Geo-IP2Location-8.70.tar.gz b/Geo-IP2Location-8.70.tar.gz deleted file mode 100644 index db66424..0000000 --- a/Geo-IP2Location-8.70.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5a0205de24c10994ce246aac302c4b33b32dca64b74e4c406bbb32682eff631e -size 477781 diff --git a/Geo-IP2Location-8.80.tar.gz b/Geo-IP2Location-8.80.tar.gz new file mode 100644 index 0000000..6cfea9e --- /dev/null +++ b/Geo-IP2Location-8.80.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5849eaa1bfe441ac07b773941c7baa46bb0c22814669d2363b9a755266582f6a +size 479377 diff --git a/perl-Geo-IP2Location.changes b/perl-Geo-IP2Location.changes index 6c0ade8..105c0e8 100644 --- a/perl-Geo-IP2Location.changes +++ b/perl-Geo-IP2Location.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Aug 26 13:57:09 UTC 2025 - Tina Müller + +- updated to 8.800.0 (8.80) + see /usr/share/doc/packages/perl-Geo-IP2Location/Changes + + 8.80 Sun August 24 16:00:00 2025 + Twenty-fourth release under the Geo::IP2Location + Added new function "get_as_domain" + Added new function "get_as_usagetype" + Added new function "get_as_cidr" + ------------------------------------------------------------------- Wed Jan 18 16:05:24 UTC 2023 - Elisei Roca diff --git a/perl-Geo-IP2Location.spec b/perl-Geo-IP2Location.spec index 628cdaf..48b90b8 100644 --- a/perl-Geo-IP2Location.spec +++ b/perl-Geo-IP2Location.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Geo-IP2Location # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,45 +18,53 @@ %define cpan_name Geo-IP2Location Name: perl-Geo-IP2Location -Version: 8.70 +Version: 8.800.0 Release: 0 +# 8.80 -> normalize -> 8.800.0 +%define cpan_version 8.80 #Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later) License: MIT Summary: Lookup of country, region, city, latitude, longitude, ZIP code, time zon[cut] URL: https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/L/LO/LOCATION/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/L/LO/LOCATION/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml Source100: README.md BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros +Provides: perl(Geo::IP2Location) = %{version} +%undefine __perllib_provides %{perl_requires} %description -This Perl module provides fast lookup of country, region, city, latitude, -longitude, ZIP code, time zone, ISP, domain name, connection type, IDD -code, area code, weather station code and station, MCC, MNC, mobile carrier -brand, elevation, usage type, IP address type, IAB advertising category, -district, AS number and AS name from IP address using IP2Location database. -This module uses a file based BIN database available at at -https://www.ip2location.com/database/ip2location upon subscription. You can -visit at https://www.ip2location.com/development-libraries to download BIN -sample files. This database consists of IP address as keys and other -information as values. It supports all IP addresses in IPv4 and IPv6. +This Perl module provides a fast and simple way to look up geolocation and +network information for an IP address using an IP2Location BIN database. + +It allows you to retrieve a wide range of data using IPv4 and IPv6 +addresses, including: + + a) Geolocation: Country, Region, City, Latitude, Longitude, ZIP Code, Time Zone, District, Elevation + b) Network: ISP, Domain Name, Connection Type, IP Address Type, Usage Type + c) Carrier Information: Mobile Country Code (MCC), Mobile Network Code (MNC), Mobile Carrier Brand + d) Autonomous System (AS): AS Number, AS Name, AS Domain Name, AS Usage Type, AS CIDR + e) Additional Data: IDD Code, Area Code, Weather Station Code, Weather Station Name, IAB Advertising Category This module can be used in many types of project such as: - 1) auto-select the geographically closest mirror server - 2) analyze web server logs to determine the countries of visitors - 3) credit card fraud detection - 4) software export controls - 5) display native language and currency - 6) prevent password sharing and abuse of service - 7) geotargeting in advertisement + 1) Selecting the geographically closest mirror for content delivery. + 2) Analyzing web server logs to determine the countries of your visitors. + 3) Detecting and preventing credit card fraud. + 4) Implementing software export controls. + 5) Displaying native languages and currencies to users. + 6) Preventing password sharing and service abuse. + 7) Geotargeting content and advertisements. + +To ensure high accuracy, the commercial databases are updated on a daily, +weekly or semi-monthly basis. %prep -%autosetup -n %{cpan_name}-%{version} -find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 +%autosetup -n %{cpan_name}-%{cpan_version} -p1 + # MANUAL BEGIN sed -i 's/\r$//' samples/WHERE_TO_DOWNLOAD_MORE_SAMPLES.TXT # MANUAL END