File perl-Net-Async-Spotify.spec of Package perl-Net-Async-Spotify
#
# spec file for package perl-Net-Async-Spotify
#
# Copyright (c) 2022 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-Async-Spotify
Name: perl-Net-Async-Spotify
Version: 0.002
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Interaction with spotify.com API
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/V/VN/VNEALV/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Data::Dumper::AutoEncode)
BuildRequires: perl(Dist::Zilla) >= 6.015
BuildRequires: perl(Dist::Zilla::PluginBundle::Author::VNEALV)
BuildRequires: perl(Future) >= 0.46
BuildRequires: perl(Future::AsyncAwait) >= 0.51
BuildRequires: perl(IO::Async::Loop) >= 0.78
BuildRequires: perl(IO::Async::Notifier) >= 0.78
BuildRequires: perl(IO::Async::SSL) >= 0.22
BuildRequires: perl(IO::Async::Timer::Periodic) >= 0.78
BuildRequires: perl(JSON::MaybeUTF8) >= 2.000
BuildRequires: perl(Log::Any) >= 1.709
BuildRequires: perl(Log::Any::Adapter) >= 1.709
BuildRequires: perl(Math::Random::Secure)
BuildRequires: perl(Module::Path)
BuildRequires: perl(Module::Runtime)
BuildRequires: perl(Mojo::DOM)
BuildRequires: perl(Net::Async::HTTP) >= 0.48
BuildRequires: perl(Net::Async::HTTP::Server) >= 0.13
BuildRequires: perl(Path::Tiny)
BuildRequires: perl(Perl::Tidy)
BuildRequires: perl(Pod::Simple::Text)
BuildRequires: perl(Software::License::Perl_5)
BuildRequires: perl(Syntax::Keyword::Try) >= 0.25
BuildRequires: perl(Template)
BuildRequires: perl(Test::CheckDeps) >= 0.010
BuildRequires: perl(Test::More) >= 0.98
BuildRequires: perl(Test::NoTabs)
BuildRequires: perl(Time::Moment) >= 0.44
BuildRequires: perl(URI) >= 5.09
BuildRequires: perl(Unicode::UTF8)
BuildRequires: perl(curry) >= 1.001
BuildRequires: perl(mro)
Requires: perl(Data::Dumper::AutoEncode)
Requires: perl(Future) >= 0.46
Requires: perl(Future::AsyncAwait) >= 0.51
Requires: perl(IO::Async::Loop) >= 0.78
Requires: perl(IO::Async::Notifier) >= 0.78
Requires: perl(IO::Async::SSL) >= 0.22
Requires: perl(IO::Async::Timer::Periodic) >= 0.78
Requires: perl(JSON::MaybeUTF8) >= 2.000
Requires: perl(Log::Any) >= 1.709
Requires: perl(Log::Any::Adapter) >= 1.709
Requires: perl(Math::Random::Secure)
Requires: perl(Module::Path)
Requires: perl(Module::Runtime)
Requires: perl(Mojo::DOM)
Requires: perl(Net::Async::HTTP) >= 0.48
Requires: perl(Net::Async::HTTP::Server) >= 0.13
Requires: perl(Path::Tiny)
Requires: perl(Perl::Tidy)
Requires: perl(Pod::Simple::Text)
Requires: perl(Syntax::Keyword::Try) >= 0.25
Requires: perl(Template)
Requires: perl(Time::Moment) >= 0.44
Requires: perl(URI) >= 5.09
Requires: perl(Unicode::UTF8)
Requires: perl(curry) >= 1.001
Requires: perl(mro)
%{perl_requires}
%description
'Net::Async::Spotify' Provides an interface for interacting with at
https://developer.spotify.com/documentation/web-api It does so while being
an IO::Async::Notifier instance, with a Net::Async::HTTP child to reach
Spotify API, running on an IO::Async::Loop. Where all listed Spotify API
calls and their response objects are auto-generated and defined here from
documentation page. For easier maintainability.
%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 Dockerfile README
%license LICENSE
%changelog