[Tizen-submit] 6378: New package Tizen/charging-animation

noreply at tizen.org noreply at tizen.org
Wed May 29 22:02:20 GMT 2013


Hi,
Adding new package charging-animation in project Tizen. Please review and accept ASAP.

Justification for this new package:

Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130529.220540
Git project: apps/core/preloaded/charging-animation
Tag: submit/tizen/20130529.220540
Commit: f365c49 Merge branch 'master' into tizen_2.1

Thank You,
Prajwal Mohan

[This message was auto-generated]

---

Request: #6378

  submit:       Tizen:build/charging-animation(cleanup) -> Tizen


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130529.220540
Git project: apps/core/preloaded/charging-animation
Tag: submit/tizen/20130529.220540
Commit: f365c49 Merge branch 'master' into tizen_2.1

State:   new        2013-05-29T15:01:47 tizenrobot
Comment: <no comment>
changes files:
--------------

++++++ new changes file:
--- charging-animation.changes
+++ charging-animation.changes
@@ -0,0 +1,2 @@
+* Fri Jul 28 2012 Yin Kangkai <kangkai.yin at intel.com>
+- Port from sysV rc script based to systemd based.

new:
----
  charging-animation-0.0.9.tar.gz
  charging-animation.changes
  charging-animation.spec
  charging-mode.service
  charging-mode.target

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

++++++ new spec file:
--- charging-animation.spec
+++ charging-animation.spec
@@ -0,0 +1,59 @@
+Name:       charging-animation
+Summary:    charging-animation
+ExclusiveArch:  %{arm}
+Version:    0.0.9
+Release:    1
+VCS:        apps/core/preloaded/charging-animation#submit/tizen/20130529.220540-0-gf365c49b7e253f3d90669425b690d27ab7cb0d24
+Group:      misc
+License:    Flora Software License
+Source0:    %{name}-%{version}.tar.gz
+Source100:  charging-mode.target
+Source101:  charging-mode.service
+
+BuildRequires: cmake
+BuildRequires: pkgconfig(libpng)
+BuildRequires: pkgconfig(libdrm)
+BuildRequires: pkgconfig(libkms)
+BuildRequires: pkgconfig(device-node)
+BuildRequires: pkgconfig(devman)
+BuildRequires: pkgconfig(dlog)
+
+%description
+charging-animation
+
+%prep
+%setup -q
+
+
+%build
+export LDFLAGS+="-Wl,--rpath=%{_prefix}/lib -Wl,--as-needed"
+mkdir cmake_tmp
+cd cmake_tmp
+LDFLAGS="$LDFLAGS" cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix}
+
+make %{?jobs:-j%jobs}
+
+%install
+cd cmake_tmp
+%make_install
+
+# systemd related
+mkdir -p %{buildroot}%{_libdir}/systemd/system/
+install -m 0644 %{SOURCE100} %{buildroot}%{_libdir}/systemd/system/
+install -m 0644 %{SOURCE101} %{buildroot}%{_libdir}/systemd/system/
+mkdir -p %{buildroot}%{_libdir}/systemd/system/charging-mode.target.wants
+ln -s ../charging-mode.service %{buildroot}%{_libdir}/systemd/system/charging-mode.target.wants/charging-mode.service
+
+%post
+chmod 755 /etc/rc.d/init.d/run-chg-ani
+mkdir -p /etc/rc.d/rc2.d
+ln -s /etc/rc.d/init.d/run-chg-ani /etc/rc.d/rc2.d/S01charging-animation
+
+%files
+%defattr(-,root,root,-)
+%attr(755,-,-) %{_sysconfdir}/rc.d/init.d/run-chg-ani
+%{_sysconfdir}/*
+%{_bindir}/*
+%dir %{_libdir}/systemd/system/charging-mode.target.wants
+%{_libdir}/systemd/system/*
+%{_datadir}/*

other changes:

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


More information about the Tizen-submit mailing list