shadowsocks-rust/shadowsocks-rust.spec

38 lines
799 B
RPMSpec
Raw Normal View History

2020-07-21 22:47:57 +03:00
%define debug %nil
%define debug_package %nil
Name: shadowsocks-rust
Version: 1.8.13
Release: 1
Summary: Shadowsocks on rust
URL: https://shadowsocks.org
Source0: https://github.com/shadowsocks/shadowsocks-rust/archive/v%{version}/%{name}-%{version}.tar.gz
License: MIT
Group: Networking/Other
BuildRequires: rust
2020-07-21 23:00:08 +03:00
BuildRequires: cargo
2020-07-21 22:47:57 +03:00
Provides: ssserver == %{version}
Provides: sslocal == %{version}
Provides: ssmanager == %{version}
Provides: ssurl == %{version}
%description
shadowsocks is a fast tunnel proxy that helps you bypass firewalls
%prep
%setup -q
%build
make build TARGET=release
%install
make install DESTDIR=%{buildroot} PREFIX=%{_bindir} TARGET=release
%files
%doc README.md LICENSE examples/
%{_bindir}/ssserver
%{_bindir}/sslocal
%{_bindir}/ssmanager
%{_bindir}/ssurl