%bcond_without check %bcond_without debug %{!?crystal_arches: %global crystal_arches x86_64 aarch64} %global shard_name http_proxy Name: crystal-http_proxy Version: 0.15.1 Release: 1%{?dist} Summary: A HTTP Proxy server and client written in Crystal License: MIT URL: https://github.com/mamantoha/http_proxy Source0: https://github.com/mamantoha/http_proxy/archive/v0.15.1/http_proxy-0.15.1.tar.gz ExclusiveArch: %{crystal_arches} noarch BuildArch: noarch BuildRequires: crystal-rpm-macros BuildRequires: crystal >= 1.14.0 BuildRequires: shards BuildRequires: openssl-devel BuildRequires: pkgconfig(zlib) %if %{with check} BuildRequires: crystal-shard(webmock) %endif Provides: crystal-shard(http_proxy) = 0.15.1 %description A HTTP Proxy server and client written in Crystal This package provides the %{shard_name} library for Crystal. %prep %crystal_setup -n %{shard_name}-%{version} %build # Library package; sources are installed for dependent shards and applications %install %crystal_install_lib %check %if %{with check} %crystal_check --tag '~network' %endif %files %license LICENSE %doc CHANGELOG.md README.md %crystal_files %changelog * Sun Sep 06 2026 Rénich Bon Ćirić - 0.15.1-1 - Initial package generated by cr2rpm