%global debug_package %{nil} %global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]}) %global gem_name async-http Name: rubygem-async-http Version: 0.59.2 Release: 1%{?dist} Summary: A HTTP client and server library. Group: Development/Libraries Vendor: VMware, Inc. Distribution: Photon License: MIT URL: https://rubygems.org/gems/%{gem_name}/versions/%{version} Source0: https://rubygems.org/downloads/%{gem_name}-%{version}.gem %define sha512 async-http=a8849dbb709af433c9302e29e1490104a33c50c1b9538d9ecec9775f6821c42c60170e65a772fd3f72b8acb8b1c056d81e70a232eb978b516d79e3b9fcad78d2 BuildRequires: ruby Requires: rubygem-async >= 1.19.0, rubygem-async < 2.2.2 Requires: rubygem-async-io >= 1.25.0, rubygem-async-io < 2.0.4 Requires: rubygem-protocol-http >= 0.20.1 Requires: rubygem-protocol-http1 >= 0.13.1 Requires: rubygem-protocol-http2 >= 0.14.1 BuildArch: noarch %description An asynchronous client and server implementation of HTTP/1.0, HTTP/1.1 and HTTP/2 including TLS. Support for streaming requests and responses. Built on top of async and async-io. falcon provides a rack-compatible server. %prep %autosetup -c -T %build %install gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0} %files %defattr(-,root,root,-) %{gemdir} %changelog * Wed Aug 17 2022 Gerrit Photon 0.59.2-1 - Automatic Version Bump * Mon Sep 21 2020 Gerrit Photon 0.52.5-1 - Automatic Version Bump * Thu Jul 16 2020 Gerrit Photon 0.52.4-1 - Automatic Version Bump * Wed Aug 21 2019 Stanislav Hadjiiski 0.48.2-1 - Initial build