%global gitcommit 7659eec %global gitbuild 1.3 Name: simple-obfs Version: 0.0.5 Release: %{?gitcommit:%{gitbuild}.git%{gitcommit}}%{!?gitcommit:1}%{?dist} Summary: A simple obfuscating tool Group: Applications/Internet License: GPLv3+ URL: https://github.com/shadowsocks/simple-obfs Source0: %{name}-%{version}.git%{gitcommit}.tar.xz #Source0: https://github.com/shadowsocks/simple-obfs/archive/v%{version}.tar.gz BuildRequires: gcc BuildRequires: make BuildRequires: xmlto BuildRequires: libtool BuildRequires: asciidoc BuildRequires: autoconf BuildRequires: automake BuildRequires: libev-devel %description Simple-obfs is a simple obfusacting tool, designed as plugin server of shadowsocks. %prep %setup -q -n %{name}-%{version}.git%{gitcommit} #autoreconf -fvi %build %configure make %{?_smp_mflags} %install %make_install %files %defattr(-,root,root) %{_bindir}/* %{_mandir}/man1/* %{_docdir}/* %changelog * Tue Sep 18 2018 Yupeng Chang - 0.0.5-1.3.git7659eec - Update to latest * Wed Apr 11 2018 Yupeng Chang - 0.0.5-1.2.git3763198 - Update to latest * Tue Nov 28 2017 Yupeng Chang - 0.0.5-1.1.gite390bb1 - Update to latest * Sat Nov 11 2017 Yupeng Chang - 0.0.4-1.1.gitfa5ee69 - Update to latest * Wed Sep 06 2017 Yupeng Chang - 0.0.4-0.1.git2955a57 - Build latest