%global git_date 20170821 %global git_commit_hash 6f87b0f Name: vpnc-script Version: %{git_date} Release: 1.git%{git_commit_hash}%{?dist} Summary: Routing setup script for vpnc and openconnect Group: Applications/Internet BuildArch: noarch Requires: iproute 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 * Mon Aug 21 2017 Nikos Mavrogiannopoulos - 20170821-1.git6f87b0f - new upstream release - removed dependency on net-tools and added on iproute (#1481164) * Thu Jul 27 2017 Fedora Release Engineering - 20140805-6.gitdf5808b - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 20140805-5.gitdf5808b - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * 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