File dbip-asn-lite.spec of Package dbip-asn-lite

#
# spec file for package dbip-asn-lite
#
# Copyright (c) 2025 Andreas Vögele <andreas@andreasvoegele.com>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please send bugfixes or comments to the author.
#


Name:           dbip-asn-lite
Version:        2025.11
Release:        0
Summary:        IP address to ASN database
License:        CC-BY-4.0
URL:            https://db-ip.com/db/download/ip-to-asn-lite
Source:         dbip-asn-lite-%{version}.tar.gz
BuildArch:      noarch

%description
A geolocation database that maps IP addresses to autonomous system numbers and
autonomous system organizations.

The free IP to ASN Lite database is a subset of DB-IP.com's IP to ASN
database with reduced coverage and accuracy distributed under the Creative
Commons Attribution License.  You are free to use the database in your
application, provided you give attribution to DB-IP.com for the data.

%prep
%autosetup

%build

%install
%{make_install}

%check

%files
%defattr(-, root, root)
%license LICENSE
%dir %_datadir/GeoIP
%_datadir/GeoIP/dbip-asn-lite.mmdb

%changelog
openSUSE Build Service is sponsored by