[Tizen-submit] 5286: Changes to Tizen/power-manager

noreply at tizen.org noreply at tizen.org
Mon May 20 11:15:10 GMT 2013

Prajwal Mohan have made the following changes to power-manager in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]


Request: #5286

  submit:       Tizen:build/power-manager(cleanup) -> Tizen

Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130517.015814
Git project: platform/core/system/power-manager
Tag: submit/tizen/20130517.015814
Commit: 5a2e7ca Merge Tizen 2.0 dev to RSA

State:   accepted   2013-05-16T21:00:41 pkarurmo
Comment: Ok

History: new        2013-05-16T18:55:34 tizenrobot

spec files:

++++++ new spec file:
--- power-manager.spec
+++ power-manager.spec
@@ -0,0 +1,71 @@
+Name:       power-manager
+Summary:    Power manager
+Version:    1.3.21
+Release:    1
+VCS:        platform/core/system/power-manager#submit/tizen/20130517.015814-0-g5a2e7ca
+Group:      TO_BE/FILLED_IN
+License:    Flora Software License 
+Source0:    %{name}-%{version}.tar.gz
+Requires(post): /usr/bin/vconftool
+BuildRequires:  cmake
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(vconf)
+BuildRequires:  pkgconfig(sysman)
+BuildRequires:  pkgconfig(aul)
+BuildRequires:  pkgconfig(dlog)
+BuildRequires:  pkgconfig(sensor)
+BuildRequires:  pkgconfig(devman)
+BuildRequires:  pkgconfig(devman_plugin)
+BuildRequires:  pkgconfig(heynoti)
+Description: Power manager
+%package bin
+Summary:    Power manager
+Group:      TO_BE/FILLED_IN
+%description bin
+Description: Power manager
+%setup -q 
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+make %{?jobs:-j%jobs}
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d/
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc5.d/
+ln -s %{_sysconfdir}/init.d/power_manager.sh %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S35power-manager
+ln -s %{_sysconfdir}/init.d/power_manager.sh %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S00power-manager
+%post bin
+vconftool set -t int memory/pm/state 0 -i
+heynotitool set system_wakeup
+mkdir -p /etc/udev/rules.d
+if ! [ -L /etc/udev/rules.d/91-power-manager.rules ]; then
+        ln -s /usr/share/power-manager/udev-rules/91-power-manager.rules /etc/udev/rules.d/91-power-manager.rules
+%files bin

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

More information about the Tizen-submit mailing list