%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)
%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
##############################
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
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
%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