File perl-WebService-Mattermost.spec of Package perl-WebService-Mattermost

# spec file for package perl-WebService-Mattermost
# Copyright (c) 2021 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

%define cpan_name WebService-Mattermost
Name:           perl-WebService-Mattermost
Version:        0.25
Release:        0
Summary:        Perl client library for Mattermost's REST API and websocket gateway
License:        MIT
URL:  {cpan_name}
BuildArch:      noarch
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(DateTime)
BuildRequires:  perl(Dist::Zilla::App::Command::cover)
BuildRequires:  perl(List::MoreUtils)
BuildRequires:  perl(Mojolicious) >= 8.57
BuildRequires:  perl(Moo) >= 2.005004
BuildRequires:  perl(MooX::HandlesVia)
BuildRequires:  perl(Readonly)
BuildRequires:  perl(Role::EventEmitter)
BuildRequires:  perl(Test::Compile)
BuildRequires:  perl(Test::Exception)
BuildRequires:  perl(Test::Most)
BuildRequires:  perl(Test::Pod)
BuildRequires:  perl(Test::Spec) >= 0.54
BuildRequires:  perl(Types::Standard)
Requires:       perl(DateTime)
Requires:       perl(List::MoreUtils)
Requires:       perl(Mojolicious) >= 8.57
Requires:       perl(Moo) >= 2.005004
Requires:       perl(MooX::HandlesVia)
Requires:       perl(Readonly)
Requires:       perl(Role::EventEmitter)
Requires:       perl(Types::Standard)

WebService::Mattermost provides websocket and REST API integrations for
Mattermost, and supercedes 'Net::Mattermost::Bot', replacing all

See the at for more

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

perl Makefile.PL INSTALLDIRS=vendor

make test


%files -f %{name}.files
%license LICENSE LICENSE.txt

openSUSE Build Service is sponsored by