Name: capi-ui-sticker
Summary: Sticker client library and daemon
-Version: 0.1.9
+Version: 0.1.44
Release: 1
Group: Graphics & UI Framework/Input
License: Apache-2.0
BuildRequires: cmake, coreutils
BuildRequires: pkgconfig(capi-appfw-app-common)
BuildRequires: pkgconfig(capi-appfw-package-manager)
+BuildRequires: pkgconfig(capi-appfw-event)
BuildRequires: pkgconfig(capi-system-info)
BuildRequires: pkgconfig(cynara-client)
BuildRequires: pkgconfig(cynara-session)
%if 0%{?sec_product_feature_profile_wearable}
BuildRequires: pkgconfig(capi-base-common)
BuildRequires: pkgconfig(capi-appfw-service-application)
+BuildRequires: pkgconfig(capi-message-port)
+BuildRequires: pkgconfig(capi-appfw-preference)
+BuildRequires: pkgconfig(capi-system-device)
BuildRequires: pkgconfig(sap-client-stub-api)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(capi-media-thumbnail-util)
+BuildRequires: pkgconfig(ecore)
BuildRequires: hash-signer
Requires(post): signing-client
+Requires: org.tizen.sticker-receiver
%endif
Requires: security-config
rm -rf %{buildroot}
%make_install
+mkdir -p %{buildroot}/%{TZ_SYS_ETC}/dump.d/module.d
+cp -af dump/sticker_log_dump.sh %{buildroot}/%{TZ_SYS_ETC}/dump.d/module.d
+
mkdir -p %{buildroot}%{_prefix}/lib/systemd/system
install -m 0644 %SOURCE1 %{buildroot}%{_unitdir}/capi-ui-sticker.service
chsmack -t %{TZ_SYS_SHARE}/sticker-data
chsmack -a "System::Shared" %{TZ_SYS_SHARE}/sticker-data
-%if 0%{?sec_product_feature_profile_wearable}
-/usr/bin/signing-client/hash-signer-client.sh -a -d -p platform %{TZ_SYS_RO_APP}/%{_companion_app_name}
-%endif
-
%postun -p /sbin/ldconfig
%files
%{TZ_SYS_RO_SHARE}/parser-plugins/capi-ui-sticker.info
%{TZ_SYS_RO_ETC}/package-manager/parserlib/category/libcapi-ui-sticker-parser.so*
%{TZ_SYS_RO_ETC}/package-manager/parserlib/metadata/libcapi-ui-sticker-parser.so*
+%{TZ_SYS_ETC}/dump.d/module.d/*
%files devel
%manifest %{name}-devel.manifest
%{_includedir}/sticker_provider.h
%if 0%{?sec_product_feature_profile_wearable}
+%post -n %{_companion_app_name}
+/usr/bin/signing-client/hash-signer-client.sh -a -d -p platform %{TZ_SYS_RO_APP}/%{_companion_app_name}
+
%files -n %{_companion_app_name}
%manifest receiver/%{_companion_app_name}.manifest
+%license LICENSE
%{TZ_SYS_RO_PACKAGES}/%{_companion_app_name}.xml
%{TZ_SYS_RO_APP}/%{_companion_app_name}/*
%endif