File perl6-Digest-HMAC.spec of Package perl6-Digest-HMAC

#
# spec file for package perl6-Digest-HMAC
#
# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#

Name:           perl6-Digest-HMAC
Version:        1.0.0
Release:        1.1
License:        Artistic-2.0
Summary:        Generic HMAC implementation
Url:            git://github.com/retupmoca/P6-Digest-HMAC.git
Group:          Development/Languages/Other
Source0:        perl6-Digest-HMAC-1.0.0.tar.xz
BuildRequires:  rakudo >= 2017.04.2
Requires:       perl6 >= 2016.12
Requires:       perl6(Digest)
Provides:       perl6(Digest::HMAC)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description

%prep
%setup -q

%build

%install
RAKUDO_RERESOLVE_DEPENDENCIES=0 perl6 %{_datadir}/perl6/bin/install-perl6-dist \
        --to=$RPM_BUILD_ROOT%{_datadir}/perl6/vendor \
        --for=vendor \
        --from=.

%post

%postun

%files
%defattr(-,root,root)
%doc README.md LICENSE
%{_datadir}/perl6/vendor

%changelog