File yast2-control-center-gnome.spec of Package yast2-control-center-gnome

# spec file for package yast2-control-center-gnome (Version 2.13.4)
# Copyright (c) 2009 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

Name:           yast2-control-center-gnome
Version:        2.13.4
Release:        1
License:        GPL v2 or later
Summary:        YaST2 - Control Center (GNOME version)
Group:          System/YaST
Source:         %{name}-%{version}.tar.bz2
BuildRequires:  gcc-c++
BuildRequires:  libslab-devel
BuildRequires:  libunique-devel
BuildRequires:  pkgconfig
BuildRequires:  update-desktop-files
BuildRequires:  yast2-devtools
Requires:       yast2-control-center
Supplements:    gnome-main-menu
Provides:       yast2-control-center-binary
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

A nicely GNOME integrated YaST control center, with several new ease of
use features.

%setup -q

make %{?jobs:-j%jobs}

for i in %{buildroot}%{_datadir}/desktop-directories/*.directory; do
   %suse_update_desktop_file "$i"
mkdir %{buildroot}%{_sysconfdir}/xdg/menus/YaST-gnome-merged

rm -rf %{buildroot}

%pre -f %{name}.schemas_pre

%posttrans -f %{name}.schemas_posttrans

%preun -f %{name}.schemas_preun

%files -f %{name}.schemas_list
%defattr (-, root, root)
%doc %{_datadir}/doc/packages/yast2-control-center-gnome

openSUSE Build Service is sponsored by