You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.3 KiB
56 lines
1.3 KiB
Name: shadowsocks-libev
|
|
Version: 2.1.4
|
|
Release: 1%{?dist}
|
|
Summary: A lightweight secured socks5 proxy for embedded devices and low end boxes.
|
|
|
|
License: GPLv3+
|
|
URL: https://github.com/shadowsocks/shadowsocks-libev
|
|
Source0: %{name}-%{version}.tar.xz
|
|
Source1: shadowsocks@.service
|
|
Source2: shadowsocks-server@.service
|
|
|
|
|
|
%description
|
|
Shadowsocks-libev is a lightweight secured socks5 proxy for embedded devices and low end boxes.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
%make_install
|
|
mkdir -p %{buildroot}/usr/lib/systemd/system
|
|
cp %{SOURCE1} %{SOURCE2} %{buildroot}/usr/lib/systemd/system
|
|
|
|
|
|
%files
|
|
%{_bindir}/ss-local
|
|
%{_bindir}/ss-redir
|
|
%{_bindir}/ss-server
|
|
%{_bindir}/ss-tunnel
|
|
%doc %{_mandir}/*
|
|
%doc /usr/lib/systemd/system/*
|
|
|
|
|
|
%package devel
|
|
Summary: Files for development of applications which will use shadowsocks.
|
|
License: GPLv3+
|
|
URL: https://github.com/shadowsocks/shadowsocks-libev
|
|
|
|
%description devel
|
|
Shadowsocks-libev is a lightweight secured socks5 proxy for embedded devices and low end boxes.
|
|
|
|
%files devel
|
|
%{_includedir}/shadowsocks.h
|
|
%{_libdir}/libshadowsocks.a
|
|
%{_libdir}/libshadowsocks.la
|
|
%{_libdir}/pkgconfig/shadowsocks-libev.pc
|
|
|
|
|
|
%changelog
|