diff options
-rw-r--r-- | packaging/svi-data-sdk.spec | 46 |
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 |