File mingw64-icon-naming-utils.spec of Package mingw64-icon-naming-utils

#
# spec file for package mingw64-icon-naming-utils
#
# 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-icon-naming-utils
Version:        0.8.90
Release:        0
Summary:        Icon Name Specification Mapping Script
License:        GPL-2.0-or-later
Group:          Development/Libraries
Url:            http://tango-project.org/Standard_Icon_Naming_Specification
Source0:        http://tango.freedesktop.org/releases/icon-naming-utils-%{version}.tar.gz
Patch0:         icon-naming-utils-0.8.7-always_copy.patch
#!BuildIgnore: post-build-checks
BuildRequires:  mingw64-cross-pkg-config
BuildRequires:  mingw64-filesystem >= 23
BuildRequires:  perl
BuildRequires:  perl-XML-Simple
Requires:       perl
Requires:       perl-XML-Simple
BuildArch:      noarch
%_mingw64_package_header_debug

%description
A script for creating a symlink mapping for deprecated icon names to
the new icon naming specification names for desktop icon themes.

%prep
%setup -q -n icon-naming-utils-%{version}

%patch -P 0 -p1 -b .always_copy

%build
%{_mingw64_configure}
%{_mingw64_make} %{?_smp_mflags} || %{_mingw64_make}

%install

%{_mingw64_makeinstall}

%files
%defattr(-,root,root)
%{_mingw64_libexecdir}/icon-name-mapping
%{_mingw64_datadir}/dtds/legacy-icon-mapping.dtd
%{_mingw64_datadir}/icon-naming-utils/legacy-icon-mapping.xml
%{_mingw64_datadir}/pkgconfig/icon-naming-utils.pc

%changelog
openSUSE Build Service is sponsored by