File perl6-HTTP-UserAgent.spec of Package perl6-HTTP-UserAgent

#
# spec file for package perl6-HTTP-UserAgent
#
# 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-HTTP-UserAgent
Version:        1.1.51
Release:        1.1.51
License:        MIT
Summary:        Web user agent
Url:            git://github.com/sergot/http-useragent.git
Group:          Development/Languages/Other
Source0:        perl6-HTTP-UserAgent-1.1.51.tar.xz
BuildRequires:  fdupes
BuildRequires:  rakudo >= 2017.04.2
BuildRequires:  perl6(HTTP::Status)
BuildRequires:  perl6(File::Temp)
BuildRequires:  perl6(DateTime::Parse)
BuildRequires:  perl6(Encode)
BuildRequires:  perl6(MIME::Base64)
BuildRequires:  perl6(URI)
BuildRequires:  perl6(IO::Socket::SSL)
Requires:       perl6 >= 2016.12
Requires:       perl6(HTTP::Status)
Requires:       perl6(File::Temp)
Requires:       perl6(DateTime::Parse)
Requires:       perl6(Encode)
Requires:       perl6(MIME::Base64)
Requires:       perl6(URI)
Requires:       perl6(IO::Socket::SSL)
Provides:       perl6(HTTP::Cookie)
Provides:       perl6(HTTP::Cookies)
Provides:       perl6(HTTP::Header)
Provides:       perl6(HTTP::Header::Field)
Provides:       perl6(HTTP::MediaType)
Provides:       perl6(HTTP::Message)
Provides:       perl6(HTTP::Request)
Provides:       perl6(HTTP::Request::Common)
Provides:       perl6(HTTP::Response)
Provides:       perl6(HTTP::UserAgent)
Provides:       perl6(HTTP::UserAgent::Common)
Provides:       perl6(HTTP::UserAgent::Exception)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%description
Web user agent
%prep
%setup -q
%build
%install
RAKUDO_MODULE_DEBUG=1 RAKUDOE_PRECOMP_VERBOSE=1 RAKUDO_RERESOLVE_DEPENDENCIES=0 raku --ll-exception %{_datadir}/perl6/bin/install-perl6-dist \
        --to=$RPM_BUILD_ROOT%{_datadir}/perl6/vendor \
        --for=vendor \
        --from=.
%fdupes %{buildroot}/%{_datadir}/perl6/vendor
rm -f %{buildroot}%{_datadir}/perl6/vendor/bin/*-j
rm -f %{buildroot}%{_datadir}/perl6/vendor/bin/*-js
find %{buildroot}/%{_datadir}/perl6/vendor/bin/ -type f -exec sed -i -e '1s:!/usr/bin/env :!/usr/bin/:' '{}' \;
%files
%defattr(-,root,root)
%doc 

%{_datadir}/perl6/vendor
%changelog
openSUSE Build Service is sponsored by