packages: vpnc/vpnc.spec - separated -script (now used also by openconnect)...

qboosh qboosh at pld-linux.org
Tue May 22 14:10:35 CEST 2012


Author: qboosh                       Date: Tue May 22 12:10:35 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- separated -script (now used also by openconnect)
- release 3

---- Files affected:
packages/vpnc:
   vpnc.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: packages/vpnc/vpnc.spec
diff -u packages/vpnc/vpnc.spec:1.19 packages/vpnc/vpnc.spec:1.20
--- packages/vpnc/vpnc.spec:1.19	Tue Jan 31 12:55:44 2012
+++ packages/vpnc/vpnc.spec	Tue May 22 14:10:30 2012
@@ -7,8 +7,8 @@
 Summary(pl.UTF-8):	Klient VPN dla Cisco EasyVPN
 Name:		vpnc
 Version:	0.5.3
-Release:	2
-License:	GPL
+Release:	3
+License:	GPL v2+
 Group:		Networking/Daemons
 Source0:	http://www.unix-ag.uni-kl.de/~massar/vpnc/%{name}-%{version}.tar.gz
 # Source0-md5:	4378f9551d5b077e1770bbe09995afb3
@@ -16,10 +16,11 @@
 Source2:	%{name}.tmpfiles
 Patch0:		%{name}-bash.patch
 URL:		http://www.unix-ag.uni-kl.de/~massar/vpnc/
-BuildRequires:	libgcrypt-devel
+BuildRequires:	libgcrypt-devel >= 1.1.90
 %{?with_openssl:BuildRequires:	openssl-devel}
 BuildRequires:	perl-base
-Requires:	bash
+Requires:	libgcrypt >= 1.1.90
+Requires:	%{name}-script = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -28,6 +29,20 @@
 %description -l pl.UTF-8
 Klient VPN kompatybilny ze sprzętem Cisco obsługującym EasyVPN.
 
+%package script
+Summary:	VPN Client network configuration script
+Summary(pl.UTF-8):	Skrypt do konfiguracji sieci wykorzystywany przez VPN Clienta
+Group:		Applications/Networking
+Conflicts:	vpnc < 0.5.3-3
+
+%description script
+VPN Client network configuration script (used by vpnc and
+openconnect).
+
+%description script -l pl.UTF-8
+Skrypt do konfiguracji sieci VPN Clienta (wykorzystywany przez pakiety
+vpnc i openconnect).
+
 %prep
 %setup -q
 %patch0 -p1
@@ -62,12 +77,22 @@
 %defattr(644,root,root,755)
 %doc ChangeLog README TODO
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
-%{_sysconfdir}/%{name}
-%attr(755,root,root) %{_bindir}/*
+%dir %{_sysconfdir}/%{name}
+%attr(755,root,root) %{_sysconfdir}/%{name}/vpnc-script
+%attr(755,root,root) %{_bindir}/cisco-decrypt
+%attr(755,root,root) %{_bindir}/pcf2vpnc
+%attr(755,root,root) %{_bindir}/vpnc
+%attr(755,root,root) %{_bindir}/vpnc-disconnect
+%attr(755,root,root) %{_bindir}/vpnccfg
 %dir /var/run/%{name}
 /usr/lib/tmpfiles.d/%{name}.conf
-%{_mandir}/man8/*
-%{_mandir}/man1/*
+%{_mandir}/man1/cisco-decrypt.1*
+%{_mandir}/man1/pcf2vpnc.1*
+%{_mandir}/man8/vpnc.8*
+
+%files script
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/vpnc-script
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -75,6 +100,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2012/05/22 12:10:30  qboosh
+- separated -script (now used also by openconnect)
+- release 3
+
 Revision 1.19  2012/01/31 11:55:44  baggins
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/vpnc/vpnc.spec?r1=1.19&r2=1.20



More information about the pld-cvs-commit mailing list