[Tizen-submit] 19381: Changes to Tizen:Generic/net-config

noreply at tizen.org noreply at tizen.org
Wed Jan 8 02:33:47 GMT 2014


Hi,
Graydon, Tracy have made the following changes to net-config in project Tizen:Generic. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #19381

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


Message:
Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen/20140108.022417
Git project: platform/core/connectivity/net-config
Tag: submit/tizen/20140108.022417
Commit: 21150471e3c11f0816e034404567b1f016924737 Make WIFI driver loading mechanism configurable

State:   new        2014-01-08T02:31:13 tizenrobot
Comment: <no comment>
old:
----
  _service
  _service:gbs:net-config-0.1.90_21.tar.gz
  _service:gbs:net-config.manifest
  _service:gbs:net-config.spec

new:
----
  net-config-0.1.90_28.tar.gz
  net-config.manifest
  net-config.spec

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

++++++ new spec file:
--- net-config.spec
+++ net-config.spec
@@ -0,0 +1,120 @@
+Name:       net-config
+VCS:        platform/core/connectivity/net-config#21150471e3c11f0816e034404567b1f016924737
+Summary:    TIZEN Network Configuration Module
+Version:    0.1.90_28
+Release:    1
+Group:      System/Network
+License:    Apache-2.0
+Source0:    %{name}-%{version}.tar.gz
+Source1001: 	net-config.manifest
+
+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
+BuildRequires:    pkgconfig(libsystemd-daemon)
+%{?systemd_requires}
+
+%description
+TIZEN Network Configuration Module
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+
+%build
+%cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+
+make %{?_smp_mflags}
+
+
+%install
+%make_install
+
+mkdir -p %{buildroot}%{_datadir}/dbus-1/system-services
+cp resources/usr/share/dbus-1/services/net.netconfig.service %{buildroot}%{_datadir}/dbus-1/system-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}%{_unitdir}/net-config.service
+mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants/
+ln -s ../net-config.service %{buildroot}%{_unitdir}/multi-user.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

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


More information about the Tizen-submit mailing list