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 >= 43-6
23 BuildRequires: mingw32-gcc
24 BuildRequires: mingw32-binutils
25 BuildRequires: mingw32-dlfcn
26 BuildRequires: mingw32-expat
27 BuildRequires: mingw32-freetype
28 BuildRequires: mingw32-iconv
29 BuildRequires: mingw32-libxml2
30 BuildRequires: pkgconfig
31 BuildRequires: docbook-utils
32 BuildRequires: automake, autoconf, libtool
38 MinGW Windows Fontconfig library.
42 %setup -q -n fontconfig-%{version}
44 libtoolize --force --copy
49 PATH="%{_mingw32_bindir}:$PATH" \
50 %{_mingw32_configure} --with-arch=i686
55 rm -rf $RPM_BUILD_ROOT
57 make DESTDIR=$RPM_BUILD_ROOT install
59 rm -f $RPM_BUILD_ROOT/%{_mingw32_libdir}/charset.alias
61 # Remove static library.
62 rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libfontconfig.a
64 # Remove duplicate manpages.
65 rm -rf $RPM_BUILD_ROOT%{_mingw32_mandir}
69 rm -rf $RPM_BUILD_ROOT
74 %{_mingw32_bindir}/fc-cache.exe
75 %{_mingw32_bindir}/fc-cat.exe
76 %{_mingw32_bindir}/fc-list.exe
77 %{_mingw32_bindir}/fc-match.exe
78 %{_mingw32_bindir}/libfontconfig-1.dll
79 %{_mingw32_libdir}/fontconfig.def
80 %{_mingw32_libdir}/libfontconfig.dll.a
81 %{_mingw32_libdir}/libfontconfig.la
82 %{_mingw32_libdir}/pkgconfig/fontconfig.pc
83 %{_mingw32_includedir}/fontconfig/
84 %{_mingw32_sysconfdir}/fonts/
85 %{_mingw32_datadir}/doc/fontconfig
88 * Fri Jan 30 2009 Richard W.M. Jones <rjones@redhat.com> - 2.6.0-7
91 * Fri Jan 23 2009 Richard W.M. Jones <rjones@redhat.com> - 2.6.0-6
93 - Rebuild libtool configuration.
94 - More BRs suggested by auto-buildrequires.
96 * Wed Sep 24 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.0-5
97 - Rename mingw -> mingw32.
99 * Sun Sep 21 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.0-4
100 - Remove duplicate manpages.
101 - Patch to delete logfile left when building (unused) manpages.
103 * Thu Sep 11 2008 Daniel P. Berrange <berrange@redhat.com> - 2.6.0-3
104 - Add mingw_bindir to $PATH for freetype-config script
106 * Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.0-2
107 - Remove static library.
110 * Tue Sep 9 2008 Daniel P. Berrange <berrange@redhat.com> - 2.6.0-1
111 - Initial RPM release