[Tizen-submit] 2963: New package Tizen:2.1:Main/librua

noreply at tizen.org noreply at tizen.org
Wed Apr 24 23:08:18 GMT 2013


Hi,
Adding new package librua 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/librua
Tag: submit/tizen_2.1/20130424.230837
Commit: 340f4d6 Fixe build on x86_64 and cleanup spec

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #2963

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


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/appfw/librua
Tag: submit/tizen_2.1/20130424.230837
Commit: 340f4d6 Fixe build on x86_64 and cleanup spec

State:   new        2013-04-24T15:38:55 tizenrobot
Comment: <no comment>
new:
----
  librua-0.1.0.tar.gz
  librua.spec

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

++++++ new spec file:
--- librua.spec
+++ librua.spec
@@ -0,0 +1,63 @@
+Name:       librua
+Summary:    Recently used application
+Version:    0.1.0
+Release:    34
+VCS:        framework/appfw/librua#2.1_release-0-g340f4d6
+Group:      Application Framework/Libraries
+License:    Apache-2.0
+Source0:    librua-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(post): /usr/bin/sqlite3
+Requires(postun): /sbin/ldconfig
+BuildRequires:  cmake
+BuildRequires:  pkgconfig(sqlite3)
+BuildRequires:  pkgconfig(db-util)
+
+%description
+Recently used application library
+
+%package devel
+Summary:    Recently used application (devel)
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+Recently used application library (devel)
+
+%prep
+%setup -q
+
+%build
+%cmake .
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post
+/sbin/ldconfig
+mkdir -p /opt/dbspace/
+sqlite3 /opt/dbspace/.rua.db < /opt/share/rua_db.sql
+rm -rf /opt/share/rua_db.sql
+chown 0:5000 /opt/dbspace/.rua.db
+chown 0:5000 /opt/dbspace/.rua.db-journal
+chmod 660 /opt/dbspace/.rua.db
+chmod 660 /opt/dbspace/.rua.db-journal
+chsmack -a rua::db /opt/dbspace/.rua.db
+chsmack -a rua::db /opt/dbspace/.rua.db-journal
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest librua.manifest
+%defattr(-,root,root,-)
+%config(missingok) /opt/share/rua_db.sql
+%{_libdir}/librua.so.*
+
+%files devel
+%defattr(-,root,root,-)
+/usr/include/rua/*.h
+%{_libdir}/librua.so
+%{_libdir}/pkgconfig/rua.pc
+

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

++++++ librua-0.1.0.tar.gz (new)


More information about the Tizen-submit mailing list