File mingw32-gtk2-engine-murrine.spec of Package mingw32-gtk2-engine-murrine

#
# spec file for package mingw32-gtk2-engine-murrine
#
# 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-gtk2-engine-murrine
Version:        0.98.2
Release:        0
Summary:        Murrine GTK Theme Engine
License:        GPL-2.0-or-later
Group:          Development/Libraries
Url:            http://www.cimitan.com/murrine/engine
Source:         http://ftp.gnome.org/pub/GNOME/sources/murrine/0.98/murrine-%{version}.tar.xz
#!BuildIgnore: post-build-checks
BuildRequires:  intltool
BuildRequires:  mingw32-cross-binutils
BuildRequires:  mingw32-cross-gcc
BuildRequires:  mingw32-cross-pkg-config
BuildRequires:  mingw32-filesystem
BuildRequires:  mingw32-gtk2-devel
BuildRequires:  mingw32-pixman-devel
BuildRequires:  xz
%_mingw32_package_header_debug
BuildArch:      noarch

%description
Murrine is a GTK+ 2 theme engine, that uses the Cairo vector drawing
library to render widgets. It features a modern glassy look, is elegant
and clean on the eyes, and is extremely customizable.

%_mingw32_debug_package

%prep
%setup -q -n murrine-%{version}

%build
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache}
# Configure does not add pixman to the linker flags, so add it explicitly
%{_mingw32_configure} \
   LDFLAGS="$(pkg-config --libs pixman-1)"
%{_mingw32_make} %{?_smp_mflags} || %{_mingw32_make}

%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm -f %{buildroot}%{_mingw32_libdir}/gtk-2.0/*/engines/*.dll.a

%files
%defattr(-,root,root)
%{_mingw32_datadir}/gtk-engines
%{_mingw32_libdir}/gtk-2.0/*/engines/*.dll

%changelog
openSUSE Build Service is sponsored by