diff --git a/openconnect-3.02.tar.gz b/openconnect-3.02.tar.gz deleted file mode 100644 index 2c9d84c..0000000 Binary files a/openconnect-3.02.tar.gz and /dev/null differ diff --git a/openconnect-3.15.tar.gz b/openconnect-3.15.tar.gz new file mode 100644 index 0000000..2def1a5 Binary files /dev/null and b/openconnect-3.15.tar.gz differ diff --git a/openconnect.changes b/openconnect.changes index 52b33ac..f42baba 100644 --- a/openconnect.changes +++ b/openconnect.changes @@ -1,3 +1,8 @@ +* Thu Mar 15 2012 Marko Saukko - 3.15 +- Update to version 3.15 +- Added .yaml for spectacle +- Added docs subpackage. + * Mon May 09 2011 David Woodhouse - 3.02 - Update to 3.02 to export libopenconnect for GUI authentication diff --git a/openconnect.spec b/openconnect.spec index ab6cb11..68ec222 100644 --- a/openconnect.spec +++ b/openconnect.spec @@ -1,57 +1,118 @@ -Name: openconnect -Version: 3.02 -Release: 1 -Summary: Open client for Cisco AnyConnect VPN +# +# Do NOT Edit the Auto-generated Part! +# Generated by: spectacle version 0.23 +# +# >> macros +# << macros +%define keepstatic 1 -Group: Applications/Internet -License: LGPLv2+ -URL: http://www.infradead.org/openconnect.html -Source0: ftp://ftp.infradead.org/pub/openconnect/openconnect-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Name: openconnect +Summary: Open client for Cisco AnyConnect VPN +Version: 3.15 +Release: 1 +Group: Applications/Internet +License: LGPLv2+ +URL: http://www.infradead.org/openconnect.html +Source0: ftp://ftp.infradead.org/pub/openconnect/openconnect-%{version}.tar.gz +Source100: openconnect.yaml +Requires: vpnc +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(openssl) +BuildRequires: libproxy-devel +BuildRequires: gettext -BuildRequires: openssl-devel libxml2-devel -BuildRequires: libproxy-devel -Requires: vpnc %description 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 +Summary: Development package for OpenConnect VPN authentication tools +Group: Applications/Internet +Requires: %{name} = %{version}-%{release} +Provides: openconnect-devel-static = %{version}-%{release} %description devel This package provides the core HTTP and authentication support from the OpenConnect VPN client, to be used by GUI authentication dialogs for NetworkManager etc. + +%package docs +Summary: Documentation package for OpenConnect VPN authentication tools +Group: Applications/Internet +Requires: %{name} = %{version}-%{release} + +%description docs +This package provides documentation for openconnect, such as man pages. + + + %prep -%setup -q +%setup -q -n %{name}-%{version} + +# >> setup +# << setup %build -make %{?_smp_mflags} +# >> build pre +autoreconf -f -i +# << build pre +%configure +make %{?jobs:-j%jobs} +# >> build post +# << build post %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 +rm -rf %{buildroot} +# >> install pre +# << install pre +%make_install + +# >> install post +# << install post +%find_lang %{name} + + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig -%clean -rm -rf $RPM_BUILD_ROOT -%files + + + + + + +%files -f %{name}.lang %defattr(-,root,root,-) -%{_bindir}/openconnect -%{_mandir}/man8/* -%doc TODO COPYING.LGPL openconnect.html +# >> files +%{_libdir}/libopenconnect.so.* +%{_sbindir}/openconnect +%doc COPYING.LGPL +# << files + %files devel %defattr(-,root,root,-) +# >> files devel +%doc TODO openconnect.html +%{_libdir}/libopenconnect.so %{_libdir}/libopenconnect.a -/usr/include/openconnect.h +%{_includedir}/openconnect.h %{_libdir}/pkgconfig/openconnect.pc +# << files devel + +%files docs +%defattr(-,root,root,-) +# >> files docs +%{_mandir}/man8/* +# << files docs + diff --git a/openconnect.yaml b/openconnect.yaml new file mode 100644 index 0000000..820e223 --- /dev/null +++ b/openconnect.yaml @@ -0,0 +1,40 @@ +Name: openconnect +Summary: Open client for Cisco AnyConnect VPN +Version: 3.15 +Release: 1 +Group: Applications/Internet +License: LGPLv2+ +URL: http://www.infradead.org/openconnect.html +Sources: + - ftp://ftp.infradead.org/pub/openconnect/openconnect-%{version}.tar.gz +Description: | + This package provides a client for Cisco's "AnyConnect" VPN, which uses + HTTPS and DTLS protocols. + +Requires: + - vpnc +PkgBR: + - libproxy-devel + - gettext +PkgConfigBR: + - libxml-2.0 + - openssl +Configure: configure +Builder: make +LocaleName: "%{name}" +SubPackages: + - Name: devel + Summary: Development package for OpenConnect VPN authentication tools + Group: Applications/Internet + Description: | + This package provides the core HTTP and authentication support from + the OpenConnect VPN client, to be used by GUI authentication dialogs + for NetworkManager etc. + Provides: + - openconnect-devel-static = %{version}-%{release} + + - Name: docs + Summary: Documentation package for OpenConnect VPN authentication tools + Group: Applications/Internet + Description: | + This package provides documentation for openconnect, such as man pages.