resetting manifest requested domain to floor
[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 Source1001:     openconnect.manifest
10 BuildRequires:  pkgconfig(libproxy-1.0)
11 BuildRequires:  openssl-devel
12 BuildRequires:  pkg-config
13 BuildRequires:  pkgconfig(dbus-1)
14 BuildRequires:  pkgconfig(libxml-2.0)
15 BuildRequires:  vpnc
16 Requires:       vpnc
17
18 %description
19 This package provides a client for Cisco's "AnyConnect" VPN, which uses
20 HTTPS and DTLS protocols.  AnyConnect is supported by the ASA5500 Series,
21 by IOS 12.4(9)T or later on Cisco SR500, 870, 880, 1800, 2800, 3800,
22 7200 Series and Cisco 7301 Routers, and probably others.
23
24 %package devel
25 Summary:        Development files and headers for %{name}
26 Group:          Development/Libraries
27 Requires:       %{name} = %{version}
28 Recommends:     pkg-config
29
30 %description devel
31 This package provides a client for Cisco's "AnyConnect" VPN, which uses
32 HTTPS and DTLS protocols.  AnyConnect is supported by the ASA5500 Series,
33 by IOS 12.4(9)T or later on Cisco SR500, 870, 880, 1800, 2800, 3800,
34 7200 Series and Cisco 7301 Routers, and probably others.
35
36 This packages provides development files and headers needed to build
37 packages against openconnect
38
39
40 %prep
41 %setup -q
42 cp %{SOURCE1001} .
43
44 %build
45 %autogen 
46 %configure --docdir=%{_docdir}/%{name}/ --disable-nls
47 make
48
49 %install
50 %make_install
51
52 %post   -p /sbin/ldconfig
53
54 %postun -p /sbin/ldconfig
55
56
57 %files
58 %manifest %{name}.manifest
59 %defattr(-,root,root)
60 %license COPYING.LGPL 
61 %{_libdir}/libopenconnect.so.*
62 %{_mandir}/man8/*
63 %{_sbindir}/openconnect
64
65 %files devel
66 %manifest %{name}.manifest
67 %defattr(-,root,root)
68 %{_includedir}/openconnect.h
69 %{_libdir}/libopenconnect.so
70 %{_libdir}/pkgconfig/openconnect.pc
71
72 %docs_package
73
74
75 %changelog