# # spec file for package shadowsocks-rust # # Copyright (c) 2023 SUSE LLC # # 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 https://bugs.opensuse.org/ # Name: shadowsocks-rust Version: 1.16.2 Release: 0 Summary: Rust port of Shadowsocks License: MIT Group: Productivity/Networking/Web/Proxy URL: https://github.com/shadowsocks/shadowsocks-rust Source0: https://github.com/shadowsocks/shadowsocks-rust/archive/v%{version}/%{name}-%{version}.tar.gz Source1: vendor.tar.gz Source2: %{name}.json Source3: %{name}-client.service Source4: %{name}-server.service Source5: %{name}-manager.service BuildRequires: cargo BuildRequires: cargo-packaging BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(openssl) Recommends: shadowsocks-v2ray-plugin # ExcludeArch: ppc ppc64 ppc64le s390 s390x %{?systemd_ordering} %description shadowsocks-rust is a rust port of shadowsocks. shadowsocks is a lightweight secured SOCKS5 proxy for embedded devices and low-end boxes. %prep %setup -q -a1 -n %{name}-%{version} mkdir .cargo cat >>.cargo/config.toml <