summaryrefslogtreecommitdiff
path: root/packaging/org.tizen.smartsearch.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/org.tizen.smartsearch.spec')
-rwxr-xr-xpackaging/org.tizen.smartsearch.spec24
1 files changed, 13 insertions, 11 deletions
diff --git a/packaging/org.tizen.smartsearch.spec b/packaging/org.tizen.smartsearch.spec
index 7e26a25..9f1da15 100755
--- a/packaging/org.tizen.smartsearch.spec
+++ b/packaging/org.tizen.smartsearch.spec
@@ -1,13 +1,12 @@
Name: org.tizen.smartsearch
Summary: Smartsearch Application
-Version: 0.3.15
+Version: 0.3.16
Release: 1
Group: main
License: Flora Software License
Source0: %{name}-%{version}.tar.gz
Requires: elementary-bin
BuildRequires: pkgconfig(appcore-efl)
-BuildRequires: pkgconfig(appsvc)
BuildRequires: pkgconfig(aul)
BuildRequires: pkgconfig(calendar)
BuildRequires: pkgconfig(contacts-service)
@@ -22,13 +21,16 @@ BuildRequires: pkgconfig(email-service)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(icu-i18n)
BuildRequires: pkgconfig(json-glib-1.0)
-BuildRequires: pkgconfig(libmedia-service)
BuildRequires: pkgconfig(libsoup-2.4)
BuildRequires: pkgconfig(memo)
BuildRequires: pkgconfig(msg-service)
-BuildRequires: pkgconfig(ui-gadget)
+BuildRequires: pkgconfig(ui-gadget-1)
BuildRequires: pkgconfig(utilX)
BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(capi-content-media-content)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(capi-appfw-app-manager)
+BuildRequires: pkgconfig(capi-web-favorites)
BuildRequires: libug-contacts-devel
BuildRequires: cmake
@@ -61,8 +63,9 @@ SEARCHPKG="org.tizen.smartsearch"
# create db
if [ ! -s /opt/apps/$SEARCHPKG/data/.search.db ]
then
- sqlite3 /opt/apps/$SEARCHPKG/data/.search.db 'PRAGMA journal_mode = PERSIST;
- CREATE TABLE IF NOT EXISTS search_history (category int, keyword text not null, date TEXT, UNIQUE(category, keyword));'
+ sqlite3 /opt/apps/org.tizen.smartsearch/data/.search.db 'PRAGMA journal_mode = PERSIST;
+ CREATE TABLE IF NOT EXISTS search_category (item_name text not null, item_string int, item_visible int, item_order int, item_contents_type int, item_object_type int, def_pkg_name text);'
+
fi
# owner & permission
@@ -73,16 +76,15 @@ chown -R 5000:5000 /opt/apps/$SEARCHPKG/data/.search.db-journal
chmod 660 /opt/apps/$SEARCHPKG/data/.search.db
chmod 660 /opt/apps/$SEARCHPKG/data/.search.db-journal
-vconftool set -t int db/smartsearch/category 0 -u 5000 -g 5000 2> /dev/null
-vconftool set -t string db/smartsearch/keyword '' -u 5000 -g 5000 2> /dev/null
-
-
+vconftool set -t int file/private/org.tizen.smartsearch/category 0 -u 5000 -g 5000 2> /dev/null
+vconftool set -t string file/private/org.tizen.smartsearch/keyword '' -u 5000 -g 5000 2> /dev/null
%files
+/opt/share/packages/*
+/opt/share/icons/default/small/*
/opt/apps/org.tizen.smartsearch/bin/*
/opt/apps/org.tizen.smartsearch/res/*
%attr(-,inhouse,inhouse) /opt/apps/org.tizen.smartsearch/data/
%config(noreplace,missingok) /opt/apps/org.tizen.smartsearch/data/.search.db
%config(noreplace,missingok) /opt/apps/org.tizen.smartsearch/data/.search.db-journal
-/opt/share/applications/*
/opt/apps/org.tizen.smartsearch/share/process-info/smartsearch.ini