[Tizen-submit] 2970: New package Tizen:2.1:Main/status

noreply at tizen.org noreply at tizen.org
Wed Apr 24 23:09:03 GMT 2013


Hi,
Adding new package status in project Tizen:2.1:Main. Please review and accept ASAP.

Justification for this new package:

Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/appfw/status
Tag: submit/tizen_2.1/20130424.230925
Commit: 793245d merge with master

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #2970

  submit:       Tizen:2.1:Main:build/status(cleanup) -> Tizen:2.1:Main


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/appfw/status
Tag: submit/tizen_2.1/20130424.230925
Commit: 793245d merge with master

State:   new        2013-04-24T15:39:42 tizenrobot
Comment: <no comment>
new:
----
  status-0.0.1.tar.gz
  status.spec

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

++++++ new spec file:
--- status.spec
+++ status.spec
@@ -0,0 +1,70 @@
+Name:       status
+Summary:    status library
+Version:    0.0.1
+Release:    1
+VCS:        framework/appfw/status#2.1_release-0-g793245d
+Group:      TBD
+License:    Apache-2.0
+Source0:    %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(aul)
+BuildRequires: cmake
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description
+Status library.
+
+%prep
+%setup -q
+
+%package devel
+Summary:    Status library (devel)
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+Status library (devel).
+
+%build
+export LDFLAGS+="-Wl,--rpath=%{_libdir} -Wl,--as-needed"
+%cmake .
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+mkdir -p %{buildroot}/usr/share/license
+cp -f LICENSE %{buildroot}/usr/share/license/%{name}
+
+
+%post
+init_vconf()
+{
+    vconftool set -t int memory/private/libstatus/music/state 0 -i -g 5000
+    vconftool set -t int memory/private/libstatus/radio/state 0 -i -g 5000
+    vconftool set -t int memory/private/libstatus/vr/state 0 -i -g 5000
+    vconftool set -t int memory/private/libstatus/music/pid -1 -i -g 5000
+    vconftool set -t int memory/private/libstatus/radio/pid -1 -i -g 5000
+    vconftool set -t int memory/private/libstatus/vr/pid -1 -i -g 5000
+    vconftool set -t string memory/private/libstatus/message "" -i -g 5000
+}
+
+/sbin/ldconfig
+init_vconf
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest status.manifest
+%defattr(-,root,root,-)
+%{_libdir}/*.so*
+/usr/share/license/%{name}
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/%{name}/*.h
+%{_libdir}/pkgconfig/*.pc
+

other changes:
--------------


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


More information about the Tizen-submit mailing list