File mingw64-tango-icon-theme.spec of Package mingw64-tango-icon-theme
#
# spec file for package mingw64-tango-icon-theme
#
# 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-tango-icon-theme
Version: 0.8.90
Release: 0
Summary: Tango Icon Theme
License: Other uncritical OpenSource License
Group: Development/Libraries
Url: http://tango.freedesktop.org/
Source0: http://tango.freedesktop.org/releases/tango-icon-theme-%{version}.tar.gz
Patch0: tango-icon-theme-0.8.90-rsvg.patch
#!BuildIgnore: post-build-checks
BuildRequires: ImageMagick-devel
BuildRequires: gettext-runtime
BuildRequires: gnome-common
BuildRequires: intltool
BuildRequires: librsvg-devel
BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-filesystem >= 23
BuildRequires: mingw64-icon-naming-utils >= 0.8.90
BuildRequires: mingw64-librsvg-devel
BuildRequires: mingw64-librsvg-tools
BuildRequires: python
BuildArch: noarch
%_mingw64_package_header_debug
%if 0%{?sle_version} >= 150300 || 0%{?suse_version} >= 1550
BuildRequires: rsvg-convert
%else
BuildRequires: rsvg-view
%endif
%description
The Tango Desktop Project defines an icon style guideline to which artists and designers can adhere. A sample
implementation of the style is available as an icon theme based upon a standardized icon naming specification.
%prep
%setup -q -n tango-icon-theme-%{version}
%patch -P 0 -p1 -b .rsvg
%build
NOCONFIGURE=indeed AUTOMAKE=`which automake` gnome-autogen.sh
PATH="%{_mingw64_bindir}:$PATH"; export PATH; \
%{_mingw64_configure} --enable-png-creation --enable-large-bitmaps --disable-icon-framing
%{_mingw64_make} %{?_smp_mflags} || %{_mingw64_make}
%install
%{_mingw64_make} DESTDIR=%{buildroot} install
%files
%defattr(-,root,root)
%{_mingw64_datadir}/icons/Tango
%changelog