3d4c281a9065ec5a70e240ec64d0523d37646f49
[platform/upstream/openconnect.git] / packaging / openconnect.spec
1 Name:           openconnect
2 Version:        4.99
3 Release:        0
4 License:        LGPL-2.1+
5 Summary:        Open client for Cisco AnyConnect VPN
6 Url:            http://www.infradead.org/openconnect.html
7 Group:          Networking/Security
8 Source0:        ftp://ftp.infradead.org/pub/%{name}/%{name}-%{version}.tar.gz
9 BuildRequires:  pkgconfig(libproxy-1.0)
10 BuildRequires:  openssl-devel
11 BuildRequires:  pkg-config
12 BuildRequires:  pkgconfig(dbus-1)
13 BuildRequires:  pkgconfig(libxml-2.0)
14 BuildRequires:  vpnc
15 Requires:       vpnc
16
17 %description
18 This package provides a client for Cisco's "AnyConnect" VPN, which uses
19 HTTPS and DTLS protocols.  AnyConnect is supported by the ASA5500 Series,
20 by IOS 12.4(9)T or later on Cisco SR500, 870, 880, 1800, 2800, 3800,
21 7200 Series and Cisco 7301 Routers, and probably others.
22
23 %package devel
24 Summary:        Development files and headers for %{name}
25 Group:          Development/Libraries
26 Requires:       %{name} = %{version}
27 Recommends:     pkg-config
28
29 %description devel
30 This package provides a client for Cisco's "AnyConnect" VPN, which uses
31 HTTPS and DTLS protocols.  AnyConnect is supported by the ASA5500 Series,
32 by IOS 12.4(9)T or later on Cisco SR500, 870, 880, 1800, 2800, 3800,
33 7200 Series and Cisco 7301 Routers, and probably others.
34
35 This packages provides development files and headers needed to build
36 packages against openconnect
37
38
39 %prep
40 %setup -q
41
42 %build
43 %autogen 
44 %configure --docdir=%{_docdir}/%{name}/ --disable-nls
45 make
46
47 %install
48 %make_install
49
50 %post   -p /sbin/ldconfig
51
52 %postun -p /sbin/ldconfig
53
54
55 %files
56 %defattr(-,root,root)
57 %license COPYING.LGPL 
58 %{_libdir}/libopenconnect.so.*
59 %{_mandir}/man8/*
60 %{_sbindir}/openconnect
61
62 %files devel
63 %defattr(-,root,root)
64 %{_includedir}/openconnect.h
65 %{_libdir}/libopenconnect.so
66 %{_libdir}/pkgconfig/openconnect.pc
67
68 %docs_package
69
70
71 %changelog