[Tizen] RiveAnimationView: add devel package 34/264534/1 submit/tizen/20210924.051403
authorEunki, Hong <eunkiki.hong@samsung.com>
Fri, 24 Sep 2021 04:59:45 +0000 (13:59 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 24 Sep 2021 05:00:26 +0000 (14:00 +0900)
Change-Id: I51f1577936c70793e127fde5c7bc47d99a6da81d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
build/tizen/dali2-extension-rive-animation-view.pc.in
packaging/dali-extension.spec

index eebe8f1..945814b 100644 (file)
@@ -6,6 +6,5 @@ includedir=@devincludepath@
 Name: DALi extension rive animation view
 Description: The DALi Extension Rive Animation View Libaray
 Version: @DALI_EXTENSION_VERSION@
-Requires: dali2-adaptor dali2-toolkit thorvg rive_tizen
 Libs: -L${libdir} -ldali2-extension-rive-animation-view
 Cflags: -I${includedir}/dali-extension
index eae34c7..21f668f 100755 (executable)
@@ -194,6 +194,7 @@ Web Engine LWE(Light-weight Web Engine) plugin to support WebView for Dali
 %package rive-animation-view
 Summary:    Plugin to render a rive animation
 Group:      System/Libraries
+Requires: dali2-extension-rive-animation-view = %{version}-%{release}
 %if 0%{?tizen_65_or_greater}
 BuildRequires:  pkgconfig(thorvg)
 BuildRequires:  pkgconfig(rive_tizen)
@@ -202,6 +203,14 @@ BuildRequires:  pkgconfig(rive_tizen)
 %description rive-animation-view
 Plugin to render a rive animation
 
+%package rive-animation-view-devel
+Summary: Development components for rive animation view
+Group: System/Libraries
+Requires: dali2-extension-rive-animation-view = %{version}-%{release}
+
+%description rive-animation-view-devel
+Header & package configuration of rive-animation-view
+
 ##############################
 # Preparation
 ##############################
@@ -324,6 +333,12 @@ exit 0
 exit 0
 %endif
 
+%if 0%{?tizen_65_or_greater}
+%post rive-animation-view
+/sbin/ldconfig
+exit 0
+%endif
+
 %post color-controller-plugin
 /sbin/ldconfig
 exit 0
@@ -381,6 +396,12 @@ exit 0
 exit 0
 %endif
 
+%if 0%{?tizen_65_or_greater}
+%postun rive-animation-view
+/sbin/ldconfig
+exit 0
+%endif
+
 %postun color-controller-plugin
 /sbin/ldconfig
 exit 0
@@ -463,10 +484,13 @@ exit 0
 %files rive-animation-view
 %manifest dali-extension.manifest
 %defattr(-,root,root,-)
-%{_includedir}/dali-extension/devel-api/rive-animation-view/*
 %{_libdir}/libdali2-extension-rive-animation-view.so*
-%{_libdir}/pkgconfig/dali2-extension-rive-animation-view.pc
 %license LICENSE
+
+%files rive-animation-view-devel
+%defattr(-,root,root,-)
+%{_includedir}/dali-extension/devel-api/rive-animation-view/*
+%{_libdir}/pkgconfig/dali2-extension-rive-animation-view.pc
 %endif
 
 %files color-controller-plugin