summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorolive <dongdongx.li@intel.com>2014-10-17 14:31:07 +0800
committerolive <dongdongx.li@intel.com>2014-10-30 16:39:35 +0800
commitc675f95097b16b3865e2eb74b270dbdf61cb79ae (patch)
treedb2db4ec21fdb120851a706b03102f3e2ce5e439
parent0e8d5870fa7f8ff2b91c20e31b6d370389f4eef8 (diff)
downloadsvi-data-tizen_3.0.m1_mobile.tar.gz
svi-data-tizen_3.0.m1_mobile.tar.bz2
svi-data-tizen_3.0.m1_mobile.zip
Change-Id: I186105e613c668dc9715773dc53ff21f8549e63c Signed-off-by: olive <dongdongx.li@intel.com>
-rw-r--r--packaging/svi-data-sdk.spec46
1 files changed, 3 insertions, 43 deletions
diff --git a/packaging/svi-data-sdk.spec b/packaging/svi-data-sdk.spec
index 49132fa..eef89f8 100644
--- a/packaging/svi-data-sdk.spec
+++ b/packaging/svi-data-sdk.spec
@@ -7,8 +7,9 @@ License: Apache License, Version 2.0
Source0: %{name}-%{version}.tar.gz
Source1: svi-data-sdk.manifest
Requires(post): coreutils
+Requires: libtzplatform-config
BuildRequires: cmake
-
+BuildRequires: pkgconfig(libtzplatform-config)
%description
svi library audio data package (SDK)
@@ -24,50 +25,9 @@ make %{?jobs:-j%jobs}
rm -rf %{buildroot}
%make_install
-mkdir -p %{buildroot}/opt/share/svi/sound/touch
-mkdir -p %{buildroot}/opt/share/svi/sound/operation
-mkdir -p %{buildroot}/opt/share/svi/haptic/default
-mkdir -p %{buildroot}/opt/share/svi/haptic/touch
-
-%post
-ln -s %{_datadir}/svi/sound/touch/key0.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/key1.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/key2.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/key3.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/key4.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/key5.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/key6.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/key7.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/key8.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/key9.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/keyasterisk.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/keysharp.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/sip.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/sip_backspace.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/touch/touch.wav /opt/share/svi/sound/touch
-ln -s %{_datadir}/svi/sound/operation/call_connect.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/call_disconnect.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/charger_connection.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/fully_charged.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/list_reorder.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/lock.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/low_battery.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/minute_minder.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/power_on.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/shutter.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/slider_sweep.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/unlock.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/sound/operation/volume_control.wav /opt/share/svi/sound/operation
-ln -s %{_datadir}/svi/haptic/default/Basic_call.tht /opt/share/svi/haptic/default
-ln -s %{_datadir}/svi/haptic/touch/touch.tht /opt/share/svi/haptic/touch
-
%files
%manifest %{name}.manifest
%defattr(644,root,root,-)
%{_datadir}/svi/*
-%defattr(666,app,app,-)
-%dir /opt/share/svi/sound/touch
-%dir /opt/share/svi/sound/operation
-%dir /opt/share/svi/haptic/default
-%dir /opt/share/svi/haptic/touch
+%defattr(444,%{TZ_USER_NAME},%{TZ_SYS_USER_GROUP},-)
%manifest svi-data-sdk.manifest