1 |
Name: connman |
2 |
Summary: Connection Manager |
3 |
Group: Networking/Other |
4 |
Version: 1.9 |
5 |
License: GPLv2 |
6 |
URL: http://www.moblin.org |
7 |
Release: %mkrel 2 |
8 |
Source0: http://www.kernel.org/pub/linux/network/%{name}/%{name}-%{version}.tar.gz |
9 |
Patch0: connman-1.4-linkage.patch |
10 |
BuildRequires: glib2-devel |
11 |
BuildRequires: dbus-devel |
12 |
BuildRequires: udev-devel |
13 |
BuildRequires: dhcp-client |
14 |
BuildRequires: pkgconfig(gnutls) |
15 |
BuildRequires: readline-devel |
16 |
BuildRequires: ppp-devel |
17 |
BuildRequires: gtk-doc |
18 |
BuildRequires: iptables-devel |
19 |
BuildRequires: openvpn openconnect vpnc |
20 |
Requires: openvpn openconnect vpnc |
21 |
Requires: dbus |
22 |
Requires: dhcp-client >= 3.0.2 |
23 |
Requires: wpa_supplicant >= 0.5.7 |
24 |
Requires: bluez |
25 |
Requires(pre): rpm-helper |
26 |
|
27 |
%description |
28 |
Connection Manager provides a daemon for managing Internet connections |
29 |
within embedded devices running the Linux operating system. |
30 |
|
31 |
%package devel |
32 |
|
33 |
Summary: Development files for Connection Manager |
34 |
Group: Development/C |
35 |
|
36 |
Requires: %{name} >= %{version} |
37 |
|
38 |
%description devel |
39 |
connman-devel contains development files for use with connman. |
40 |
|
41 |
%prep |
42 |
%setup -q -n connman-%{version} |
43 |
%apply_patches |
44 |
|
45 |
%build |
46 |
autoreconf -fi |
47 |
%configure2_5x --disable-static \ |
48 |
--enable-ethernet \ |
49 |
--enable-wifi \ |
50 |
--enable-bluetooth \ |
51 |
--enable-datafiles \ |
52 |
--enable-loopback \ |
53 |
--enable-client \ |
54 |
--enable-threads \ |
55 |
--enable-gtk-doc \ |
56 |
--enable-hh2serial-gps \ |
57 |
--enable-openvpn \ |
58 |
--enable-openconnect \ |
59 |
--enable-vpnc \ |
60 |
--enable-l2tp \ |
61 |
--enable-iospm \ |
62 |
--enable-tist \ |
63 |
--enable-nmcompat \ |
64 |
--enable-polkit |
65 |
%make |
66 |
|
67 |
%install |
68 |
%makeinstall_std |
69 |
|
70 |
install -d %{buildroot}%{_datadir}/dbus-1/system-services/ |
71 |
install -m644 src/connman.service %{buildroot}%{_datadir}/dbus-1/system-services/org.moblin.connman.service |
72 |
|
73 |
%files |
74 |
%doc AUTHORS COPYING INSTALL ChangeLog NEWS README |
75 |
%{_sbindir}/* |
76 |
%dir %{_libdir}/%{name}/scripts/ |
77 |
%{_libdir}/%{name}/plugins/*.so |
78 |
%config %{_sysconfdir}/dbus-1/system.d/*.conf |
79 |
%{_datadir}/dbus-1/system-services/org.moblin.connman.service |
80 |
%{_datadir}/polkit-1/actions/net.%{name}.policy |
81 |
%{_libdir}/%{name}/scripts/*.so* |
82 |
%{_libdir}/%{name}/scripts/open*-script |
83 |
#% {_unitdir}/connman.service |
84 |
|
85 |
%files devel |
86 |
%{_includedir}/* |
87 |
%{_libdir}/pkgconfig/*.pc |
88 |
%{_libdir}/%{name}/plugins/*.la |
89 |
%{_libdir}/%{name}/scripts/*.la |