1 %define __strip %{_mingw32_strip}
2 %define __objdump %{_mingw32_objdump}
3 %define _use_internal_dependency_generator 0
4 %define __find_requires %{_mingw32_findrequires}
5 %define __find_provides %{_mingw32_findprovides}
7 Name: mingw32-fontconfig
10 Summary: MinGW Windows Fontconfig library
13 URL: http://fontconfig.org
14 Source0: http://fontconfig.org/release/fontconfig-%{version}.tar.gz
15 Group: Development/Libraries
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
18 Patch0: mingw32-fontconfig-2.6.0-remove-logfile.patch
22 BuildRequires: mingw32-filesystem >= 23
23 BuildRequires: mingw32-gcc
24 BuildRequires: mingw32-binutils
25 BuildRequires: mingw32-freetype
26 BuildRequires: mingw32-libxml2
27 BuildRequires: pkgconfig
28 BuildRequires: docbook-utils
29 BuildRequires: autoconf automake libtool
33 MinGW Windows Fontconfig library.
37 %setup -q -n fontconfig-%{version}
43 PATH="%{_mingw32_bindir}:$PATH" \
44 %{_mingw32_configure} --with-arch=i686
49 rm -rf $RPM_BUILD_ROOT
51 make DESTDIR=$RPM_BUILD_ROOT install
53 rm -f $RPM_BUILD_ROOT/%{_mingw32_libdir}/charset.alias
55 # Remove static library.
56 rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libfontconfig.a
58 # Remove duplicate manpages.
59 rm -rf $RPM_BUILD_ROOT%{_mingw32_mandir}
63 rm -rf $RPM_BUILD_ROOT
68 %{_mingw32_bindir}/fc-cache.exe
69 %{_mingw32_bindir}/fc-cat.exe
70 %{_mingw32_bindir}/fc-list.exe
71 %{_mingw32_bindir}/fc-match.exe
72 %{_mingw32_bindir}/libfontconfig-1.dll
73 %{_mingw32_libdir}/fontconfig.def
74 %{_mingw32_libdir}/libfontconfig.dll.a
75 %{_mingw32_libdir}/libfontconfig.la
76 %{_mingw32_libdir}/pkgconfig/fontconfig.pc
77 %{_mingw32_includedir}/fontconfig/
78 %{_mingw32_sysconfdir}/fonts/
79 %{_mingw32_datadir}/doc/fontconfig
82 * Fri Jan 23 2009 Richard W.M. Jones <rjones@redhat.com> - 2.6.0-6
85 * Wed Sep 24 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.0-5
86 - Rename mingw -> mingw32.
88 * Sun Sep 21 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.0-4
89 - Remove duplicate manpages.
90 - Patch to delete logfile left when building (unused) manpages.
92 * Thu Sep 11 2008 Daniel P. Berrange <berrange@redhat.com> - 2.6.0-3
93 - Add mingw_bindir to $PATH for freetype-config script
95 * Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.0-2
96 - Remove static library.
99 * Tue Sep 9 2008 Daniel P. Berrange <berrange@redhat.com> - 2.6.0-1
100 - Initial RPM release