Commit 1d24c714 authored by sage's avatar sage

Updated openconnect to version 3.15.

Signed-off-by: sage's avatarMarko Saukko <marko.saukko@gmail.com>
parent bfa949de
* Thu Mar 15 2012 Marko Saukko <marko.saukko@gmail.com> - 3.15
- Update to version 3.15
- Added .yaml for spectacle
- Added docs subpackage.
* Mon May 09 2011 David Woodhouse <David.Woodhouse@intel.com> - 3.02
- Update to 3.02 to export libopenconnect for GUI authentication
......
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
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.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment