File shadowsocks-qt5.spec of Package shadowsocks-qt5

# spec file for package shadowsocks-qt5
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# 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

# See also

Name:           shadowsocks-qt5
Version:        3.0.1
Release:        0
Summary:        A cross-platform shadowsocks GUI client

License:        LGPL-3.0
Group:          Productivity/Networking/Web/Proxy
Url:  {name}
Source0:        %{name}-%{version}.tar.gz
Patch:          desktop.patch
BuildRequires:  libqt5-qtbase-devel qrencode-devel libbotan-devel libzbar-devel libappindicator-devel
BuildRequires:  libQtShadowsocks-devel >= 2.0.0
BuildRequires:  update-desktop-files
Requires:       libQtShadowsocks2 >= 2.0.0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Shadowsocks-Qt5 is a native and cross-platform shadowsocks GUI client with advanced features.

%setup -q
%patch -p1

make %{?_smp_mflags}


%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig