Change-Id: I237d201bec0a9d3b1eee169cb38e92e96e8c2584
%endif
BuildRequires: pkgconfig(libtzplatform-config)
+%define upgrade_script_path /usr/share/upgrade/scripts
+
%description
An utility library for developers of the menu screen.
%install
rm -rf %{buildroot}
%make_install
+mkdir -p %{buildroot}%{upgrade_script_path}
+cp -f scripts/screen-reader_upgrade.sh %{buildroot}%{upgrade_script_path}
%post
/sbin/ldconfig
%{AppDir}/res/sounds/*
%{AppDir}/res/locale/*/LC_MESSAGES/*
%{DataDir}/packages/%{name}.xml
+%{upgrade_script_path}/screen-reader_upgrade.sh
--- /dev/null
+#!/bin/sh
+
+#------------------------------------------#
+# screen-reader upgrade (2.4 -> 3.0) #
+#------------------------------------------#
+
+# Macro
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
+
+# Remove unnecessary files
+rm /opt/share/packages/org.tizen.screen-reader.xml
+rm -rf /opt/usr/apps/org.tizen.screen-reader