File mingw64-gnome-mime-data.spec of Package mingw64-gnome-mime-data

#
# spec file for package mingw64-gnome-mime-data
#
# 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-gnome-mime-data
Version:        2.18.0
Release:        0
Summary:        MinGW Windows port of the MIME Type and Application Database for the GNOME 2.x Desktop
License:        GPL-2.0-or-later
Group:          Development/Libraries
Url:            ftp://ftp.gnome.org/pub/gnome/sources/gnome-mime-data
Source0:        ftp://ftp.gnome.org/pub/gnome/sources/gnome-mime-data/2.14/gnome-mime-data-%{version}.tar.bz2
#!BuildIgnore: post-build-checks
BuildRequires:  gettext-tools
BuildRequires:  intltool
BuildRequires:  mingw64-cross-binutils
BuildRequires:  mingw64-cross-gcc
BuildRequires:  mingw64-cross-pkg-config
BuildRequires:  mingw64-filesystem >= 23
BuildRequires:  mingw64-libintl-devel
BuildArch:      noarch
%_mingw64_package_header_debug

%description
This module contains the MinGW Windows port of the base MIME and application database
for GNOME. It is meant to be accessed through the MIME functions in GNOMEVFS.

%prep
%setup -q -n gnome-mime-data-%{version}

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

%install
%{_mingw64_makeinstall}

%find_lang gnome-mime-data

%files -f gnome-mime-data.lang
%defattr(-,root,root)
%{_mingw64_sysconfdir}/gnome-vfs-mime-magic
%{_mingw64_datadir}/application-registry/gnome-vfs.applications
%{_mingw64_datadir}/mime-info/gnome-vfs.keys
%{_mingw64_datadir}/mime-info/gnome-vfs.mime
%{_mingw64_datadir}/pkgconfig/gnome-mime-data-2.0.pc

%changelog
openSUSE Build Service is sponsored by