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

9 years ago
  1. Name: shadowsocks-libev
  2. Version: 2.1.4
  3. Release: 1%{?dist}
  4. Summary: A lightweight secured socks5 proxy for embedded devices and low end boxes.
  5. License: GPLv3+
  6. URL: https://github.com/shadowsocks/shadowsocks-libev
  7. Source0: %{name}-%{version}.tar.xz
  8. Source1: shadowsocks@.service
  9. Source2: shadowsocks-server@.service
  10. %description
  11. Shadowsocks-libev is a lightweight secured socks5 proxy for embedded devices and low end boxes.
  12. %prep
  13. %setup -q
  14. %build
  15. %configure
  16. make %{?_smp_mflags}
  17. %install
  18. rm -rf $RPM_BUILD_ROOT
  19. %make_install
  20. mkdir -p %{buildroot}/usr/lib/systemd/system
  21. cp %{SOURCE1} %{SOURCE2} %{buildroot}/usr/lib/systemd/system
  22. %files
  23. %{_bindir}/ss-local
  24. %{_bindir}/ss-redir
  25. %{_bindir}/ss-server
  26. %{_bindir}/ss-tunnel
  27. %doc %{_mandir}/*
  28. %doc /usr/lib/systemd/system/*
  29. %package devel
  30. Summary: Files for development of applications which will use shadowsocks.
  31. License: GPLv3+
  32. URL: https://github.com/shadowsocks/shadowsocks-libev
  33. %description devel
  34. Shadowsocks-libev is a lightweight secured socks5 proxy for embedded devices and low end boxes.
  35. %files devel
  36. %{_includedir}/shadowsocks.h
  37. %{_libdir}/libshadowsocks.a
  38. %{_libdir}/libshadowsocks.la
  39. %{_libdir}/pkgconfig/shadowsocks-libev.pc
  40. %changelog