File mingw64-gsettings-desktop-schemas.spec of Package mingw64-gsettings-desktop-schemas

#
# spec file for package mingw64-gsettings-desktop-schemas
#
# 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-gsettings-desktop-schemas
Version:        3.0.0
Release:        0
Summary:        Shared GSettings Schemas for the Desktop
License:        LGPL-2.0-or-later
Group:          System/GUI/GNOME
Url:            http://gnome.org/
Source0:        gsettings-desktop-schemas-%{version}.tar.bz2
Patch0:         gsettings-desktop-schemas-3.0.0-includedir.patch
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  glib2-devel
BuildRequires:  intltool
BuildRequires:  mingw64-cross-binutils
BuildRequires:  mingw64-cross-gcc
BuildRequires:  mingw64-cross-pkg-config
BuildRequires:  mingw64-filesystem
BuildRequires:  mingw64-glib2-devel
Requires:       %{name}-lang >= %{version}
%_mingw64_package_header_debug
BuildArch:      noarch
#!BuildIgnore: post-build-checks

%description
A collection of GSettings schemas for settings shared by various components of a desktop.

%package devel
Summary:        Shared GSettings Schemas for the Desktop -- Development Files
License:        GPL-2.0-or-later
Group:          Development/Languages/C and C++

%description devel
A collection of GSettings schemas for settings shared by various components of a desktop.

This package contains development files.

%lang_package

%prep
%setup -q -n gsettings-desktop-schemas-%{version}
%patch -P 0 -p1 -b .includedir

%build
autoreconf -fi
%{_mingw64_configure}
%{_mingw64_make} %{?_smp_mflags} || %{_mingw64_make}

%install
%{_mingw64_make} DESTDIR=%{buildroot} install
%find_lang gsettings-desktop-schemas

%files
%defattr(-,root,root)
%{_mingw64_datadir}/glib-2.0/schemas/org.gnome.desktop.a11y.applications.gschema.xml
%{_mingw64_datadir}/glib-2.0/schemas/org.gnome.desktop.a11y.keyboard.gschema.xml
%{_mingw64_datadir}/glib-2.0/schemas/org.gnome.desktop.a11y.mouse.gschema.xml
%{_mingw64_datadir}/glib-2.0/schemas/org.gnome.desktop.a11y.magnifier.gschema.xml
%{_mingw64_datadir}/glib-2.0/schemas/org.gnome.desktop.background.gschema.xml
%{_mingw64_datadir}/glib-2.0/schemas/org.gnome.desktop.default-applications.gschema.xml
%{_mingw64_datadir}/glib-2.0/schemas/org.gnome.desktop.enums.xml
%{_mingw64_datadir}/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
%{_mingw64_datadir}/glib-2.0/schemas/org.gnome.desktop.lockdown.gschema.xml
%{_mingw64_datadir}/glib-2.0/schemas/org.gnome.desktop.media-handling.gschema.xml
%{_mingw64_datadir}/glib-2.0/schemas/org.gnome.desktop.screensaver.gschema.xml
%{_mingw64_datadir}/glib-2.0/schemas/org.gnome.desktop.session.gschema.xml
%{_mingw64_datadir}/glib-2.0/schemas/org.gnome.desktop.sound.gschema.xml
%{_mingw64_datadir}/glib-2.0/schemas/org.gnome.desktop.thumbnail-cache.gschema.xml
%{_mingw64_datadir}/glib-2.0/schemas/org.gnome.desktop.thumbnailers.gschema.xml
%{_mingw64_datadir}/glib-2.0/schemas/org.gnome.system.proxy.gschema.xml
%dir %{_mingw64_datadir}/GConf
%dir %{_mingw64_datadir}/GConf/gsettings
%{_mingw64_datadir}/GConf/gsettings/gsettings-desktop-schemas.convert

%files devel
%defattr(-,root,root)
%{_mingw64_includedir}/gsettings-desktop-schemas
%{_mingw64_datadir}/pkgconfig/gsettings-desktop-schemas.pc

%files lang -f gsettings-desktop-schemas.lang
%defattr(-,root,root)

%changelog
openSUSE Build Service is sponsored by