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