LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File yast2-control-center-gnome.spec of Package yast2-control-center-gnome (Project YaST:Head)

#
# spec file for package yast2-control-center-gnome
#
# Copyright (c) 2012 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.21.3
Release:        0
Summary:        YaST2 - Control Center (GNOME version)
License:        GPL-2.0+
Group:          System/YaST
Url:            http://en.opensuse.org/YaST2-GTK
Source:         %{name}-%{version}.tar.bz2
BuildRequires:  gcc-c++
BuildRequires:  pkgconfig
BuildRequires:  update-desktop-files
BuildRequires:  yast2-devtools
BuildRequires:  pkgconfig(gio-unix-2.0)
BuildRequires:  pkgconfig(glib-2.0) >= 2.31.0
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(libgnome-menu-3.0)
Requires:       yast2-control-center
Supplements:    gnome-main-menu
Provides:       yast2-control-center-binary
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%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
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}

%files
%defattr (-, root, root)
%doc ChangeLog COPYING README
%{_sysconfdir}/xdg/menus/*.menu
%{_sysconfdir}/xdg/menus/YaST-gnome-merged
%{_libexecdir}/YaST2/bin/y2controlcenter-gnome
%{_datadir}/desktop-directories/yast-gnome*.directory
%{_datadir}/yast2-control-center-gnome/

%changelog