File mingw32-pixman.spec of Package mingw32-pixman
#
# spec file for package mingw32-pixman
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: mingw32-pixman
Version: 0.30.0
Release: 0
Summary: The pixel-manipulation library for X and cairo
License: MIT
Group: Development/Libraries/C and C++
Url: http://cairographics.org/
Source: http://cairographics.org/releases/pixman-%{version}.tar.bz2
#!BuildIgnore: post-build-checks
BuildRequires: mingw32-cross-binutils
BuildRequires: mingw32-cross-gcc
BuildRequires: mingw32-cross-pkg-config
BuildRequires: mingw32-filesystem
%_mingw32_package_header_debug
BuildArch: noarch
%description
Pixman is a library that provides low-level pixel manipulation features such as image compositing and trapezoid
rasterization.
%package -n mingw32-libpixman-1-0
Summary: MinGW Windows port of the pixel manipulation library for cairo
Group: System/Libraries
Obsoletes: mingw32-pixman
%description -n mingw32-libpixman-1-0
Pixman is a library that provides low-level pixel manipulation features such as image compositing and trapezoid
rasterization.
%package devel
Summary: The pixel manipulation library for cairo (development files)
Group: Development/Libraries/C and C++
%description devel
Pixman is a library that provides low-level pixel manipulation features such as image compositing and trapezoid
rasterization. (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
echo "lt_cv_deplibs_check_method='pass_all'" >> %{_mingw32_cache}
%{_mingw32_configure} \
--disable-gtk \
--enable-shared --disable-static
make %{?_smp_mflags} || make
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%files -n mingw32-libpixman-1-0
%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