%global git_date 20140805 %global git_commit_hash df5808b Name: vpnc-script Version: %{git_date} Release: 4.git%{git_commit_hash}%{?dist} Summary: Routing setup script for vpnc and openconnect Group: Applications/Internet BuildArch: noarch Requires: net-tools Requires: which License: GPLv2+ URL: http://git.infradead.org/users/dwmw2/vpnc-scripts.git/ Source0: vpnc-script %description This script sets up routing for VPN connectivity, when invoked by vpnc or openconnect. %prep cp -p %SOURCE0 . %build %install mkdir -p -m 755 %{buildroot}%{_sysconfdir}/vpnc install -m 0755 vpnc-script \ %{buildroot}%{_sysconfdir}/vpnc/vpnc-script %files %defattr(-,root,root) %dir %{_sysconfdir}/vpnc %{_sysconfdir}/vpnc/vpnc-script %changelog * Fri Feb 05 2016 Fedora Release Engineering - 20140805-4.gitdf5808b - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jun 19 2015 Fedora Release Engineering - 20140805-3.gitdf5808b - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Nov 20 2014 Nikos Mavrogiannopoulos - 20140805-2.gitdf5808b - Added dependency on which (#1068899) - Added dependency on net-tools (#1007363) * Wed Oct 01 2014 Nikos Mavrogiannopoulos - 20140805-1.gitdf5808b - new upstream release (includes unbound patch) * Tue Aug 05 2014 Nikos Mavrogiannopoulos - 20140705-1.git6201ebd - new package