1 %define __strip %{_mingw_strip}
2 %define __objdump %{_mingw_objdump}
3 %define _use_internal_dependency_generator 0
4 %define __find_requires %{_mingw_findrequires}
5 %define __find_provides %{_mingw_findprovides}
10 Summary: MinGW Windows Cairo library
12 License: LGPLv2 or MPLv1.1
13 URL: http://cairographics.org
14 Source0: http://cairographics.org/snapshots/cairo-%{version}.tar.gz
15 Group: Development/Libraries
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
20 BuildRequires: mingw-filesystem >= 23
21 BuildRequires: mingw-gcc
22 BuildRequires: mingw-binutils
23 BuildRequires: mingw-libxml2
24 BuildRequires: mingw-pixman
25 BuildRequires: mingw-freetype
26 BuildRequires: mingw-libpng
27 BuildRequires: mingw-fontconfig
28 BuildRequires: pkgconfig
31 MinGW Windows Cairo library.
35 %setup -q -n cairo-%{version}
38 %{_mingw_configure} --disable-xlib --disable-xcb --enable-win32 --enable-png --enable-freetype
43 rm -rf $RPM_BUILD_ROOT
45 make DESTDIR=$RPM_BUILD_ROOT install
47 rm -f $RPM_BUILD_ROOT%{_mingw_libdir}/charset.alias
49 rm -f $RPM_BUILD_ROOT%{_mingw_libdir}/libcairo.a
53 rm -rf $RPM_BUILD_ROOT
58 %{_mingw_bindir}/libcairo-2.dll
59 %{_mingw_includedir}/cairo/
60 %{_mingw_libdir}/libcairo.dll.a
61 %{_mingw_libdir}/libcairo.la
62 %{_mingw_libdir}/pkgconfig/cairo-ft.pc
63 %{_mingw_libdir}/pkgconfig/cairo-pdf.pc
64 %{_mingw_libdir}/pkgconfig/cairo-png.pc
65 %{_mingw_libdir}/pkgconfig/cairo-ps.pc
66 %{_mingw_libdir}/pkgconfig/cairo-svg.pc
67 %{_mingw_libdir}/pkgconfig/cairo-win32-font.pc
68 %{_mingw_libdir}/pkgconfig/cairo-win32.pc
69 %{_mingw_libdir}/pkgconfig/cairo.pc
70 %{_mingw_datadir}/gtk-doc/html/cairo/
74 * Thu Sep 11 2008 Daniel P. Berrange <berrange@redhat.com> - 1.7.4-3
75 - Added dep on pkgconfig
77 * Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 1.7.4-2
78 - Remove static libraries.
81 * Tue Sep 9 2008 Daniel P. Berrange <berrange@redhat.com> - 1.7.4-1