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

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


Hi,
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


Message:
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
new:
----
  power-manager-1.3.21.tar.gz
  power-manager.spec

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
+Description: Power manager
+
+
+%package bin
+Summary:    Power manager
+Group:      TO_BE/FILLED_IN
+
+%description bin
+Description: Power manager
+
+
+%prep
+%setup -q 
+
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+
+%build
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+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
+fi
+
+
+
+%files bin
+%defattr(-,root,root,-)
+/etc/rc.d/init.d/power_manager.sh
+/etc/rc.d/rc3.d/S35power-manager
+/etc/rc.d/rc5.d/S00power-manager
+/usr/bin/pm_event
+/usr/bin/pmctrl
+/usr/bin/power_manager
+/usr/share/power-manager/udev-rules/91-power-manager.rules
+


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


More information about the Tizen-submit mailing list