[Tizen-submit] 19263: New package Tizen:Mobile/charging-animation-clovertrail

noreply at tizen.org noreply at tizen.org
Tue Jan 7 01:17:35 GMT 2014


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

Justification for this new package:

Submitter: Chengwei Yang <chengwei.yang at intel.com>
Comments: fix build, add smack manifest
Git project: platform/adaptation/intel_clovertrail/charging-animation-clovertrail
Tag: submit/tizen/20140107.011840
Commit: 6b647766d1a93c064d9a05e0ca63b8d3505f5926 Add default manifest

Thank You,
Chengwei Yang

[This message was auto-generated]

---

Request: #19263

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


Message:
Submitter: Chengwei Yang <chengwei.yang at intel.com>
Comments: fix build, add smack manifest
Git project: platform/adaptation/intel_clovertrail/charging-animation-clovertrail
Tag: submit/tizen/20140107.011840
Commit: 6b647766d1a93c064d9a05e0ca63b8d3505f5926 Add default manifest

State:   new        2014-01-07T01:14:59 tizenrobot
Comment: <no comment>
new:
----
  charging-animation-clovertrail-0.0.2.tar.gz
  charging-animation-clovertrail.manifest
  charging-animation-clovertrail.spec
  charging-animation.conf
  charging-mode.service
  charging-mode.target

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

++++++ new spec file:
--- charging-animation-clovertrail.spec
+++ charging-animation-clovertrail.spec
@@ -0,0 +1,64 @@
+Name:       charging-animation-clovertrail
+VCS:        platform/adaptation/intel_clovertrail/charging-animation-clovertrail#6b647766d1a93c064d9a05e0ca63b8d3505f5926
+Summary:    charging animation porting for clovertrail reference device
+Version:    0.0.2
+Release:    1
+Group:      misc
+License:    Flora Software License
+Source0:    %{name}-%{version}.tar.gz
+Source100:  charging-mode.target
+Source101:  charging-mode.service
+Source102:  charging-animation.conf
+Source1001: charging-animation-clovertrail.manifest
+
+BuildRequires: cmake
+
+BuildRequires: pkgconfig(libpng)
+BuildRequires: pkgconfig(libdrm)
+BuildRequires: pkgconfig(libkms)
+
+%description
+charging-animation
+
+%prep
+%setup -q
+
+
+%build
+cp %{SOURCE1001} .
+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
+
+# temoprary HW configuration. it should be seperated.
+mkdir -p %{buildroot}/etc/sysconfig
+install -m 644 %{SOURCE102} %{buildroot}/etc/sysconfig/charging-animation
+
+# 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
+%manifest %{name}.manifest
+%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:
--------------

++++++ charging-animation-clovertrail-0.0.2.tar.gz (new)


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


More information about the Tizen-submit mailing list