[Tizen-submit] 2964: New package Tizen:2.1:Main/libslp-db-util

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


Hi,
Adding new package libslp-db-util 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/libslp-db-util
Tag: submit/tizen_2.1/20130424.230843
Commit: e156674 Fixe build on x86_64 and cleanup spec

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #2964

  submit:       Tizen:2.1:Main:build/libslp-db-util(cleanup) -> Tizen:2.1:Main


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/appfw/libslp-db-util
Tag: submit/tizen_2.1/20130424.230843
Commit: e156674 Fixe build on x86_64 and cleanup spec

State:   new        2013-04-24T15:39:01 tizenrobot
Comment: <no comment>
new:
----
  libslp-db-util-0.1.1.tar.gz
  libslp-db-util.spec

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

++++++ new spec file:
--- libslp-db-util.spec
+++ libslp-db-util.spec
@@ -0,0 +1,70 @@
+Name:       libslp-db-util
+Summary:    DB Utility
+Version:    0.1.1
+Release:    5
+VCS:        framework/appfw/libslp-db-util#2.1_release-0-ge156674
+Group:      Application Framework/Database
+License:    Apache-2.0
+Source0:    %{name}-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires:  cmake
+BuildRequires:  pkgconfig(sqlite3)
+BuildRequires:  pkgconfig(dlog)
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(icu-i18n)
+
+%description
+DB Utility.
+
+%package devel
+Summary:    Devel package for libslp-db-util (devel)
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+%description devel
+Devel package for libslp-db-util (devel)
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+%cmake . 
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+install LICENSE %{buildroot}/usr/share/license/%{name}
+
+%post
+/sbin/ldconfig
+if [ ! -d /opt/dbspace ]
+then
+        mkdir -p /opt/dbspace
+fi
+if [ ! -d /opt/usr/dbspace ]
+then
+        mkdir -p /opt/usr/dbspace
+fi
+chown :5000 /opt/dbspace
+chmod 775 /opt/dbspace
+chown :5000 /opt/usr/dbspace
+chmod 775 /opt/usr/dbspace
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest libSLP-db-util.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libSLP-db-util.so
+%{_libdir}/libSLP-db-util.so.0
+%{_libdir}/libSLP-db-util.so.0.1.0
+/usr/share/license/%{name}
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/db-util/*.h
+%{_libdir}/pkgconfig/db-util.pc
+

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


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


More information about the Tizen-submit mailing list