Hello community,

here is the log from the commit of package glib2-branding-openSUSE for 
openSUSE:Factory checked in at 2016-07-21 07:52:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/glib2-branding-openSUSE (Old)
 and      /work/SRC/openSUSE:Factory/.glib2-branding-openSUSE.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "glib2-branding-openSUSE"

Changes:
--------
New Changes file:

--- /dev/null   2016-07-07 10:01:34.856033756 +0200
+++ 
/work/SRC/openSUSE:Factory/.glib2-branding-openSUSE.new/glib2-branding-SLE.changes
  2016-07-21 07:52:07.000000000 +0200
@@ -0,0 +1,462 @@
+-------------------------------------------------------------------
+Thu Jul 14 08:42:04 UTC 2016 - dims...@opensuse.org
+
+- Do not attempt to build -openSUSE on SLE and -SLE on openSUSE:
+  trick the .spec file to ExclusiveArch: %nil in this case.
+
+-------------------------------------------------------------------
+Fri Jul  1 06:05:41 UTC 2016 - fezh...@suse.com
+
+- Make gnome-settings-daemon housekeeping plugin ignore /boot/efi
+  [bsc#919217].
+  Summary from bsc#919217:
+  "On a default UEFI installation, /boot/efi is created with a size
+  of 156MB. It will cause gnome-settings-daemon to popup a warning,
+  if logged as root (not 100% sure when logged as a regular user)
+  that a partition has less than than 1GB of free space.
+  /boot/efi should be added to default schema
+  org.gnome.settings-daemon.plugin.housekeeping ignore-paths"
+
+-------------------------------------------------------------------
+Wed Jun 29 09:35:28 UTC 2016 - fcro...@suse.com
+
+- Resync with glib2-branding-SLE and simplify specfile.
+- Replaces Requires by Recommends on wallpaper-branding-openSUSE:
+  gio-branding-openSUSE is required by glib2, which is causing
+  openSUSE wallpaper as hard dependency on non-graphical install.
+
+-------------------------------------------------------------------
+Mon Jun 20 13:08:25 UTC 2016 - fcro...@suse.com
+
+- Add some settings from SLE12 SP2, not enabled when building on
+  openSUSE (default zoom on nautilus).
+- Update favorite applications default to use new names from
+  upstream, prevent writing some defaults to dconf (partially fixes
+  bsc#979947).
+
+-------------------------------------------------------------------
+Tue Mar 15 14:43:15 UTC 2016 - fcro...@suse.com
+
+- Fix KeySym assigned for Help, XF86Help doesn't exist anymore.
+
+-------------------------------------------------------------------
+Sat Feb 13 00:54:27 UTC 2016 - zai...@opensuse.org
+
+- Drop org.gnome.settings-daemon.plugins.media-keys/toggle-mute
+  since we dropped the patch making this needed.
+
+-------------------------------------------------------------------
+Tue Nov 10 19:25:31 UTC 2015 - badshah...@gmail.com
+
+- The touchpad schemas migrated to org.gnome.desktop.peripherals
+  from org.gnome.settings-daemon.peripherals, adapt tap-to-click
+  setting accordingly (boo#954526).
+- The "disable-while-typing" key no longer exists, remove it
+  accordingly.
+
+-------------------------------------------------------------------
+Mon Oct 12 14:43:05 UTC 2015 - zai...@opensuse.org
+
+- Bump version to 42.1, to prepare for next version of openSUSE.
+
+-------------------------------------------------------------------
+Sat Sep 19 10:21:32 UTC 2015 - dims...@opensuse.org
+
+- Drop org.gnome.settings-daemon.plugins.power/button-power
+  override: this settings has been removed in GNOME 3.17.92.
+
+-------------------------------------------------------------------
+Thu Feb 26 20:54:28 UTC 2015 - dims...@opensuse.org
+
+- Drop org.gnome.eog.ui/external-editor reference: EOG 3.15 no
+  longer supports this.
+
+-------------------------------------------------------------------
+Mon Nov  3 13:40:38 UTC 2014 - badshah...@gmail.com
+
+- Gedit desktop file got renamed to org.gnome.gedit.desktop,
+  update gnome_defaults.conf accordingly (boo#904010).
+
+-------------------------------------------------------------------
+Wed Oct  8 14:05:42 UTC 2014 - badshah...@gmail.com
+
+- Replace rhythmbox by gnome-music in favourite applications
+  (see
+  http://lists.opensuse.org/opensuse-gnome/2014-10/msg00013.html )
+- Remove alternative-status-menu as default enabled extension: we
+  do not install it by default any more.
+
+-------------------------------------------------------------------
+Sat Aug 23 16:04:22 UTC 2014 - zai...@opensuse.org
+
+- Bump version to 13.2, to prepare for next version of openSUSE.
+
+-------------------------------------------------------------------
+Fri Aug 22 21:41:04 UTC 2014 - dims...@opensuse.org
+
+- Replace nautilus.desktop in gnome_defaults.conf with
+  org.gnome.Nautilus.desktop, following upstreams renaming of the
+  .desktop file in GNOME 3.14.
+
+-------------------------------------------------------------------
+Thu Jul  3 15:09:07 UTC 2014 - fcro...@suse.com
+
+- Merge SLE12 specific changes (not enabled on openSUSE):
+  + Enable back audible-bell on SLE12 [bnc#871584]
+  + Change Favorites on gnome-shell:
+    * Remove rhythmbox
+    * Replace Libreoffice Writer with Libreoffice Start Center
+    * Add Yelp
+  + Change the default action of pressing power button to
+    'shutdown'.
+  + Lock the screensaver after 300 seconds.
+
+-------------------------------------------------------------------
+Mon Nov 11 20:19:41 UTC 2013 - dims...@opensuse.org
+
+- Update gnome_defaults: nautilus-folder-handlder has been dropped
+  a while ago and the functionality merged into nautilus directly.
+  This never really caused any issue, as nautilus was one of the
+  few .desktop files registering a inode/directory MimeType. Since
+  GNOME 3.10, baobab does that as well, resulting in situations
+  where baobab can be prefered (the Mime handling is
+  pseudo-random). (bnc#849914).
+- Add %mime_database_post//%mime_database_postun macros to post
+  and postun, to ensure installation triggers updating the mime
+  database.
+
+-------------------------------------------------------------------
+Sun Sep 22 12:51:13 UTC 2013 - dims...@opensuse.org
+
+- Set the same background for the lockscreen by default as we use
+  as regular background.
+
+-------------------------------------------------------------------
+Sun Sep  8 07:39:30 UTC 2013 - zai...@opensuse.org
+
+- Bump version to 13.1, to prepare for next version of openSUSE. 
+
+-------------------------------------------------------------------
+Mon Mar 25 21:51:24 UTC 2013 - dims...@opensuse.org
+
+- Drop org.gnome.settings-daemon.plugins.power/sleep-display-ac
+  setting: it's no longer known by GNOME 3.8.
+
+-------------------------------------------------------------------
+Thu Feb 14 02:11:18 UTC 2013 - badshah...@gmail.com
+
+- Replace banshee with rhythmbox in the list of favourite apps
+  shown in the gnome-shell dash.
+
+-------------------------------------------------------------------
+Sun Jan 13 10:58:19 UTC 2013 - dims...@opensuse.org
+
+- Update gnome_defaults.conf: no longer instruct to start
+  SuSEconfig, but instruct to run suse-update-mime-defaults
+  (bnc#796169).
+
+-------------------------------------------------------------------
+Wed Jan  9 14:00:12 UTC 2013 - a...@suse.de
+
+- Update version number to 12.3.
+
+-------------------------------------------------------------------
+Mon Nov 12 17:56:36 UTC 2012 - dims...@opensuse.org
+
+- No longer set
+  org.gnome.settings-daemon.plugins.updates/auto-update-type: this
+  setting was removed from the schema during GNOME 3.6 development.
+  (gnome-settings-daemon commit 7cd4aad).
+
+-------------------------------------------------------------------
+Wed Jul  4 00:41:23 UTC 2012 - badshah...@gmail.com
+
+- Change GSettings default for tap-to-click settings:
+  + Set org.gnome.settings-daemon.peripherals.touchpad/tap-to-click
+    to true to enable tap-to-click by default (see
+    (bnc#554884, fate#310811, also recent discussion at
+     http://lists.opensuse.org/opensuse-factory/2012-06/msg01087.html)
+  + Also change
+    org.gnome.settings-daemon.peripherals.touchpad/disable-while-typing
+    to true to prevent accidental tap-cliking while the user is
+    typing.
+
+-------------------------------------------------------------------
+Fri Jun  8 08:12:48 CEST 2012 - vu...@opensuse.org
+
+- Remove gdm-branding-openSUSE Requires from gio-branding-openSUSE:
+  this results in gdm getting installed for everyone, including
+  non-GNOME users. Instead, rely on the fact that gdm will not
+  break if the logo defined in our GSettings default doesn't exist.
+
+-------------------------------------------------------------------
+Mon Jun 4 22:14:12 UTC 2012 - rbrown...@opensuse.org
+
+- Change GSettings default:
+  + Change org.gnome.login-screen/logo to new gdm banner artwork.
+- For openSUSE, add Requires for gdm-branding-openSUSE
++++ 265 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:Factory/.glib2-branding-openSUSE.new/glib2-branding-SLE.changes
--- 
/work/SRC/openSUSE:Factory/glib2-branding-openSUSE/glib2-branding-openSUSE.changes
  2016-06-29 15:03:21.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.glib2-branding-openSUSE.new/glib2-branding-openSUSE.changes
     2016-07-21 07:52:07.000000000 +0200
@@ -1,0 +2,27 @@
+Thu Jul 14 08:42:04 UTC 2016 - dims...@opensuse.org
+
+- Do not attempt to build -openSUSE on SLE and -SLE on openSUSE:
+  trick the .spec file to ExclusiveArch: %nil in this case.
+
+-------------------------------------------------------------------
+Fri Jul  1 06:05:41 UTC 2016 - fezh...@suse.com
+
+- Make gnome-settings-daemon housekeeping plugin ignore /boot/efi
+  [bsc#919217].
+  Summary from bsc#919217:
+  "On a default UEFI installation, /boot/efi is created with a size
+  of 156MB. It will cause gnome-settings-daemon to popup a warning,
+  if logged as root (not 100% sure when logged as a regular user)
+  that a partition has less than than 1GB of free space.
+  /boot/efi should be added to default schema
+  org.gnome.settings-daemon.plugin.housekeeping ignore-paths"
+
+-------------------------------------------------------------------
+Wed Jun 29 09:35:28 UTC 2016 - fcro...@suse.com
+
+- Resync with glib2-branding-SLE and simplify specfile.
+- Replaces Requires by Recommends on wallpaper-branding-openSUSE:
+  gio-branding-openSUSE is required by glib2, which is causing
+  openSUSE wallpaper as hard dependency on non-graphical install.
+
+-------------------------------------------------------------------

Old:
----
  glib2-branding-openSUSE-COPYING
  glib2-branding-openSUSE-gnome_defaults.conf

New:
----
  glib2-branding-COPYING
  glib2-branding-SLE.changes
  glib2-branding-SLE.spec
  glib2-branding-gnome_defaults.conf
  glib2-branding.spec.in
  pre_checkin.sh

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ glib2-branding-SLE.spec ++++++
#
# spec file for package glib2-branding-SLE
#
# Copyright (c) 2016 SUSE LINUX 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/
#


%define         build_openSUSE 0
%define         build_SLE 1
%define gio_real_package %(rpm -q --qf '%%{name}' --whatprovides gio)
%define gio_version %(rpm -q --qf '%%{version}' %{gio_real_package})
# Do not edit this auto generated file! Edit glib2-branding.spec.in.
Name:           glib2-branding-SLE
Summary:        General-Purpose Utility Library -- SLE default configuration
License:        BSD-3-Clause
Group:          System/GUI/GNOME
Url:            http://www.gtk.org/
Source:         glib2-branding-gnome_defaults.conf
Source1:        glib2-branding-COPYING
Source2:        glib2-branding.gschema.override.in
# We need glib2-branding-upstream else, the call to SuSEconfig.glib2 fails
BuildRequires:  glib2-branding-upstream
BuildRequires:  glib2-devel
BuildRequires:  wallpaper-branding-SLE
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
%if %{build_openSUSE}
Version:        42.1
Release:        0
%else
Version:        12
Release:        0
%endif
%if (%{build_SLE} && 0%{?is_opensuse}) || (%{build_openSUSE} && ! 
0%{?is_opensuse})
# Don't build SLE branding on openSUSE and vice-versa
ExclusiveArch:  %{nil}
%endif

%description
This package provides SLE defaults for settings stored with
GSettings and applications used by the MIME system.

%package -n gio-branding-SLE
Summary:        SLE definitions of default settings and applications
Group:          System/GUI/GNOME
Requires:       %{gio_real_package} = %{gio_version}
# For wallpaper
Recommends:     wallpaper-branding-SLE
Supplements:    packageand(%{gio_real_package}:branding-SLE)
Conflicts:      otherproviders(gio-branding)
Provides:       glib2-branding-SLE = %{version}
Obsoletes:      glib2-branding-SLE < %{version}
Provides:       gio-branding = %{gio_version}
%glib2_gsettings_schema_requires
%if %{build_SLE}
# Obsolete SLE11 packages to resolve file conflicts on sle11->sle12 upgrade
Obsoletes:      glib2-branding-SLED
Obsoletes:      glib2-branding-SLES
%endif

%description -n gio-branding-SLE
This package provides SLE defaults for settings stored with
GSettings and applications used by the MIME system.

%prep
%setup -q -T -c %{name}-%{version}
cp -a %{SOURCE0} gnome_defaults.conf
cp -a %{SOURCE1} COPYING
cp -a %{SOURCE2} glib2-branding.gschema.override.in

%build
test -f %{_datadir}/wallpapers/SLE-default.xml
sed "s,@@WALLPAPER_URI@@,file://%{_datadir}/wallpapers/SLE-default.xml," 
glib2-branding.gschema.override.in > glib2-branding.gschema.override
#for sound theme
%if %{build_openSUSE}
sed "s:@@IF_openSUSE@@::g" < glib2-branding.gschema.override | grep -v ^@@IF_ > 
SLE-branding.gschema.override
%endif
%if %{build_SLE}
sed "s:@@IF_SLE@@::g" < glib2-branding.gschema.override | grep -v ^@@IF_ > 
SLE-branding.gschema.override
%endif

%install
install -d %{buildroot}%{_sysconfdir}
install -m0644 gnome_defaults.conf %{buildroot}%{_sysconfdir}/
install -d %{buildroot}%{_datadir}/glib-2.0/schemas
install -m0644 SLE-branding.gschema.override 
%{buildroot}%{_datadir}/glib-2.0/schemas/

%post -n gio-branding-SLE
%glib2_gsettings_schema_post
%mime_database_post

%postun -n gio-branding-SLE
%glib2_gsettings_schema_postun
%mime_database_postun

%files -n gio-branding-SLE
%defattr (-, root, root)
%doc COPYING
%config (noreplace) %{_sysconfdir}/gnome_defaults.conf
%{_datadir}/glib-2.0/schemas/SLE-branding.gschema.override

%changelog
++++++ glib2-branding-openSUSE.spec ++++++
--- /var/tmp/diff_new_pack.e4AkFX/_old  2016-07-21 07:52:08.000000000 +0200
+++ /var/tmp/diff_new_pack.e4AkFX/_new  2016-07-21 07:52:08.000000000 +0200
@@ -16,107 +16,62 @@
 #
 
 
-%define build_for_openSUSE 1
-
-%if %{build_for_openSUSE}
-%define build_for_SLE 0
-%else
-%define build_for_SLE 1
-%endif
-
-%if %{build_for_openSUSE}
-%define wallpaper_file    openSUSE-default.xml
-%endif
-%if %{build_for_SLE}
-%define desktop_data      SLED
-%define desktop_data_ver  11
-%define wallpaper_file    SLED110-1600x1200.png
-%endif
-
+%define         build_openSUSE 1
+%define         build_SLE 0
+%define gio_real_package %(rpm -q --qf '%%{name}' --whatprovides gio)
+%define gio_version %(rpm -q --qf '%%{version}' %{gio_real_package})
+# Do not edit this auto generated file! Edit glib2-branding.spec.in.
 Name:           glib2-branding-openSUSE
-Version:        42.1
-Release:        0
 Summary:        General-Purpose Utility Library -- openSUSE default 
configuration
 License:        BSD-3-Clause
 Group:          System/GUI/GNOME
 Url:            http://www.gtk.org/
-Source:         %{name}-gnome_defaults.conf
-Source1:        %{name}-COPYING
+Source:         glib2-branding-gnome_defaults.conf
+Source1:        glib2-branding-COPYING
 Source2:        glib2-branding.gschema.override.in
-%if %{build_for_openSUSE}
-BuildRequires:  wallpaper-branding-openSUSE
-%endif
-%if %{build_for_SLE}
-BuildRequires:  desktop-data-%{desktop_data}
-%endif
-BuildRequires:  glib2-devel
 # We need glib2-branding-upstream else, the call to SuSEconfig.glib2 fails
 BuildRequires:  glib2-branding-upstream
-%define gio_real_package %(rpm -q --qf '%%{name}' --whatprovides gio)
-%define gio_version %(rpm -q --qf '%%{version}' %{gio_real_package})
+BuildRequires:  glib2-devel
+BuildRequires:  wallpaper-branding-openSUSE
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
+%if %{build_openSUSE}
+Version:        42.1
+Release:        0
+%else
+Version:        12
+Release:        0
+%endif
+%if (%{build_SLE} && 0%{?is_opensuse}) || (%{build_openSUSE} && ! 
0%{?is_opensuse})
+# Don't build SLE branding on openSUSE and vice-versa
+ExclusiveArch:  %{nil}
+%endif
 
 %description
 This package provides openSUSE defaults for settings stored with
 GSettings and applications used by the MIME system.
 
-%if %{build_for_openSUSE}
-
 %package -n gio-branding-openSUSE
 Summary:        openSUSE definitions of default settings and applications
 Group:          System/GUI/GNOME
+Requires:       %{gio_real_package} = %{gio_version}
 # For wallpaper
-Requires:       wallpaper-branding-openSUSE
+Recommends:     wallpaper-branding-openSUSE
+Supplements:    packageand(%{gio_real_package}:branding-openSUSE)
+Conflicts:      otherproviders(gio-branding)
 Provides:       glib2-branding-openSUSE = %{version}
 Obsoletes:      glib2-branding-openSUSE < %{version}
-Requires:       %{gio_real_package} = %{gio_version}
 Provides:       gio-branding = %{gio_version}
-Conflicts:      otherproviders(gio-branding)
-Supplements:    packageand(%{gio_real_package}:branding-openSUSE)
 %glib2_gsettings_schema_requires
+%if %{build_SLE}
+# Obsolete SLE11 packages to resolve file conflicts on sle11->sle12 upgrade
+Obsoletes:      glib2-branding-SLED
+Obsoletes:      glib2-branding-SLES
+%endif
 
 %description -n gio-branding-openSUSE
 This package provides openSUSE defaults for settings stored with
 GSettings and applications used by the MIME system.
-%endif
-
-%if %{build_for_SLE}
-
-%package -n gio-branding-SLED
-Summary:        SLED definitions of default settings and applications
-Group:          System/GUI/GNOME
-# For wallpaper
-Requires:       desktop-data-%{desktop_data} = %{desktop_data_ver}
-Provides:       glib2-branding-SLED = %{version}
-Obsoletes:      glib2-branding-SLED < %{version}
-Requires:       %{gio_real_package} = %{gio_version}
-Provides:       gio-branding = %{gio_version}
-Conflicts:      otherproviders(gio-branding)
-Supplements:    packageand(%{gio_real_package}:branding-SLED)
-%glib2_gsettings_schema_requires
-
-%description -n gio-branding-SLED
-This package provides SLED defaults for settings stored with
-GSettings and applications used by the MIME system.
-
-%package -n gio-branding-SLES
-Summary:        SLES definitions of default settings and applications
-Group:          System/GUI/GNOME
-# For wallpaper
-Requires:       desktop-data-%{desktop_data} = %{desktop_data_ver}
-Provides:       glib2-branding-SLES = %{version}
-Obsoletes:      glib2-branding-SLES < %{version}
-Requires:       %{gio_real_package} = %{gio_version}
-Provides:       gio-branding = %{gio_version}
-Conflicts:      otherproviders(gio-branding)
-Supplements:    packageand(%{gio_real_package}:branding-SLES)
-%glib2_gsettings_schema_requires
-
-%description -n gio-branding-SLES
-This package provides SLES defaults for settings stored with
-GSettings and applications used by the MIME system.
-%endif
 
 %prep
 %setup -q -T -c %{name}-%{version}
@@ -125,33 +80,21 @@
 cp -a %{SOURCE2} glib2-branding.gschema.override.in
 
 %build
-test -f %{_datadir}/wallpapers/%{wallpaper_file}
-sed "s,@@WALLPAPER_URI@@,file:///usr/share/wallpapers/%{wallpaper_file}," 
glib2-branding.gschema.override.in > glib2-branding.gschema.override
+test -f %{_datadir}/wallpapers/openSUSE-default.xml
+sed "s,@@WALLPAPER_URI@@,file://%{_datadir}/wallpapers/openSUSE-default.xml," 
glib2-branding.gschema.override.in > glib2-branding.gschema.override
 #for sound theme
-%if %{build_for_openSUSE}
+%if %{build_openSUSE}
 sed "s:@@IF_openSUSE@@::g" < glib2-branding.gschema.override | grep -v ^@@IF_ 
> openSUSE-branding.gschema.override
 %endif
-%if %{build_for_SLE}
-sed "s:@@IF_SLE@@::g;s:@@IF_SLED@@::g" < glib2-branding.gschema.override | 
grep -v ^@@IF_ > SLED-branding.gschema.override
-sed "s:@@IF_SLE@@::g;s:@@IF_SLES@@::g" < glib2-branding.gschema.override | 
grep -v ^@@IF_ > SLES-branding.gschema.override
+%if %{build_SLE}
+sed "s:@@IF_SLE@@::g" < glib2-branding.gschema.override | grep -v ^@@IF_ > 
openSUSE-branding.gschema.override
 %endif
 
 %install
 install -d %{buildroot}%{_sysconfdir}
 install -m0644 gnome_defaults.conf %{buildroot}%{_sysconfdir}/
 install -d %{buildroot}%{_datadir}/glib-2.0/schemas
-%if %{build_for_openSUSE}
 install -m0644 openSUSE-branding.gschema.override 
%{buildroot}%{_datadir}/glib-2.0/schemas/
-%endif
-%if %{build_for_SLE}
-install -m0644 SLED-branding.gschema.override 
%{buildroot}%{_datadir}/glib-2.0/schemas/
-install -m0644 SLES-branding.gschema.override 
%{buildroot}%{_datadir}/glib-2.0/schemas/
-%endif
-
-%clean
-rm -rf %{buildroot}
-
-%if %{build_for_openSUSE}
 
 %post -n gio-branding-openSUSE
 %glib2_gsettings_schema_post
@@ -160,49 +103,11 @@
 %postun -n gio-branding-openSUSE
 %glib2_gsettings_schema_postun
 %mime_database_postun
-%endif
-
-%if %{build_for_SLE}
-
-%post -n gio-branding-SLED
-%glib2_gsettings_schema_post
-%mime_database_post
-
-%postun -n gio-branding-SLED
-%glib2_gsettings_schema_postun
-%mime_database_postun
-
-%post -n gio-branding-SLES
-%glib2_gsettings_schema_post
-%mime_database_post
-
-%postun -n gio-branding-SLES
-%glib2_gsettings_schema_postun
-%mime_database_postun
-%endif
-
-%if %{build_for_openSUSE}
 
 %files -n gio-branding-openSUSE
 %defattr (-, root, root)
 %doc COPYING
 %config (noreplace) %{_sysconfdir}/gnome_defaults.conf
 %{_datadir}/glib-2.0/schemas/openSUSE-branding.gschema.override
-%endif
-
-%if %{build_for_SLE}
-
-%files -n gio-branding-SLED
-%defattr (-, root, root)
-%doc COPYING
-%config (noreplace) %{_sysconfdir}/gnome_defaults.conf
-%{_datadir}/glib-2.0/schemas/SLED-branding.gschema.override
-
-%files -n gio-branding-SLES
-%defattr (-, root, root)
-%doc COPYING
-%config (noreplace) %{_sysconfdir}/gnome_defaults.conf
-%{_datadir}/glib-2.0/schemas/SLES-branding.gschema.override
-%endif
 
 %changelog

++++++ glib2-branding-COPYING ++++++
Copyright (c) 2008, Novell, Inc.
All rights reserved.

This package (other than those portions that are trademarks, logos, and trade
dress of Novell, Inc), is made available under the following terms:

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of the Novell nor the names of its contributors may be
used to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.
++++++ glib2-branding-gnome_defaults.conf ++++++
# GNOME Default Applications Source
# /etc/gnome-defaults.conf
#
# After any change of this file run
# suse-update-mime-defaults
#
# This list is a source for defaults.list.
#
# If application in this list is installed, it is used as default in GNOME.
# It works in following way:
# 1. Read this file.
# 2. Collect all available desktop files.
# 3. Go through all declared MIME types and search for default application
#    for defaults.list in following order:
# 3.1 Installed application listed here for certain MIME type.
# 3.2 Installed application listed here as preferred default.
# 3.3 Installed application listed here as default.
# 3.4 Installed application with GNOME in Categories.
# 3.5 Installed application with GTK in Categories.
# 3.6 Installed application.
# If there are more applications in the same order, it uses pseudo-randomly
# one of them (last in aplhabetical order).
#
# Syntax:
# Use xxx as default for all MIME types it declares (see 3.3):
# xxx.desktop
# Use xxx as preferred default for all MIME types it declares (see 3.2):
# !xxx.desktop
# Use xxx as default for mime/type (see 3.1):
# mime/type=xxx.desktop

# URI schemes
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
x-scheme-handler/ftp=firefox.desktop
x-scheme-handler/mailto=evolution.desktop
# All URI schemes declared by yelp
yelp.desktop

# Prefer banshee for multimedia where possible
!banshee-1.desktop

# Except prefer moonshine for WM
video/x-ms-asf-plugin=moonshine.desktop
video/x-msvideo=moonshine.desktop
video/x-ms-asf=moonshine.desktop
video/x-ms-wmv=moonshine.desktop
video/x-wmv=moonshine.desktop
video/x-ms-wvx=moonshine.desktop
video/x-ms-wm=moonshine.desktop
video/x-ms-wmp=moonshine.desktop
application/x-ms-wms=moonshine.desktop
application/x-ms-wmp=moonshine.desktop
application/asx=moonshine.desktop
audio/x-ms-wma=moonshine.desktop

# Prefer LinDVD for DVD and mpeg video playback, when available
video/mpeg=LinDVD.desktop
video/x-mpeg=LinDVD.desktop
video/dvd=LinDVD.desktop
x-content/video-dvd=LinDVD.desktop

# Prefer contracted commercial applications
!flashplayer.desktop
!acroread.desktop
realplay.desktop

# Prefer Install Software over file-roller
application/x-rpm=package-manager.desktop
!gpk-install-file.desktop

# Nice GNOME default applications
eog.desktop
evince.desktop
org.gnome.gedit.desktop
file-roller.desktop
# file-roller supports iso, but most people will prefer brasero:
application/x-cd-image=brasero.desktop
org.gnome.Nautilus.desktop
# evince supports multi-page tiff, but most people will prefer eog:
image/tiff=eog.desktop
# evince supports odp, but we really want OOo
application/vnd.sun.xml.impress=impress.desktop
application/vnd.oasis.opendocument.presentation=impress.desktop

# XFCE default applications
leafpad.desktop
ristretto.desktop

# LXDE default applications
beaver.desktop
gpicview.desktop

# Firefox
firefox.desktop

# OpenOffice
base.desktop
calc.desktop
draw.desktop
impress.desktop
math.desktop
web.desktop
writer.desktop
# Do not prefer writer for text/plain:
text/plain=org.gnome.gedit.desktop
++++++ glib2-branding.gschema.override.in ++++++
--- /var/tmp/diff_new_pack.e4AkFX/_old  2016-07-21 07:52:08.000000000 +0200
+++ /var/tmp/diff_new_pack.e4AkFX/_new  2016-07-21 07:52:08.000000000 +0200
@@ -49,6 +49,10 @@
 ## http://lists.opensuse.org/opensuse-factory/2012-06/msg01087.html
 tap-to-click = true
 
+[org.gnome.settings-daemon.plugins.housekeeping]
+## To avoid popup warnings on default UEFI installation (bsc#919217)
+ignore-paths = ['/boot/efi']
+
 [org.gnome.settings-daemon.plugins.power]
 ## Enable Energy Star compliant default configuration
 sleep-inactive-battery-type = "suspend"

++++++ glib2-branding.spec.in ++++++
#
# spec file for package glib2-branding.spec
#
# Copyright (c) 2016 SUSE LINUX 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/
#


%define         build_openSUSE 0
%define         build_SLE 0
%define gio_real_package %(rpm -q --qf '%%{name}' --whatprovides gio)
%define gio_version %(rpm -q --qf '%%{version}' %{gio_real_package})
Name:           glib2-branding-%{branding_name}
Release:        0
Summary:        General-Purpose Utility Library -- %{branding_name} default 
configuration
License:        BSD-3-Clause
Group:          System/GUI/GNOME
Url:            http://www.gtk.org/
Source:         glib2-branding-gnome_defaults.conf
Source1:        glib2-branding-COPYING
Source2:        glib2-branding.gschema.override.in
# We need glib2-branding-upstream else, the call to SuSEconfig.glib2 fails
BuildRequires:  glib2-branding-upstream
BuildRequires:  glib2-devel
BuildRequires:  wallpaper-branding-%{branding_name}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
%if %{build_openSUSE}
Version:        42.1
%else
Version:        12
%endif
%if (%{build_SLE} && 0%{?is_opensuse}) || (%{build_openSUSE} && ! 
0%{?is_opensuse})
# Don't build SLE branding on openSUSE and vice-versa
ExclusiveArch:  %{nil}
%endif

%description
This package provides %{branding_name} defaults for settings stored with
GSettings and applications used by the MIME system.

%package -n gio-branding-%{branding_name}
Summary:        %{branding_name} definitions of default settings and 
applications
Group:          System/GUI/GNOME
Requires:       %{gio_real_package} = %{gio_version}
# For wallpaper
Recommends:     wallpaper-branding-%{branding_name}
Supplements:    packageand(%{gio_real_package}:branding-%{branding_name})
Conflicts:      otherproviders(gio-branding)
Provides:       glib2-branding-%{branding_name} = %{version}
Obsoletes:      glib2-branding-%{branding_name} < %{version}
Provides:       gio-branding = %{gio_version}
%glib2_gsettings_schema_requires
%if %{build_SLE}
# Obsolete SLE11 packages to resolve file conflicts on sle11->sle12 upgrade
Obsoletes:      glib2-branding-SLED
Obsoletes:      glib2-branding-SLES
%endif

%description -n gio-branding-%{branding_name}
This package provides %{branding_name} defaults for settings stored with
GSettings and applications used by the MIME system.

%prep
%setup -q -T -c %{name}-%{version}
cp -a %{SOURCE0} gnome_defaults.conf
cp -a %{SOURCE1} COPYING
cp -a %{SOURCE2} glib2-branding.gschema.override.in

%build
test -f %{_datadir}/wallpapers/%{branding_name}-default.xml
sed 
"s,@@WALLPAPER_URI@@,file://%{_datadir}/wallpapers/%{branding_name}-default.xml,"
 glib2-branding.gschema.override.in > glib2-branding.gschema.override
#for sound theme
%if %{build_openSUSE}
sed "s:@@IF_openSUSE@@::g" < glib2-branding.gschema.override | grep -v ^@@IF_ > 
%{branding_name}-branding.gschema.override
%endif
%if %{build_SLE}
sed "s:@@IF_SLE@@::g" < glib2-branding.gschema.override | grep -v ^@@IF_ > 
%{branding_name}-branding.gschema.override
%endif

%install
install -d %{buildroot}%{_sysconfdir}
install -m0644 gnome_defaults.conf %{buildroot}%{_sysconfdir}/
install -d %{buildroot}%{_datadir}/glib-2.0/schemas
install -m0644 %{branding_name}-branding.gschema.override 
%{buildroot}%{_datadir}/glib-2.0/schemas/

%post -n gio-branding-%{branding_name}
%glib2_gsettings_schema_post
%mime_database_post

%postun -n gio-branding-%{branding_name}
%glib2_gsettings_schema_postun
%mime_database_postun

%files -n gio-branding-%{branding_name}
%defattr (-, root, root)
%doc COPYING
%config (noreplace) %{_sysconfdir}/gnome_defaults.conf
%{_datadir}/glib-2.0/schemas/%{branding_name}-branding.gschema.override

%changelog
++++++ pre_checkin.sh ++++++
#!/bin/sh

NAME=glib2

if ! test -f ${NAME}-branding.spec.in ; then
    exit
fi

for variant in openSUSE SLE ; do
    cp ${NAME}-branding.spec.in ${NAME}-branding-${variant}.spec
    sed -i "s/%{branding_name}/${variant}/g" ${NAME}-branding-${variant}.spec
    sed -i "s/\(%define *build_${variant} *\)0/\11/" 
${NAME}-branding-${variant}.spec
    sed -i "
    /^Name: *${NAME}-branding-${variant}/i \
# Do not edit this auto generated file! Edit ${NAME}-branding.spec.in.
" ${NAME}-branding-${variant}.spec
done
cp ${NAME}-branding-openSUSE.changes ${NAME}-branding-SLE.changes

Reply via email to