2 Summary: Memo DB interface library
5 Group: Applications/Libraries
7 Source0: libslp-memo-%{version}.tar.gz
8 BuildRequires: pkgconfig(dlog)
9 BuildRequires: pkgconfig(heynoti)
10 BuildRequires: pkgconfig(db-util)
11 BuildRequires: pkgconfig(vconf)
14 Requires(post): /usr/bin/sqlite3
17 library for memo(development package)
20 Summary: Development files for %{name}
21 Group: Development/Libraries
22 Requires: %{name} = %{version}-%{release}
25 Development files for %{name}
31 export LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--hash-style=both"
41 sqlite3 /opt/dbspace/.memo.db 'PRAGMA journal_mode = PERSIST;
42 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 );
45 if [ -f /usr/lib/rpm-plugins/msm.so ]
47 chsmack -a 'memo::db' /opt/usr/dbspace/.memo.db*
53 chown :5000 /opt/dbspace/.memo.db
54 chown :5000 /opt/dbspace/.memo.db-journal
56 # Change file permissions
57 chmod 660 /opt/dbspace/.memo.db
58 chmod 660 /opt/dbspace/.memo.db-journal
61 %defattr(-,root,root,-)
62 %manifest libslp-memo.manifest
66 %defattr(-,root,root,-)
68 %{_libdir}/pkgconfig/memo.pc