mirror of
https://abf.rosa.ru/djam/shadowsocks-rust.git
synced 2025-02-23 10:42:48 +00:00
Imported from SRPM
This commit is contained in:
commit
287c8d9d2a
2 changed files with 38 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
shadowsocks-rust-1.8.13.tar.gz: 3fbe9804930729087b1e19262ca99b810c4730ed
|
36
shadowsocks-rust.spec
Normal file
36
shadowsocks-rust.spec
Normal file
|
@ -0,0 +1,36 @@
|
|||
%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
|
||||
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
|
||||
|
Loading…
Add table
Reference in a new issue