Skip to content

Commit

Permalink
update spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
sixg0000d committed Mar 16, 2021
1 parent 7c7b1c7 commit 161ab54
Showing 1 changed file with 22 additions and 23 deletions.
45 changes: 22 additions & 23 deletions shadowsocksr-uvw.spec
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
# You shuold enable-network to finish the test
%bcond_without test
# You shuold enable-network to finish the check
%bcond_without check

%global forgeurl https://github.com/Qv2ray/shadowsocksr-uvw/
%global commit b7d68313fc978718d8629af66b343e570784df10
%global forgeurl https://github.com/Qv2ray/shadowsocksr-uvw/
%global branch master

%forgemeta

Name: shadowsocksr-uvw
Version: 0
Release: 0.1%{?dist}
Summary: A ShadowsocksR implementation in uvw
Name: shadowsocksr-uvw
Version: 0
Release: 0.1%{?dist}
Summary: A ShadowsocksR implementation in uvw

License: GPLv3
URL: %{forgeurl}
Source0: %{forgesource}
License: GPLv3
URL: %{forgeurl}
Source0: %{forgesource}

BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: libuv-devel
BuildRequires: libsodium-devel
BuildRequires: openssl-devel
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: libuv-devel
BuildRequires: libsodium-devel
BuildRequires: openssl-devel

Requires: libuv >= 1.38.0
Requires: libsodium
Requires: openssl
Requires: libuv >= 1.38.0
Requires: libsodium
Requires: openssl


%description
Expand All @@ -46,12 +46,11 @@ A minimal dependency shadowsocksr implementation.


%install
rm -rf $RPM_BUILD_ROOT
%cmake_install


%if %{with check}
%check
%if %{with test}
%ctest
%endif

Expand All @@ -63,5 +62,5 @@ rm -rf $RPM_BUILD_ROOT


%changelog
* Thu Oct 1 2020 sixg0000d <sixg0000d@gmail.com>
* Thu Oct 1 2020 sixg0000d <sixg0000d@gmail.com> - 0-0.1
- Initial shadowsocksr-uvw.

0 comments on commit 161ab54

Please sign in to comment.