File perl6-Cro-HTTP.spec of Package perl6-Cro-HTTP
#
# spec file for package perl6-Cro-HTTP
#
# 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-Cro-HTTP
Version: 0.8.7
Release: 0.8.7
License: Artistic-2.0
Summary: Asynchronous HTTP, both client and server side. Includes HTTP/2.0 support
Url: http://www.cpan.org/authors/id/J/JN/JNTHN/Perl6/cro-http-0.8.7.tar.gz
Group: Development/Languages/Other
Source0: perl6-Cro-HTTP-0.8.7.tar.xz
BuildRequires: fdupes
BuildRequires: rakudo >= 2017.04.2
BuildRequires: perl6(IO::Socket::Async::SSL)
BuildRequires: perl6(OO::Monitors)
BuildRequires: perl6(IO::Path::ChildSecure)
BuildRequires: perl6(Base64)
BuildRequires: perl6(HTTP::HPACK)
BuildRequires: perl6(Cro::Core)
BuildRequires: perl6(Cro::TLS)
BuildRequires: perl6(JSON::Fast)
BuildRequires: perl6(Crypt::Random)
BuildRequires: perl6(JSON::JWT)
BuildRequires: perl6(DateTime::Parse)
BuildRequires: perl6(Log::Timeline)
Requires: perl6 >= 2016.12
Requires: perl6(IO::Socket::Async::SSL)
Requires: perl6(OO::Monitors)
Requires: perl6(IO::Path::ChildSecure)
Requires: perl6(Base64)
Requires: perl6(HTTP::HPACK)
Requires: perl6(Cro::Core)
Requires: perl6(Cro::TLS)
Requires: perl6(JSON::Fast)
Requires: perl6(Crypt::Random)
Requires: perl6(JSON::JWT)
Requires: perl6(DateTime::Parse)
Requires: perl6(Log::Timeline)
Provides: perl6(Cro::HTTP)
Provides: perl6(Cro::HTTP2::ConnectionState)
Provides: perl6(Cro::HTTP2::Frame)
Provides: perl6(Cro::HTTP2::FrameParser)
Provides: perl6(Cro::HTTP2::FrameSerializer)
Provides: perl6(Cro::HTTP2::GeneralParser)
Provides: perl6(Cro::HTTP2::RequestParser)
Provides: perl6(Cro::HTTP2::RequestSerializer)
Provides: perl6(Cro::HTTP2::ResponseParser)
Provides: perl6(Cro::HTTP2::ResponseSerializer)
Provides: perl6(Cro::HTTP::Auth)
Provides: perl6(Cro::HTTP::Auth::Basic)
Provides: perl6(Cro::HTTP::Auth::WebToken)
Provides: perl6(Cro::HTTP::Auth::WebToken::Bearer)
Provides: perl6(Cro::HTTP::Auth::WebToken::FromCookie)
Provides: perl6(Cro::HTTP::Auth::WebToken::Token)
Provides: perl6(Cro::HTTP::Body)
Provides: perl6(Cro::HTTP::BodyParserSelectors)
Provides: perl6(Cro::HTTP::BodyParsers)
Provides: perl6(Cro::HTTP::BodySerializerSelectors)
Provides: perl6(Cro::HTTP::BodySerializers)
Provides: perl6(Cro::HTTP::Client)
Provides: perl6(Cro::HTTP::Client::CookieJar)
Provides: perl6(Cro::HTTP::Cookie)
Provides: perl6(Cro::HTTP::Exception)
Provides: perl6(Cro::HTTP::Header)
Provides: perl6(Cro::HTTP::Internal)
Provides: perl6(Cro::HTTP::Log::File)
Provides: perl6(Cro::HTTP::LogTimelineSchema)
Provides: perl6(Cro::HTTP::Message)
Provides: perl6(Cro::HTTP::Middleware)
Provides: perl6(Cro::HTTP::MimeTypes)
Provides: perl6(Cro::HTTP::MultiValue)
Provides: perl6(Cro::HTTP::PushPromise)
Provides: perl6(Cro::HTTP::RawBodyParser)
Provides: perl6(Cro::HTTP::RawBodyParserSelector)
Provides: perl6(Cro::HTTP::Request)
Provides: perl6(Cro::HTTP::RequestParser)
Provides: perl6(Cro::HTTP::RequestSerializer)
Provides: perl6(Cro::HTTP::Response)
Provides: perl6(Cro::HTTP::ResponseParser)
Provides: perl6(Cro::HTTP::ResponseSerializer)
Provides: perl6(Cro::HTTP::ReverseProxy)
Provides: perl6(Cro::HTTP::Router)
Provides: perl6(Cro::HTTP::Server)
Provides: perl6(Cro::HTTP::Session::IdGenerator)
Provides: perl6(Cro::HTTP::Session::InMemory)
Provides: perl6(Cro::HTTP::Session::Persistent)
Provides: perl6(Cro::HTTP::VersionSelector)
Provides: perl6(Cro::Iri::HTTP)
Provides: perl6(Cro::ResourceIdentifier::HTTP)
Provides: perl6(Cro::Uri::HTTP)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Asynchronous HTTP, both client and server side. Includes HTTP/2.0 support
%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 README.md
%license LICENSE
%{_datadir}/perl6/vendor
%changelog