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.
vpnc-script/vpnc-script.spec

49 lines
1.1 KiB

%global git_date 20140805
%global git_commit_hash df5808b
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: 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
* Thu Nov 20 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 20140805-2.gitdf5808b
- Added dependency on which (#1068899)
- Added dependency on net-tools (#1007363)
* Wed Oct 01 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 20140805-1.gitdf5808b
- new upstream release (includes unbound patch)
* Tue Aug 05 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 20140705-1.git6201ebd
- new package