2 Summary: Shortcut add feature supporting library
5 Group: Applications/Core Applications
7 Source0: %{name}-%{version}.tar.gz
8 Source1001: %{name}.manifest
10 Requires(post): /sbin/ldconfig
11 Requires(postun): /sbin/ldconfig
13 BuildRequires: cmake, gettext-tools, coreutils
14 BuildRequires: pkgconfig(glib-2.0)
15 BuildRequires: pkgconfig(dlog)
16 BuildRequires: pkgconfig(db-util)
17 BuildRequires: pkgconfig(sqlite3)
18 BuildRequires: pkgconfig(com-core)
19 BuildRequires: pkgconfig(libxml-2.0)
20 BuildRequires: pkgconfig(vconf)
21 BuildRequires: pkgconfig(capi-base-common)
22 BuildRequires: pkgconfig(aul)
25 [Shortcut] AddToHome feature supporting library for menu/home screen developers.
28 Summary: AddToHome feature supporting library development files
29 Group: Development/Libraries
30 Requires: %{name} = %{version}-%{release}
33 [Shortcut] AddToHome feature supporting library for menu/home screen developers(dev).
40 %if 0%{?sec_build_binary_debug_enable}
41 export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
42 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
43 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
45 %if 0%{?tizen_build_binary_release_type_eng}
46 export CFLAGS="${CFLAGS} -DTIZEN_ENGINEER_MODE"
47 export CXXFLAGS="${CXXFLAGS} -DTIZEN_ENGINEER_MODE"
48 export FFLAGS="${FFLAGS} -DTIZEN_ENGINEER_MODE"
56 mkdir -p %{buildroot}/usr/dbspace
61 if [ ! -d /usr/dbspace ]
66 if [ ! -f /usr/dbspace/.shortcut_service.db ]
68 sqlite3 /usr/dbspace/.shortcut_service.db 'PRAGMA journal_mode = PERSIST;
69 CREATE TABLE shortcut_service (
70 id INTEGER PRIMARY KEY AUTOINCREMENT,
78 CREATE TABLE shortcut_name (
87 chown :5000 /usr/dbspace/.shortcut_service.db
88 chown :5000 /usr/dbspace/.shortcut_service.db-journal
89 chmod 644 /usr/dbspace/.shortcut_service.db
90 chmod 644 /usr/dbspace/.shortcut_service.db-journal
92 %postun -n %{name} -p /sbin/ldconfig
95 %manifest %{name}.manifest
96 %defattr(-,root,root,-)
98 %{_prefix}/etc/package-manager/parserlib/*
99 %{_datarootdir}/license/*
102 %manifest %{name}.manifest
103 %defattr(-,root,root,-)
104 %{_includedir}/shortcut/shortcut.h
105 %{_includedir}/shortcut/shortcut_private.h
106 %{_includedir}/shortcut/shortcut_manager.h
107 %{_libdir}/pkgconfig/shortcut.pc