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 http://bugs.opensuse.org/
#



Name:           yast2-control-center-gnome
Version:        2.13.4
Release:        1
License:        GPL v2 or later
Summary:        YaST2 - Control Center (GNOME version)
Url:            http://en.opensuse.org/YaST2-GTK
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
%gconf_schemas_prereq

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

%prep
%setup -q

%build
%configure
make %{?jobs:-j%jobs}

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

%clean
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)
%{_sysconfdir}/xdg/menus/*.menu
%{_sysconfdir}/xdg/menus/YaST-gnome-merged
%{_libexecdir}/YaST2/bin/y2controlcenter-gnome
%{_datadir}/desktop-directories/yast-gnome*.directory
%doc %{_datadir}/doc/packages/yast2-control-center-gnome

%changelog
openSUSE Build Service is sponsored by