From 5caa6d4ce4cf2dd70d909505e1ea12ad54e859d1 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Thu, 30 Jun 2011 00:50:45 +0100 Subject: [PATCH] Update to 3.10 --- .gitignore | 1 + openconnect.spec | 20 +++++++++++--------- sources | 2 +- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 9489018..e75fd6f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ openconnect-2.25.tar.gz /openconnect-3.00.tar.gz /openconnect-3.01.tar.gz /openconnect-3.02.tar.gz +/openconnect-3.10.tar.gz diff --git a/openconnect.spec b/openconnect.spec index e372d71..83fc348 100644 --- a/openconnect.spec +++ b/openconnect.spec @@ -1,6 +1,6 @@ Name: openconnect -Version: 3.02 -Release: 2%{?dist} +Version: 3.10 +Release: 1%{?dist} Summary: Open client for Cisco AnyConnect VPN Group: Applications/Internet @@ -22,7 +22,6 @@ This package provides a client for Cisco's "AnyConnect" VPN, which uses HTTPS and DTLS protocols. %package devel -Provides: openconnect-devel-static = %{version}-%{release} Summary: Development package for OpenConnect VPN authentication tools Group: Applications/Internet @@ -35,15 +34,14 @@ for NetworkManager etc. %setup -q %build -make %{?_smp_mflags} openconnect +%configure +make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT -make install-lib LIBDIR=%{_libdir} DESTDIR=$RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8 -install -m0644 openconnect.8 $RPM_BUILD_ROOT/%{_mandir}/man8 +%makeinstall +rm -f $RPM_BUILD_ROOT/%{_libdir}/libopenconnect.la %clean rm -rf $RPM_BUILD_ROOT @@ -51,17 +49,21 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) +%{_libdir}/libopenconnect.so.1* %{_bindir}/openconnect %{_mandir}/man8/* %doc TODO COPYING.LGPL openconnect.html %files devel %defattr(-,root,root,-) -%{_libdir}/libopenconnect.a +%{_libdir}/libopenconnect.so /usr/include/openconnect.h %{_libdir}/pkgconfig/openconnect.pc %changelog +* Thu Jun 30 2011 David Woodhouse - 3.10-1 +- Update to 3.10. (Drop static library, ship libopenconnect.so.1) + * Tue Apr 19 2011 David Woodhouse - 3.02-2 - Fix manpage (new tarball) diff --git a/sources b/sources index c04b17b..270e646 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c12688474f432a6d590958cc1c1ff076 openconnect-3.02.tar.gz +f6cc2d5a97de2fac9810b227a2ad4ff2 openconnect-3.10.tar.gz