Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:CoolSpirit:enlightenment
connman
connman.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File connman.spec of Package connman
# # spec file for package connman # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild %if 0%{?suse_version} <= 1210 %define xtables_merge_fix 0 %define if_alg_h_remove 1 %else # this is for openSUSE Factory %define xtables_merge_fix 1 %define if_alg_h_remove 0 %endif %if "%{?_repository}" == "openSUSE_Tumbleweed" # in Tubmleweed we have remove if/alg.h as well %define if_alg_h_remove 1 %endif Name: connman Version: 0.78 Release: 1 Summary: Connection Manager for embeded Linux systems License: GPLv2+ Group: Productivity/Networking/System Url: http://connman.net Source0: http://www.kernel.org/pub/linux/network/connman/%{name}-%{version}.tar.gz Source1: rpmlintrc #revert:reverted api breakage in iptables-1.4.12 #see upstream commit fd668 added after 0.76 Patch0: connman-0.76-iptables-1.4.12.patch # linux/if_alg.h exists in linux-glibc-devel in 12.1 and newest Patch1: connman-0.78-no-if_alg.h.patch Patch2: allow_group_network.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(polkit-backend-1) BuildRequires: pkgconfig(xtables) BuildRequires: pkgconfig(gnutls) BuildRequires: pkgconfig(libcap-ng) BuildRequires: dhcp-client BuildRequires: linux-glibc-devel BuildRequires: openvpn BuildRequires: ntp BuildRequires: vpnc BuildRequires: wpa_supplicant Requires: dbus-1 Requires: dhcp-client >= 3.0.2 Requires: wpa_supplicant >= 0.5.7 Requires: bluez %description The Connection Manager (ConnMan) project provides a daemon for managing internet connections within embedded devices running the Linux operating system. ConnMan is designed to be slim and to use as few resources as possible, so it can be easily integrated. It is a fully modular system that can be extended, through plug-ins, to support all kinds of wired or wireless technologies. The plug-in approach allows for easy adaption and modification for various use cases. %package devel Summary: Development files for Connection Manager Group: Development/Libraries/C and C++ Requires: %{name} >= %{version} %description devel connman-devel contains development files for use with connman. %prep %setup -q # the xtables_merge is not synced between iptables and connman in 12.1 %if %{xtables_merge_fix} %patch0 -p1 %endif # the linux/if_alg.h has been added to linux-glibc-devel after 11.4 %if %{if_alg_h_remove} %patch1 -p1 %endif %patch2 -p1 %build # we are touching the configure.ac and Makefile.am/in in 11.4 and earliers %if %{if_alg_h_remove} autoconf -f automake -f %endif %configure \ --disable-static \ --disable-silent-rules \ --disable-dependency-tracking \ --enable-fake \ --enable-datafiles \ --enable-loopback=builtin \ --enable-threads \ --enable-ethernet=builtin \ --enable-wifi=builtin \ --enable-bluetooth=builtin \ --enable-openvpn=builtin \ --enable-pacrunner \ --enable-google=builtin \ --enable-ntpd=builtin \ --enable-nmcompat \ --enable-test \ --enable-polkit=builtin \ --enable-client \ --enable-tools \ --enable-capng \ --with-systemdunitdir=/lib/systemd/system # FIXME: # openconnect is not in Factory, only in network # --enable-openconnect \ # --enable-gtk-doc documentation?? make %{?_smp_mflags} %install %{make_install} install -d -m 0755 %{buildroot}%{_bindir} install -m 0755 client/cm %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_sysconfdir}/connman %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %dir %{_libdir}/connman %dir %{_libdir}/connman/plugins %dir %{_libdir}/connman/scripts %dir %{_libdir}/connman/test %{_bindir}/cm %{_libdir}/connman/test/* %{_sbindir}/* %{_libdir}/connman/plugins/*.la %{_libdir}/connman/plugins/*.so %{_libdir}/connman/scripts/* %{_sysconfdir}/connman %config %{_sysconfdir}/dbus-1/system.d/*.conf %{_datadir}/polkit-1/actions/net.connman.policy /lib/systemd/system/connman.service %files devel %defattr(-,root,root) %dir %{_includedir}/connman %{_includedir}/connman/*.h %{_libdir}/pkgconfig/connman.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor