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
36 MinGW Windows Fontconfig library.
40 %setup -q -n fontconfig-%{version}
42 libtoolize --force --copy
47 PATH="%{_mingw32_bindir}:$PATH" \
48 %{_mingw32_configure} --with-arch=i686
53 rm -rf $RPM_BUILD_ROOT
55 make DESTDIR=$RPM_BUILD_ROOT install
57 rm -f $RPM_BUILD_ROOT/%{_mingw32_libdir}/charset.alias
59 # Remove static library.
60 rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libfontconfig.a
62 # Remove duplicate manpages.
63 rm -rf $RPM_BUILD_ROOT%{_mingw32_mandir}
67 rm -rf $RPM_BUILD_ROOT
72 %{_mingw32_bindir}/fc-cache.exe
73 %{_mingw32_bindir}/fc-cat.exe
74 %{_mingw32_bindir}/fc-list.exe
75 %{_mingw32_bindir}/fc-match.exe
76 %{_mingw32_bindir}/libfontconfig-1.dll
77 %{_mingw32_libdir}/fontconfig.def
78 %{_mingw32_libdir}/libfontconfig.dll.a
79 %{_mingw32_libdir}/libfontconfig.la
80 %{_mingw32_libdir}/pkgconfig/fontconfig.pc
81 %{_mingw32_includedir}/fontconfig/
82 %{_mingw32_sysconfdir}/fonts/
83 %{_mingw32_datadir}/doc/fontconfig
86 * Fri Jan 23 2009 Richard W.M. Jones <rjones@redhat.com> - 2.6.0-6
88 - Rebuild libtool configuration.
89 - More BRs suggested by auto-buildrequires.
91 * Wed Sep 24 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.0-5
92 - Rename mingw -> mingw32.
94 * Sun Sep 21 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.0-4
95 - Remove duplicate manpages.
96 - Patch to delete logfile left when building (unused) manpages.
98 * Thu Sep 11 2008 Daniel P. Berrange <berrange@redhat.com> - 2.6.0-3
99 - Add mingw_bindir to $PATH for freetype-config script
101 * Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.0-2
102 - Remove static library.
105 * Tue Sep 9 2008 Daniel P. Berrange <berrange@redhat.com> - 2.6.0-1
106 - Initial RPM release