Skip to content

Latest commit

 

History

History
82 lines (66 loc) · 2.01 KB

openconnect.spec

File metadata and controls

82 lines (66 loc) · 2.01 KB
 
Mar 19, 2012
Mar 19, 2012
1
%define keepstatic 1
Oct 4, 2011
Oct 4, 2011
2
Mar 19, 2012
Mar 19, 2012
3
4
Name: openconnect
Summary: Open client for Cisco AnyConnect VPN
May 7, 2019
May 7, 2019
5
Version: 8.02
Mar 19, 2012
Mar 19, 2012
6
7
8
9
10
11
12
13
14
15
16
17
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
Requires: vpnc
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(openssl)
BuildRequires: libproxy-devel
BuildRequires: gettext
Oct 4, 2011
Oct 4, 2011
18
19
20
21
22
23
%description
This package provides a client for Cisco's "AnyConnect" VPN, which uses
HTTPS and DTLS protocols.
%package devel
Mar 19, 2012
Mar 19, 2012
24
25
26
27
Summary: Development package for OpenConnect VPN authentication tools
Group: Applications/Internet
Requires: %{name} = %{version}-%{release}
Provides: openconnect-devel-static = %{version}-%{release}
Oct 4, 2011
Oct 4, 2011
28
29
30
31
32
33
%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.
Jan 22, 2019
Jan 22, 2019
34
35
36
%package doc
Summary: Documentation for %{name}
Group: Documentation
Mar 19, 2012
Mar 19, 2012
37
Requires: %{name} = %{version}-%{release}
Jan 22, 2019
Jan 22, 2019
38
Obsoletes: %{name}-docs
Mar 19, 2012
Mar 19, 2012
39
Jan 22, 2019
Jan 22, 2019
40
41
%description doc
Man page for %{name}.
Mar 19, 2012
Mar 19, 2012
42
Oct 4, 2011
Oct 4, 2011
43
%prep
Dec 17, 2018
Dec 17, 2018
44
%setup -q -n %{name}-%{version}/upstream
Oct 4, 2011
Oct 4, 2011
45
46
%build
Dec 17, 2018
Dec 17, 2018
47
./autogen.sh
Jan 22, 2019
Jan 22, 2019
48
49
50
%configure --with-vpnc-script=/etc/vpnc/vpnc-script \
--without-gnutls
make %{?_smp_mflags}
Oct 4, 2011
Oct 4, 2011
51
52
%install
Mar 19, 2012
Mar 19, 2012
53
54
rm -rf %{buildroot}
%make_install
Dec 17, 2018
Dec 17, 2018
55
rm -rf %{buildroot}%{_datadir}/openconnect
May 7, 2019
May 7, 2019
56
rm -f %{buildroot}%{_libexecdir}/openconnect/tncc-wrapper.py
Mar 19, 2012
Mar 19, 2012
57
Jan 22, 2019
Jan 22, 2019
58
59
mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}
Mar 19, 2012
Mar 19, 2012
60
61
62
63
64
%find_lang %{name}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
Oct 4, 2011
Oct 4, 2011
65
Mar 19, 2012
Mar 19, 2012
66
%files -f %{name}.lang
Oct 4, 2011
Oct 4, 2011
67
%defattr(-,root,root,-)
Jan 22, 2019
Jan 22, 2019
68
%license COPYING.LGPL
Mar 19, 2012
Mar 19, 2012
69
70
%{_libdir}/libopenconnect.so.*
%{_sbindir}/openconnect
May 7, 2019
May 7, 2019
71
%{_libexecdir}/openconnect/
Oct 4, 2011
Oct 4, 2011
72
73
74
%files devel
%defattr(-,root,root,-)
Mar 19, 2012
Mar 19, 2012
75
76
%{_libdir}/libopenconnect.so
%{_includedir}/openconnect.h
Oct 4, 2011
Oct 4, 2011
77
%{_libdir}/pkgconfig/openconnect.pc
Mar 19, 2012
Mar 19, 2012
78
Jan 22, 2019
Jan 22, 2019
79
%files doc
Mar 19, 2012
Mar 19, 2012
80
%defattr(-,root,root,-)
Jan 22, 2019
Jan 22, 2019
81
82
%{_mandir}/man8/%{name}.*
%{_docdir}/%{name}-%{version}