File mingw32-pixman.spec of Package mingw32-pixman
%define __strip %{_mingw32_strip}
%define __objdump %{_mingw32_objdump}
%define _use_internal_dependency_generator 0
%define __find_requires %{_mingw32_findrequires}
%define __find_provides %{_mingw32_findprovides}
%define __os_install_post %{_mingw32_debug_install_post} \
%{_mingw32_install_post}
Name: mingw32-pixman
Version: 0.20.0
Release: 0
Summary: MinGW Windows Pixman library
License: MIT
URL: http://cairographics.org/
Source0: http://cairographics.org/releases/pixman-%{version}.tar.gz
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
#!BuildIgnore: post-build-checks
BuildRequires: mingw32-filesystem >= 23
BuildRequires: mingw32-cross-gcc
BuildRequires: mingw32-cross-binutils
%description
MinGW Windows Pixman library.
%package devel
Summary: MinGW Windows Pixman library (development files)
Group: Development/Libraries
%description devel
MinGW Windows Pixman library (development files).
%{_mingw32_debug_package}
%prep
%setup -q -n pixman-%{version}
%build
# Uses GTK for its testsuite, so disable this otherwise
# we have a chicken & egg problem on mingw
%{_mingw32_configure} --disable-gtk --disable-static --enable-shared
make %{?_smp_mflags} || make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_mingw32_bindir}/libpixman-1-0.dll
%files devel
%defattr(-,root,root)
%{_mingw32_includedir}/pixman-1
%{_mingw32_libdir}/libpixman-1.dll.a
%{_mingw32_libdir}/pkgconfig/pixman-1.pc
%changelog