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

#
# spec file for package yast2-control-center-gnome (Version 2.13.3)
#
# 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:           yast2-control-center-gnome
BuildRequires:  gnome-main-menu-devel libgnome-devel libgnomeui-devel pkgconfig qt3-devel update-desktop-files yast2-devtools
License:        GPL v2 or later
Group:          System/YaST
AutoReqProv:    on
Version:        2.13.3
Release:        75
Summary:        YaST2 - Control Center (GNOME version)
Source:         %{name}-%{version}.tar.bz2
Prefix:         /usr
Url:            http://en.opensuse.org/YaST2-GTK
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       gnome-main-menu libgnomesu
Requires:       yast2-control-center
Supplements:    gnome-main-menu
Provides:       yast2-control-center-binary
%gconf_schemas_prereq

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



Authors:
--------
    Scott Reeves <sreeves@novell.com>
    Jimmy Krehl <jimmyk@novell.com>
    Michael Meeks <michael.meeks@novell.com>

%prep
%setup -q

%build
autoreconf -f -i
%configure
make %{?jobs:-j%jobs}

%install
make install DESTDIR=$RPM_BUILD_ROOT
touch %{name}.lang # %find_lang %{name}
%find_gconf_schemas
cat %{name}.lang %{name}.schemas_list >%{name}.lst
for i in $RPM_BUILD_ROOT/usr/share/desktop-directories/*.directory 
do
   %suse_update_desktop_file "$i"
done
mkdir $RPM_BUILD_ROOT/%{_sysconfdir}/xdg/menus/YaST-gnome-merged

%clean
rm -rf $RPM_BUILD_ROOT

%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans

%preun -f %{name}.schemas_preun

%files -f %{name}.lst
%defattr (-, root, root)
%{_sysconfdir}/xdg/menus/*.menu
%{_sysconfdir}/xdg/menus/YaST-gnome-merged
%{prefix}/lib/YaST2/bin/y2controlcenter-gnome
%{_datadir}/desktop-directories/yast-gnome*.directory
%doc %{_datadir}/doc/packages/yast2-control-center-gnome

%changelog
* Wed Sep 24 2008 mauro@suse.de
- Fix Requires, now asks for libgnomesu
  * Fixes bnc#388586
* Mon May 12 2008 mmichael@suse.de
- Update to version 2.13.3:
  * Fix random -S parameter from yast2 shell script wrapper
  (bnc#389069)
* Thu Mar 20 2008 vuntz@suse.de
- Require yast2-control-center. Without this, we don't have
  YaST.desktop and so the control center doesn't appear in menus.
  Fix bnc372569.
- Recompress the source to bz2.
* Wed Sep 26 2007 sreeves@suse.de
- Fix for 328615 - untranslated.
* Sat Aug 25 2007 sreeves@suse.de
- Fix for 247684 - remove empty icon hierarchy
  Fix for 8097 - use new yast window icon
  Fix for 297243 - change app armor icon name
* Wed May 23 2007 sreeves@suse.de
- Remove existing X-SuSE-translate from .directory files so
  suse_update_desktop_file wont error out
* Wed Apr 18 2007 sreeves@suse.de
- Fix for 245970 - install into y2bindir.
* Tue Mar 20 2007 sreeves@suse.de
- Fix for 254718 - additional menu entries
  Fix for 252799 - merge in additional menu files
* Wed Mar 14 2007 sreeves@suse.de
- Roll in all changes from SP1 branch:
  Fri Mar  9 20:44:02 CET 2007 - sreeves@suse.de
        - Fix for 250415 - allow different theming for the cc shell
  Fix for 249717 - change title to "YaST2 Control Center" - use the same string
  already in yast2-control-center package so we can use existing translations.
  Tue Mar  6 15:49:05 CET 2007 - cthiel@suse.de
        - Supplements: gnome-main-menu instead of gnome-desktop
  Mon Mar  5 15:59:17 CET 2007 - cthiel@suse.de
        - fix for #240240
  * Supplements: gnome-desktop
  * Provides: yast2-control-center-binary
  Thu Mar  1 00:04:48 CET 2007 - sreeves@suse.de
        - Call suse_update_desktop_file for all .directory files
  [#247812] will be fixed in yast2.rpm so remove desktop file
  Thu Feb 22 23:14:26 CET 2007 - sreeves@suse.de
        - Fix for no desktop file - #247812
  Includes changes by mmeeks to build project the "standard yast way"
  Thu Feb  1 23:44:45 CET 2007 - sreeves@suse.de
        - Fix for BNC #236464 - duplicated items.
  Fix for gnome.org #395133 - tasks launched twice.
  Fix for BNC #240242 - no common tasks.
  Remove .desktop file now that yast2 launches us
* Wed Jan 17 2007 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Tue Oct 24 2006 sreeves@suse.de
- Fix to build with new gnome-main-menu
* Mon Oct 09 2006 mmichael@suse.de
- import 1st cut.
openSUSE Build Service is sponsored by