File gnome-panel-branding-openSUSE.spec of Package gnome-panel-branding-openSUSE
#
# spec file for package gnome-panel-branding-openSUSE
#
# Copyright (c) 2011 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: gnome-panel-branding-openSUSE
Version: 12.1
Release: 1
Summary: The GNOME Desktop Panel -- openSUSE default layout
Group: System/GUI/GNOME
License: GPLv2+
Url: http://www.gnome.org
# To be in sync with upstream defaults, do branding as a patch for upstream file.
# WARNING: As this package conflicts with gnome-panel-branding-openSUSE, you cannot
# reuse build root. You have to build in a clean build root every time!
BuildRequires: gnome-panel-branding-upstream
# For directory ownership:
BuildRequires: gnome-panel
%define gnome_panel_version %(rpm -q --qf '%%{version}' gnome-panel)
Requires: gnome-panel = %{gnome_panel_version}
Provides: gnome-panel-branding = %{gnome_panel_version}
Conflicts: otherproviders(gnome-panel-branding)
Supplements: packageand(gnome-panel:branding-openSUSE)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
This package contains the GNOME Desktop Panel. The panel is an
easy-to-use and functional interface to manage your desktop, start
programs, and organize access to your data.
This package contains the openSUSE default layout for GNOME Panel.
%prep
cp -a %{_datadir}/gnome-panel/panel-default-layout.layout .
%build
%install
install -d %{buildroot}%{_datadir}/gnome-panel
install -m0644 panel-default-layout.layout %{buildroot}%{_datadir}/gnome-panel/panel-default-layout.layout
%clean
rm -rf %{buildroot}
%files
%defattr (-, root, root)
%{_datadir}/gnome-panel/panel-default-layout.layout
%changelog