/[packages]/cauldron/connman/pristine/SPECS/connman.spec
ViewVC logotype

Annotation of /cauldron/connman/pristine/SPECS/connman.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 388069 - (hide annotations) (download)
Mon Jan 14 19:45:46 2013 UTC (11 years, 2 months ago) by tmb
Original Path: cauldron/connman/current/SPECS/connman.spec
File size: 2401 byte(s)
work around broken kernel-headers (P1)
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     BuildRequires: openvpn openconnect vpnc
21     Requires: openvpn openconnect vpnc
22     Requires: dbus
23     Requires: dhcp-client >= 3.0.2
24     Requires: wpa_supplicant >= 0.5.7
25     Requires: bluez
26     Requires(pre): rpm-helper
27    
28     %description
29     Connection Manager provides a daemon for managing Internet connections
30     within embedded devices running the Linux operating system.
31    
32     %package devel
33    
34     Summary: Development files for Connection Manager
35     Group: Development/C
36    
37     Requires: %{name} >= %{version}
38    
39     %description devel
40     connman-devel contains development files for use with connman.
41    
42     %prep
43     %setup -q -n connman-%{version}
44 fwang 316554 %apply_patches
45 fedya 281479
46 wally 336567 # fix build with new automake 1.13
47     sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' configure.*
48    
49 fedya 281479 %build
50     autoreconf -fi
51 fwang 316549 %configure2_5x --disable-static \
52 fedya 281479 --enable-ethernet \
53     --enable-wifi \
54     --enable-bluetooth \
55     --enable-datafiles \
56     --enable-loopback \
57     --enable-client \
58     --enable-threads \
59     --enable-gtk-doc \
60     --enable-hh2serial-gps \
61     --enable-openvpn \
62     --enable-openconnect \
63     --enable-vpnc \
64     --enable-l2tp \
65     --enable-iospm \
66     --enable-tist \
67     --enable-nmcompat \
68 fwang 316549 --enable-polkit
69 fedya 281479 %make
70    
71     %install
72     %makeinstall_std
73    
74     install -d %{buildroot}%{_datadir}/dbus-1/system-services/
75     install -m644 src/connman.service %{buildroot}%{_datadir}/dbus-1/system-services/org.moblin.connman.service
76    
77     %files
78     %doc AUTHORS COPYING INSTALL ChangeLog NEWS README
79     %{_sbindir}/*
80     %dir %{_libdir}/%{name}/scripts/
81     %{_libdir}/%{name}/plugins/*.so
82     %config %{_sysconfdir}/dbus-1/system.d/*.conf
83     %{_datadir}/dbus-1/system-services/org.moblin.connman.service
84     %{_datadir}/polkit-1/actions/net.%{name}.policy
85     %{_libdir}/%{name}/scripts/*.so*
86     %{_libdir}/%{name}/scripts/open*-script
87 fedya 281482 #% {_unitdir}/connman.service
88 fedya 281479
89     %files devel
90     %{_includedir}/*
91     %{_libdir}/pkgconfig/*.pc
92     %{_libdir}/%{name}/plugins/*.la
93     %{_libdir}/%{name}/scripts/*.la

  ViewVC Help
Powered by ViewVC 1.1.30