File mingw64-gtk2-engines.spec of Package mingw64-gtk2-engines

#
# spec file for package mingw64-gtk2-engines
#
# 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:           mingw64-gtk2-engines
Version:        2.20.2
Release:        0
Summary:        Engines for GTK2 Themes
License:        GPL-2.0-or-later
Group:          Development/Libraries
Url:            http://www.gnome.org/
Source:         http://ftp.gnome.org/pub/gnome/sources/gtk-engines/2.20/gtk-engines-%{version}.tar.bz2
#!BuildIgnore: post-build-checks
BuildRequires:  gtk2-devel
BuildRequires:  intltool
BuildRequires:  mingw64-atk-devel
BuildRequires:  mingw64-cairo-devel >= 1.8.0
BuildRequires:  mingw64-cross-binutils
BuildRequires:  mingw64-cross-gcc
BuildRequires:  mingw64-cross-pkg-config
BuildRequires:  mingw64-filesystem >= 23
BuildRequires:  mingw64-glib2-devel
BuildRequires:  mingw64-gtk2-devel
BuildRequires:  mingw64-libintl-devel
BuildRequires:  mingw64-pango-devel
BuildRequires:  mingw64-win_iconv-devel
BuildRequires:  perl-XML-Parser
Requires:       %{name}-lang = %{version}
%_mingw64_package_header_debug
BuildArch:      noarch

%description
The GTK Engines package contains eight themes/engines and two additional engines for GTK2.

%_mingw64_debug_package

%lang_package

%prep
%setup -q -n gtk-engines-%{version}

%build
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
%{_mingw64_configure}
%{_mingw64_make} %{?_smp_mflags} || %{_mingw64_make}

%install
%{_mingw64_makeinstall}
rm -f %{buildroot}%{_mingw64_libdir}/gtk-2.0/*/engines/*.dll.a
rm %{buildroot}%{_mingw64_libdir}/pkgconfig/*.pc

%find_lang gtk-engines

%files
%defattr(-, root, root)
%{_mingw64_datadir}/themes/*
%{_mingw64_datadir}/gtk-engines
%{_mingw64_libdir}/gtk-2.0/*/engines/*.dll

%files lang -f gtk-engines.lang
%defattr(-, root, root)

%changelog
openSUSE Build Service is sponsored by