File perl-Net-Google-CivicInformation.spec of Package perl-Net-Google-CivicInformation

#
# spec file for package perl-Net-Google-CivicInformation
#
# Copyright (c) 2026 SUSE LLC
#
# 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 submit bugfixes or comments via https://bugs.opensuse.org/
#


%define cpan_name Net-Google-CivicInformation
Name:           perl-Net-Google-CivicInformation
Version:        1.9901
Release:        0
License:        Artistic-1.0 OR GPL-1.0-or-later
Summary:        Client for the Google Civic Information API
URL:            https://metacpan.org/release/%{cpan_name}
Source0:        Net-Google-CivicInformation-1.9901.tar.gz
BuildArch:      noarch
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(Function::Parameters)
BuildRequires:  perl(HTTP::Tiny)
BuildRequires:  perl(JSON::MaybeXS)
BuildRequires:  perl(Moo)
BuildRequires:  perl(Test::Exception)
BuildRequires:  perl(Test::Pod::Coverage)
BuildRequires:  perl(Types::Common::String)
BuildRequires:  perl(namespace::clean)
Requires:       perl(Function::Parameters)
Requires:       perl(HTTP::Tiny)
Requires:       perl(JSON::MaybeXS)
Requires:       perl(Moo)
Requires:       perl(Types::Common::String)
Requires:       perl(namespace::clean)
%{perl_requires}

%description
Civic information jurisdictions, etc) for US addresses, provided via the
Google Civic Information API.

You must obtain an API key (free) from Google to use this package. See
https://developers.google.com/civic-information.

Do not use this module directly. Use one of the subclasses.

%prep
%autosetup  -n %{cpan_name}-%{version}

%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build

%check
make test

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%files -f %{name}.files
%doc Changes README.md
%license LICENSE

%changelog
openSUSE Build Service is sponsored by