Package signing
authorSung-jae Park <nicesj.park@samsung.com>
Fri, 14 Jun 2013 00:55:49 +0000 (09:55 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Fri, 14 Jun 2013 01:02:31 +0000 (10:02 +0900)
[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] N/A
[cause] Package signing is required
[solution] Update spec file
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: Ie36a48528aa2ad83a2d26243b2ef99850c6097e8

packaging/com.samsung.data-provider-slave.spec

index edfaf46..fcc5d33 100644 (file)
@@ -2,7 +2,7 @@
 
 Name: com.samsung.data-provider-slave
 Summary: Plugin type livebox service provider.
-Version: 0.11.6
+Version: 0.11.7
 Release: 1
 Group: HomeTF/Livebox
 License: Flora License
@@ -31,6 +31,7 @@ BuildRequires: pkgconfig(livebox)
 BuildRequires: pkgconfig(elementary)
 BuildRequires: pkgconfig(com-core)
 BuildRequires: pkgconfig(shortcut)
+BuildRequires: hash-signer
 BuildRequires: pkgconfig(capi-system-system-settings)
 
 %description
@@ -49,6 +50,11 @@ CFLAGS="${CFLAGS} -Wall -Winline -Werror -fno-builtin-malloc" make %{?jobs:-j%jo
 %install
 rm -rf %{buildroot}
 %make_install
+%define tizen_sign 1
+%define tizen_sign_base %{_prefix}/apps/com.samsung.data-provider-slave
+%define tizen_sign_level platform
+%define tizen_author_sign 1
+%define tizen_dist_sign 1
 mkdir -p %{buildroot}/%{_datarootdir}/license
 mkdir -p %{buildroot}%{app_data}
 
@@ -59,9 +65,7 @@ chmod 755 %{app_data}
 %files -n com.samsung.data-provider-slave
 %manifest com.samsung.data-provider-slave.manifest
 %defattr(-,root,root,-)
-%{_prefix}/apps/com.samsung.data-provider-slave/bin/data-provider-slave
-%{_prefix}/apps/com.samsung.data-provider-slave/bin/icon-provider-slave
-%{_prefix}/apps/com.samsung.data-provider-slave/res/edje/icon.edj
+%{_prefix}/apps/com.samsung.data-provider-slave
 %{_datarootdir}/packages/com.samsung.data-provider-slave.xml
 %{_datarootdir}/license/*
 %{_sysconfdir}/smack/accesses2.d/com.samsung.data-provider-slave.rule