1 %include /usr/lib/rpm/mingw-defs
6 Summary: MinGW Windows Fontconfig library
9 URL: http://fontconfig.org
10 Source0: http://fontconfig.org/release/fontconfig-%{version}.tar.gz
11 Group: Development/Libraries
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
16 BuildRequires: mingw-filesystem >= 19
17 BuildRequires: mingw-gcc
18 BuildRequires: mingw-binutils
19 BuildRequires: mingw-freetype
22 MinGW Windows Fontconfig library.
26 %setup -q -n fontconfig-%{version}
29 %{_mingw_configure} --with-arch=i686
34 rm -rf $RPM_BUILD_ROOT
36 make DESTDIR=$RPM_BUILD_ROOT install
38 rm -f $RPM_BUILD_ROOT/%{_mingw_libdir}/charset.alias
40 # Remove static library.
41 rm $RPM_BUILD_ROOT%{_mingw_libdir}/libfontconfig.a
44 rm -rf $RPM_BUILD_ROOT
49 %{_mingw_bindir}/fc-cache.exe
50 %{_mingw_bindir}/fc-cat.exe
51 %{_mingw_bindir}/fc-list.exe
52 %{_mingw_bindir}/fc-match.exe
53 %{_mingw_bindir}/libfontconfig-1.dll
54 %{_mingw_libdir}/fontconfig.def
55 %{_mingw_libdir}/libfontconfig.dll.a
56 %{_mingw_libdir}/libfontconfig.la
57 %{_mingw_libdir}/pkgconfig/fontconfig.pc
58 %{_mingw_includedir}/fontconfig/
59 %{_mingw_sysconfdir}/fonts/
60 %{_mingw_mandir}/man1/fc-cache.1*
61 %{_mingw_mandir}/man1/fc-cat.1*
62 %{_mingw_mandir}/man1/fc-list.1*
63 %{_mingw_mandir}/man1/fc-match.1*
64 %{_mingw_mandir}/man3/Fc*.3*
65 %{_mingw_mandir}/man5/fonts-conf.5*
66 %{_mingw_datadir}/doc/fontconfig
69 * Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.0-2
70 - Remove static library.
72 * Tue Sep 9 2008 Daniel P. Berrange <berrange@redhat.com> - 2.6.0-1