Add mingw_bindir to /usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:...
[fedora-mingw.git] / pixman / mingw-pixman.spec
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}
6
7 Name:           mingw-pixman
8 Version:        0.11.10
9 Release:        2%{?dist}
10 Summary:        MinGW Windows Pixman library
11
12 License:        MIT
13 URL:            http://xorg.freedesktop.org
14 Source0:        http://xorg.freedesktop.org/archive/individual/lib/pixman-%{version}.tar.gz
15 Group:          Development/Libraries
16 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17
18 BuildArch:      noarch
19
20 BuildRequires:  mingw-filesystem >= 23
21 BuildRequires:  mingw-gcc
22 BuildRequires:  mingw-binutils
23
24 %description
25 MinGW Windows Pixman library.
26
27
28 %prep
29 %setup -q -n pixman-%{version}
30
31 %build
32 # Uses GTK for its testsuite, so disable this otherwise
33 # we have a chicken & egg problem on mingw
34 %{_mingw_configure} --disable-gtk
35 make
36
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 make DESTDIR=$RPM_BUILD_ROOT install
42
43 rm $RPM_BUILD_ROOT/%{_mingw_libdir}/libpixman-1.a
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48
49 %files
50 %defattr(-,root,root)
51 %{_mingw_bindir}/libpixman-1-0.dll
52 %{_mingw_includedir}/pixman-1
53 %{_mingw_libdir}/libpixman-1.dll.a
54 %{_mingw_libdir}/libpixman-1.la
55 %{_mingw_libdir}/pkgconfig/pixman-1.pc
56
57 %changelog
58 * Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 0.11.10-2
59 - Remove static library.
60
61 * Tue Sep  9 2008 Daniel P. Berrange <berrange@redhat.com> - 0.11.10-1
62 - Initial RPM release