Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
+%define upgrade_script_path /usr/share/upgrade/scripts
+
%description
Fontconfig is designed to locate fonts within the
system and select them according to requirements specified by
#make check
%install
rm -rf %{buildroot}
+mkdir -p %{buildroot}%{upgrade_script_path}
+cp -f scripts/fontconfig_upgrade.sh %{buildroot}%{upgrade_script_path}
%make_install
%config(noreplace) %{TZ_SYS_RO_ETC}/fonts/conf.d/*.conf
%{TZ_SYS_RO_SHARE}/license/%{name}
%{_tmpfilesdir}/fontconfig.conf
+%{upgrade_script_path}/fontconfig_upgrade.sh
%files devel
%manifest fontconfig.manifest
--- /dev/null
+#!/bin/sh
+
+#------------------------------------------#
+# efl-misc upgrade (2.4 -> 3.0) #
+#------------------------------------------#
+
+# Macro
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
+
+# Set under the /opt
+mkdir -p /opt/var/cache/fontconfig
+chmod -R 775 /opt/var/cache/fontconfig
+chown -R :users /opt/var/cache/fontconfig
+chsmack -a 'User::App::Shared' /opt/var/cache/fontconfig
+chsmack -t /opt/var/cache/fontconfig