[Tizen-submit] 2735: New package Tizen:2.1:Main/libslp-memo

noreply at tizen.org noreply at tizen.org
Wed Apr 24 22:33:06 GMT 2013


Hi,
Adding new package libslp-memo 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: apps/home/libslp-memo
Tag: submit/tizen_2.1/20130424.223328
Commit: 7238c54 Update LICENSE file

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #2735

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


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: apps/home/libslp-memo
Tag: submit/tizen_2.1/20130424.223328
Commit: 7238c54 Update LICENSE file

State:   new        2013-04-24T15:03:45 tizenrobot
Comment: <no comment>
new:
----
  libslp-memo-0.1.5.tar.gz
  libslp-memo.spec

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

++++++ new spec file:
--- libslp-memo.spec
+++ libslp-memo.spec
@@ -0,0 +1,63 @@
+Name:       libslp-memo
+Summary:    Memo DB interface library
+Version:    0.1.5
+Release:    1
+VCS:        apps/home/libslp-memo#2.1_release-0-g7238c54
+Group:      TO_BE/FILLED_IN
+License:    Flora
+Source0:    libslp-memo-%{version}.tar.gz
+BuildRequires:  pkgconfig(dlog)
+BuildRequires:  pkgconfig(heynoti)
+BuildRequires:  pkgconfig(db-util)
+BuildRequires:  pkgconfig(vconf)
+
+BuildRequires:  cmake
+Requires(post): /usr/bin/sqlite3
+
+%description
+library for memo(development package)
+
+%package devel
+Summary:    Development files for %{name}
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+Development files for %{name}
+
+%prep
+%setup -q
+
+%build
+export LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--hash-style=both"
+%cmake .
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post
+mkdir -p /opt/dbspace
+sqlite3 /opt/dbspace/.memo.db 'PRAGMA journal_mode = PERSIST;
+CREATE TABLE if not exists memo ( id INTEGER PRIMARY KEY autoincrement, content TEXT, written_time TEXT, create_time INTEGER, modi_time INTEGER, delete_time INTEGER, doodle INTEGER, color INTEGER, comment TEXT, favorite INTEGER,font_respect INTEGER, font_size INTEGER, font_color INTEGER, doodle_path TEXT );
+                              '
+
+# Change file owner
+chown :5000 /opt/dbspace/.memo.db
+chown :5000 /opt/dbspace/.memo.db-journal
+
+# Change file permissions
+chmod 660  /opt/dbspace/.memo.db
+chmod 660  /opt/dbspace/.memo.db-journal
+
+%files
+%defattr(-,root,root,-)
+%manifest libslp-memo.manifest
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/memo.pc
+%{_includedir}/*.h

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

++++++ libslp-memo-0.1.5.tar.gz (new)


More information about the Tizen-submit mailing list