Name: simple-obfs Version: 0.0.5 Release: 1%{?dist} Summary: A simple obfuscating tool Packager: Anton Chen Vendor: Sa Logs,http://salogs.org Group: System Environment/Daemons License: GPL v3 URL: https://github.com/shadowsocks/%{name} Source0: simple-obfs-0.0.5.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gcc, autoconf, libtool, automake, make, zlib-devel, openssl-devel, asciidoc, xmlto, libsodium-devel, libev-devel, c-ares-devel Requires: libsodium >= 1.0.4 Requires: libev, c-ares, shadowsocks-libev %description Simple-obfs is a simple obfusacting tool, designed as plugin server of shadowsocks. %prep %setup -q %build %configure %if 0%{?rhel} <=6 ln -s /usr/include/libev/ev.h src/ev.h %endif make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_bindir}/obfs-local %{_bindir}/obfs-server %doc %{_docdir}/simple-obfs/obfs-local.html %{_docdir}/simple-obfs/obfs-server.html %{_mandir}/man1/obfs-local.1.gz %{_mandir}/man1/obfs-server.1.gz %changelog * Fri Nov 17 2017 Anton Chen - 0.0.5-1 - Update version to 0.0.5 * Mon Nov 06 2017 Anton Chen - 0.0.4-1 - Update version to 0.0.4 * Tue Aug 22 2017 Anton Chen - 0.0.3-1 - Initial version