%{?mingw_package_header} Name: mingw-fontconfig Version: 2.13.1 Release: 5%{?dist} Summary: MinGW Windows Fontconfig library License: MIT URL: http://fontconfig.org Source0: http://fontconfig.org/release/fontconfig-%{version}.tar.bz2 # Allow disabling tests (do not build) Patch0: fontconfig_tests.patch BuildArch: noarch BuildRequires: make BuildRequires: mingw32-filesystem >= 95 BuildRequires: mingw32-gcc BuildRequires: mingw32-binutils BuildRequires: mingw32-expat BuildRequires: mingw32-freetype BuildRequires: mingw32-win-iconv BuildRequires: mingw64-filesystem >= 95 BuildRequires: mingw64-gcc BuildRequires: mingw64-binutils BuildRequires: mingw64-expat BuildRequires: mingw64-freetype BuildRequires: mingw64-win-iconv BuildRequires: gperf BuildRequires: pkgconfig BuildRequires: python3 BuildRequires: automake autoconf libtool gettext-devel %description MinGW Windows Fontconfig library. # Win32 %package -n mingw32-fontconfig Summary: MinGW Windows Fontconfig library Requires: pkgconfig %description -n mingw32-fontconfig MinGW Windows Fontconfig library. %package -n mingw32-fontconfig-static Summary: Static version of the cross compiled Fontconfig library Requires: mingw32-fontconfig = %{version}-%{release} %description -n mingw32-fontconfig-static Static version of the cross compiled Fontconfig library. # Win64 %package -n mingw64-fontconfig Summary: MinGW Windows Fontconfig library Requires: pkgconfig %description -n mingw64-fontconfig MinGW Windows Fontconfig library. %package -n mingw64-fontconfig-static Summary: Static version of the cross compiled Fontconfig library Requires: mingw64-fontconfig = %{version}-%{release} %description -n mingw64-fontconfig-static Static version of the cross compiled Fontconfig library. %?mingw_debug_package %prep %autosetup -p1 -n fontconfig-%{version} %build export MINGW32_CONFIGURE_ARGS="--with-arch=i686" export MINGW64_CONFIGURE_ARGS="--with-arch=x86_64" autoreconf -ifv %mingw_configure --disable-docs --disable-tests --enable-static --enable-shared %mingw_make_build %install %mingw_make_install rm -f %{buildroot}/%{mingw32_libdir}/charset.alias rm -f %{buildroot}/%{mingw64_libdir}/charset.alias # Remove the .def file rm -f %{buildroot}%{mingw32_libdir}/fontconfig.def rm -f %{buildroot}%{mingw64_libdir}/fontconfig.def # Remove .la files rm -f %{buildroot}%{mingw32_libdir}/*.la rm -f %{buildroot}%{mingw64_libdir}/*.la # Remove duplicate manpages. rm -rf %{buildroot}%{mingw32_mandir} rm -rf %{buildroot}%{mingw64_mandir} # Remove the docs rm -rf %{buildroot}%{mingw32_datadir}/doc rm -rf %{buildroot}%{mingw64_datadir}/doc # Win32 %files -n mingw32-fontconfig %license COPYING %{mingw32_bindir}/fc-cache.exe %{mingw32_bindir}/fc-cat.exe %{mingw32_bindir}/fc-conflist.exe %{mingw32_bindir}/fc-list.exe %{mingw32_bindir}/fc-match.exe %{mingw32_bindir}/fc-pattern.exe %{mingw32_bindir}/fc-query.exe %{mingw32_bindir}/fc-scan.exe %{mingw32_bindir}/fc-validate.exe %{mingw32_bindir}/libfontconfig-1.dll %{mingw32_libdir}/libfontconfig.dll.a %{mingw32_libdir}/pkgconfig/fontconfig.pc %{mingw32_includedir}/fontconfig/ %{mingw32_sysconfdir}/fonts/ %{mingw32_datadir}/fontconfig/ %dir %{mingw32_datadir}/gettext %dir %{mingw32_datadir}/gettext/its %{mingw32_datadir}/gettext/its/fontconfig.its %{mingw32_datadir}/gettext/its/fontconfig.loc %{mingw32_datadir}/xml/fontconfig/ %files -n mingw32-fontconfig-static %{mingw32_libdir}/libfontconfig.a # Win64 %files -n mingw64-fontconfig %license COPYING %{mingw64_bindir}/fc-cache.exe %{mingw64_bindir}/fc-cat.exe %{mingw64_bindir}/fc-conflist.exe %{mingw64_bindir}/fc-list.exe %{mingw64_bindir}/fc-match.exe %{mingw64_bindir}/fc-pattern.exe %{mingw64_bindir}/fc-query.exe %{mingw64_bindir}/fc-scan.exe %{mingw64_bindir}/fc-validate.exe %{mingw64_bindir}/libfontconfig-1.dll %{mingw64_libdir}/libfontconfig.dll.a %{mingw64_libdir}/pkgconfig/fontconfig.pc %{mingw64_includedir}/fontconfig/ %{mingw64_sysconfdir}/fonts/ %{mingw64_datadir}/fontconfig/ %dir %{mingw64_datadir}/gettext %dir %{mingw64_datadir}/gettext/its %{mingw64_datadir}/gettext/its/fontconfig.its %{mingw64_datadir}/gettext/its/fontconfig.loc %{mingw64_datadir}/xml/fontconfig/ %files -n mingw64-fontconfig-static %{mingw64_libdir}/libfontconfig.a %changelog * Tue Jan 26 2021 Fedora Release Engineering - 2.13.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 2.13.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 2.13.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Oct 08 2019 Sandro Mani - 2.13.1-2 - Rebuild (Changes/Mingw32GccDwarf2) * Wed Aug 28 2019 Sandro Mani - 2.13.1-1 - Update to 2.13.1 * Thu Jul 25 2019 Fedora Release Engineering - 2.12.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 2.12.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 2.12.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 2.12.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sun Oct 15 2017 Kalev Lember - 2.12.6-1 - Update to 2.12.6 * Wed Jul 26 2017 Fedora Release Engineering - 2.12.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 2.12.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Sep 05 2016 Kalev Lember - 2.12.1-1 - Update to 2.12.1 - Don't set group tags * Sat May 07 2016 Erik van Pienbroek - 2.11.95-1 - Update to 2.11.95 - Add BuildRequires: python3 to fix FTBFS * Thu Feb 04 2016 Fedora Release Engineering - 2.11.94-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sun Aug 23 2015 Kalev Lember - 2.11.94-1 - Update to 2.11.94 - Use license macro for COPYING files * Wed Jun 17 2015 Fedora Release Engineering - 2.11.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 2.11.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu May 29 2014 Erik van Pienbroek - 2.11.1-1 - Update to 2.11.1 * Wed Nov 20 2013 Erik van Pienbroek - 2.11.0-1 - Update to 2.11.0 * Sat Sep 7 2013 Erik van Pienbroek - 2.10.95-1 - Update to 2.10.95 * Sat Aug 03 2013 Fedora Release Engineering - 2.10.93-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sun Jul 21 2013 Erik van Pienbroek - 2.10.93-2 - Rebuild to avoid strnlen dependency which causes runtime issues on Windows XP * Sat Jun 15 2013 Erik van Pienbroek - 2.10.93-1 - Update to 2.10.93 * Sat May 4 2013 Erik van Pienbroek - 2.10.92-1 - Update to 2.10.92 * Thu Feb 14 2013 Fedora Release Engineering - 2.10.91-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jan 16 2013 Erik van Pienbroek - 2.10.91-1 - Update to 2.10.91 (required by pango 1.32.6) * Sat Oct 13 2012 Nicola Fontana - 2.10.1-2 - Dropped libxml2 dependency * Sun Oct 07 2012 Kalev Lember - 2.10.1-1 - Update to 2.10.1 * Fri Jul 20 2012 Fedora Release Engineering - 2.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sun Jun 03 2012 Erik van Pienbroek - 2.9.0-1 - Update to 2.9.0 - Dropped the autoreconf call * Sun Mar 11 2012 Erik van Pienbroek - 2.8.0-7 - Added win64 support - Added static subpackage - Dropped .def files * Fri Mar 09 2012 Kalev Lember - 2.8.0-6 - Remove .la files * Tue Mar 06 2012 Erik van Pienbroek - 2.8.0-5 - Renamed the source package to mingw-fontconfig (RHBZ #800379) - Use mingw macros without leading underscore * Mon Feb 27 2012 Erik van Pienbroek - 2.8.0-4 - Rebuild against the mingw-w64 toolchain * Fri Jan 13 2012 Fedora Release Engineering - 2.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Jul 06 2011 Kalev Lember - 2.8.0-2 - Rebuilt against win-iconv * Mon May 23 2011 Kalev Lember - 2.8.0-1 - Update to 2.8.0 - Spec cleanup - Split debug symbols in -debuginfo subpackage * Mon May 23 2011 Kalev Lember - 2.6.0-12 - Don't install html documentation which duplicates what is in Fedora native * Tue Feb 08 2011 Fedora Release Engineering - 2.6.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sat Jul 25 2009 Fedora Release Engineering - 2.6.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri Feb 20 2009 Richard W.M. Jones - 2.6.0-9 - Rebuild for mingw32-gcc 4.4 * Fri Feb 6 2009 Richard W.M. Jones - 2.6.0-8 - Include license. * Fri Jan 30 2009 Richard W.M. Jones - 2.6.0-7 - Requires pkgconfig. * Fri Jan 23 2009 Richard W.M. Jones - 2.6.0-6 - Use _smp_mflags. - Rebuild libtool configuration. - More BRs suggested by auto-buildrequires. * Wed Sep 24 2008 Richard W.M. Jones - 2.6.0-5 - Rename mingw -> mingw32. * Sun Sep 21 2008 Richard W.M. Jones - 2.6.0-4 - Remove duplicate manpages. - Patch to delete logfile left when building (unused) manpages. * Thu Sep 11 2008 Daniel P. Berrange - 2.6.0-3 - Add mingw_bindir to $PATH for freetype-config script * Wed Sep 10 2008 Richard W.M. Jones - 2.6.0-2 - Remove static library. - +BR mingw-libxml2. * Tue Sep 9 2008 Daniel P. Berrange - 2.6.0-1 - Initial RPM release