File glib2-branding-openSUSE.spec of Package glib2-branding-openSUSE
#
# spec file for package glib2-branding-openSUSE (Version 2.16)
#
# Copyright (c) 2008 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/
#
# norootforbuild
Name: glib2-branding-openSUSE
Version: 2.16
Release: 44
Group: System/GUI/GNOME
License: BSD 3-Clause
Summary: Definition of GNOME Default Applications
Source: %{name}-gnome_defaults.conf
Source1: %{name}-COPYING
Provides: glib2-branding = %{version}
Conflicts: otherproviders(glib2-branding)
Supplements: packageand(branding-openSUSE:glib2)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
This branding-style package sets default applications in GNOME in
openSUSE.
%package -n glib2-branding-SLED
License: BSD 3-Clause
Group: System/GUI/GNOME
Summary: Definition of GNOME Default Applications
Provides: glib2-branding = %{version}
Conflicts: otherproviders(glib2-branding)
Supplements: packageand(branding-SLED:glib2)
%description -n glib2-branding-SLED
This branding-style package sets default applications in GNOME in
openSUSE.
%package -n glib2-branding-SLES
License: BSD 3-Clause
Group: System/GUI/GNOME
Summary: Definition of GNOME Default Applications
Provides: glib2-branding = %{version}
Conflicts: otherproviders(glib2-branding)
Supplements: packageand(branding-SLES:glib2)
%description -n glib2-branding-SLES
This branding-style package sets default applications in GNOME in
openSUSE.
%prep
%setup -q -T -c %{name}-%{version}
cp -a %{S:0} gnome_defaults.conf
cp -a %{S:1} COPYING
%build
%install
install -d $RPM_BUILD_ROOT%{_sysconfdir}
install -m0644 gnome_defaults.conf $RPM_BUILD_ROOT%{_sysconfdir}/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr (-, root, root)
%doc COPYING
%config (noreplace) %{_sysconfdir}/gnome_defaults.conf
# Clone exactly the same defaults for SLED and SLES:
%files -n glib2-branding-SLED
%defattr (-, root, root)
%doc COPYING
%config (noreplace) %{_sysconfdir}/gnome_defaults.conf
%files -n glib2-branding-SLES
%defattr (-, root, root)
%doc COPYING
%config (noreplace) %{_sysconfdir}/gnome_defaults.conf
%changelog
* Wed Nov 12 2008 vuntz@novell.com
- Force impress.desktop for application/vnd.sun.xml.impress and
application/vnd.oasis.opendocument.presentation since evince can
also read them. Should fix bnc#439586.
* Tue Nov 04 2008 sbrabec@suse.cz
- Create SLES and SLED clones of the package (bnc#438887).
* Mon Oct 06 2008 sbrabec@suse.cz
- Conflict with other branding providers (FATE#304881).
* Fri Jul 25 2008 sbrabec@suse.cz
- nautilus-folder-handler added to gnome-defaults.conf (bnc#410728)
* Fri Jul 18 2008 jpr@novell.com
- Use banshee-1.desktop instead of banshee.desktop (bnc#406741)
* Mon May 05 2008 sbrabec@suse.cz
- Prefer eog over evince for image/tiff (bnc#346517).
* Wed Apr 30 2008 sbrabec@suse.cz
- Prefer gedit over writer for text/plain (bnc#382168).
* Mon Apr 14 2008 sbrabec@suse.cz
- Use packageand form of branding supplement and removed self
conflict.
* Wed Apr 09 2008 sbrabec@suse.cz
- Split gnome_defaults.conf to a separate branding-style package,
so branding vendors can easily change default applications.
- Prefer both software installers over file-roller in
gnome_defaults.conf (bnc#377979, fate#302267).