[Tizen-submit] 2999: New package Tizen:2.1:Main/net-config

noreply at tizen.org noreply at tizen.org
Wed Apr 24 23:12:49 GMT 2013


Hi,
Adding new package net-config in project Tizen:2.1:Main. Please review and accept ASAP.

Justification for this new package:

Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/connectivity/net-config
Tag: submit/tizen_2.1/20130424.231311
Commit: 5cc540a Revise signal handler for Wi-Fi powered event from ConnMan

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #2999

  submit:       Tizen:2.1:Main:build/net-config(cleanup) -> Tizen:2.1:Main


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/connectivity/net-config
Tag: submit/tizen_2.1/20130424.231311
Commit: 5cc540a Revise signal handler for Wi-Fi powered event from ConnMan

State:   new        2013-04-24T15:43:29 tizenrobot
Comment: <no comment>
new:
----
  net-config-0.1.90_19.tar.gz
  net-config.spec

spec files:
-----------

++++++ new spec file:
--- net-config.spec
+++ net-config.spec
@@ -0,0 +1,120 @@
+Name:       net-config
+Summary:    TIZEN Network Configuration Module
+Version:    0.1.90_19
+Release:    1
+VCS:        framework/connectivity/net-config#2.1_release-0-g5cc540a
+Group:      System/Network
+License:    Apache License Version 2.0
+Source0:    %{name}-%{version}.tar.gz
+
+BuildRequires:  cmake
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(dbus-glib-1)
+BuildRequires:  pkgconfig(dlog)
+BuildRequires:  pkgconfig(vconf)
+BuildRequires:  pkgconfig(wifi-direct)
+BuildRequires:  pkgconfig(tapi)
+BuildRequires:  pkgconfig(syspopup-caller)
+Requires(post): /usr/bin/vconftool
+Requires:         systemd
+Requires(post):   systemd
+Requires(preun):  systemd
+Requires(postun): systemd
+
+%description
+TIZEN Network Configuration Module
+
+%prep
+%setup -q
+
+
+%build
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+
+make %{?_smp_mflags}
+
+
+%install
+%make_install
+
+mkdir -p %{buildroot}%{_datadir}/dbus-1/services
+cp resources/usr/share/dbus-1/services/net.netconfig.service %{buildroot}%{_datadir}/dbus-1/services/net.netconfig.service
+mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d
+cp resources/etc/dbus-1/system.d/net-config.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/net-config.conf
+mkdir -p %{buildroot}/opt/etc
+cp resources/opt/etc/resolv.conf %{buildroot}/opt/etc/resolv.conf
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d
+cp resources/etc/rc.d/init.d/net-config %{buildroot}%{_sysconfdir}/rc.d/init.d/net-config
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d
+ln -s ../init.d/net-config %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S60net-config
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc5.d
+ln -s ../init.d/net-config %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S60net-config
+
+# Systemd service file
+mkdir -p %{buildroot}%{_libdir}/systemd/system/
+cp resources/usr/lib/systemd/system/net-config.service %{buildroot}%{_libdir}/systemd/system/net-config.service
+mkdir -p %{buildroot}%{_libdir}/systemd/system/network.target.wants/
+ln -s ../net-config.service %{buildroot}%{_libdir}/systemd/system/network.target.wants/net-config.service
+
+#License
+mkdir -p %{buildroot}%{_datadir}/license
+cp LICENSE.APLv2 %{buildroot}%{_datadir}/license/net-config
+
+%post
+
+vconftool set -t int memory/dnet/state 0 -i
+vconftool set -t int memory/wifi/state 0 -i
+vconftool set -t int memory/wifi/strength 0 -i
+vconftool set -t int memory/wifi/bgscan_mode 0 -i
+
+vconftool set -t int memory/dnet/cellular 0 -i
+vconftool set -t int memory/dnet/wifi 0 -i
+vconftool set -t int memory/dnet/network_config 0 -i
+vconftool set -t int memory/dnet/status 0 -i
+vconftool set -t string memory/dnet/ip "" -i

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list