-%global freetype_version 2.5.0
+%global freetype_version 2.9.0
Name: fontconfig
Summary: Font configuration and customization library
-Version: 2.12.1
+Version: 2.13.0
Release: 1
Group: Graphics & UI Framework/Fonts
License: MIT
BuildRequires: gperf
BuildRequires: python
BuildRequires: systemd-devel
+BuildRequires: gettext-tools
+BuildRequires: libuuid-devel
BuildRequires: pkgconfig(libtzplatform-config)
Requires(pre): %{TZ_SYS_BIN}/fc-cache, %{TZ_SYS_BIN}/mkdir %{TZ_SYS_BIN}/rm, %{TZ_SYS_BIN}/grep, %{TZ_SYS_BIN}/chsmack
Requires(post): /sbin/ldconfig
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{upgrade_script_path}
-cp -f scripts/fontconfig_upgrade.sh %{buildroot}%{upgrade_script_path}
+cp -f scripts/500.fontconfig.sh %{buildroot}%{upgrade_script_path}
%make_install
# and own /usr/share/fonts
mydir=$RPM_BUILD_ROOT%{TZ_SYS_RO_SHARE}/fonts
mkdir -p $RPM_BUILD_ROOT%{TZ_SYS_RO_SHARE}/fonts
-mkdir -p %{buildroot}%{TZ_SYS_RO_SHARE}/license
-cat COPYING > %{buildroot}%{TZ_SYS_RO_SHARE}/license/%{name}
# Remove unpackaged files. no need when configure --disable-static
#rm $RPM_BUILD_ROOT%{_libdir}/*.la
%{TZ_SYS_RO_ETC}/fonts/*
%dir %{TZ_SYS_RO_ETC}/fonts/conf.avail
%dir %{TZ_SYS_RO_SHARE}/fonts
+%{TZ_SYS_RO_SHARE}/gettext/its/fontconfig*
+%{TZ_SYS_RO_SHARE}/locale/*/*/fontconfig*
%doc %{TZ_SYS_RO_ETC}/fonts/conf.d/README
%config %{TZ_SYS_RO_ETC}/fonts/conf.avail/*.conf
%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
+%{upgrade_script_path}/500.fontconfig.sh
+%license COPYING
%files devel
%manifest fontconfig.manifest