Name: websocat Version: 1.5.0 Release: 2%{?dist} Summary: Command-line client for WebSockets, like netcat (or curl) for ws:// License: MIT URL: https://github.com/vi/websocat/ Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: cargo >= 1.36.0 BuildRequires: openssl-devel BuildRequires: rust >= 1.36.0 %description Command-line client for WebSockets, like netcat (or curl) for ws:// with advanced socat-like functions. %prep %autosetup -n %{name}-%{version} %install cargo install --root=%{buildroot}%{_prefix} --path=. --features=ssl rm -f %{buildroot}%{_prefix}/.crates.toml %files %license LICENSE %doc README.md %{_bindir}/%{name} %changelog * Fri Jan 24 2020 Artem Polishchuk - 1.5.0-2 - Build with OpenSSL support * Wed Jan 22 2020 Artem Polishchuk - 1.5.0-1 - Initial package