+#
# Conditional build
%bcond_without static_libs # don't build static library
%bcond_without doc
Summary(pl.UTF-8): Narzędzia do konfigurowania fontów
Summary(pt_BR.UTF-8): Ferramentas para configuração e customização do acesso a fontes
Name: fontconfig
-Version: 2.10.2
-Release: 1
+Version: 2.10.93
+Release: 3
Epoch: 1
License: MIT
Group: Libraries
-Source0: http://fontconfig.org/release/%{name}-%{version}.tar.gz
-# Source0-md5: 025e08b3d7fe45c433de5718e441ed15
+Source0: http://fontconfig.org/release/%{name}-%{version}.tar.bz2
+# Source0-md5: 0f8e5c63c2d6931626185c02802375a3
Source1: %{name}-lcd-filter.conf
Patch0: %{name}-bitstream-cyberbit.patch
+Patch1: %{name}-git.patch
URL: http://fontconfig.org/
-BuildRequires: autoconf
-BuildRequires: automake
+BuildRequires: autoconf >= 2.61
+BuildRequires: automake >= 1:1.11
%if %{with doc}
BuildRequires: docbook-dtd31-sgml
BuildRequires: docbook-dtd41-sgml
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
%{__autoconf}
%{__autoheader}
%{__automake}
%attr(755,root,root) %{_bindir}/fc-query
%attr(755,root,root) %{_bindir}/fc-pattern
%attr(755,root,root) %{_bindir}/fc-scan
+%attr(755,root,root) %{_bindir}/fc-validate
%if %{with doc}
%{_mandir}/man1/fc-*.1*
%{_mandir}/man5/fonts-conf.5*