File simple-ccsm.spec of Package simple-ccsm

#
# spec file for package simple-ccsm (Version 0.7.8 )
#
# 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/
#



Name:           simple-ccsm
BuildRequires:  compiz-devel compiz-gnome gtk2-devel intltool libcompizconfig-devel libxml2-devel libxslt-devel pkg-config pyrex python-compizconfig python-devel update-desktop-files
Url:            http://opencompositing.org
License:        GPL v2 or later
Group:          System/X11/Utilities
PreReq:         %fillup_prereq
Version:        0.7.8 
Release:        11
Requires:       compiz python-compizconfig python-xml compiz-manager compiz-fusion-plugins-main compizconfig-settings-manager
Summary:        Simple Settings Manager for Compiz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExclusiveArch:  %ix86 x86_64 ppc ppc64 ia64
Source:         simple-ccsm-%{version}.tar.bz2
Patch:          simple-ccsm-compiz-manager-cmd.diff
Patch1:         simple-ccsm-kde-enable.patch
# PATCH-FEATURE-OPENSUSE simple-ccsm-default-plugins.patch bnc #432301 -- include glx
Patch2:         simple-ccsm-default-plugins.patch
# PATCH-FIX-OPENSUSE simple-ccsm.desktop patch -- for better menu integration
Patch3:         simple-ccsm-desktop.patch
# PATCH-FIX-OPENSUSE simple-ccsm-explicitly-disable-compiz.patch
Patch4:         simple-ccsm-explicitly-disable-compiz.patch
# PATCH-FIX-UPSTREAM simple-ccsm-cm-dry.patch bnc#407729 rodrigo@novell.com -- Use os.system to run CM_DRY command
Patch5:         simple-ccsm-cm-dry.patch
%py_requires

%description
Compiz settings manager focused on simplicity and aimed at end users.



Authors:
--------
    Patrick Niklaus (marex@opencompositing.org)

%prep
%setup -q -n simple-ccsm-%{version}
%patch -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p0

%build
./setup.py install --root=%buildroot --prefix=/usr --enableDesktopEffects

%install
find %buildroot \( -name \*.a -o -name \*.la \) -print0 | xargs -0 rm -f
%suse_update_desktop_file simple-ccsm DesktopSettings X-SuSE-ControlCenter-LookAndFeel
%find_lang simple-ccsm

%clean
%__rm -rf %{buildroot}

%files -f simple-ccsm.lang
%defattr(-, root, root)
%{_bindir}/*
%{_datadir}/applications/*
%dir %{_datadir}/simple-ccsm
%{_datadir}/simple-ccsm/*
%{_datadir}/icons/*
%dir %{py_sitedir}
%{py_sitedir}/*

%changelog
* Fri Nov 28 2008 rodrigo@novell.com
- Use GtkMessageDialog's for the question/warning dialogs, to get
  nice icons
- Fix some issues with the timeout dialog callbacks
* Thu Nov 27 2008 rodrigo@novell.com
- Improve rollback mechanism with a timeout'ed dialog, which
  restores previous settings if something goes wrong
* Fri Nov 21 2008 rodrigo@novell.com
- If running compiz fails, disable desktop effects (bnc#407729)
* Fri Nov 14 2008 rodrigo@novell.com
- Review and merge changes from X11:Compiz
* Fri Nov 14 2008 cyberorg@opensuse.org
- fixed simple-ccsm-explicitly-disable-compiz.patch
  from Brandon Philips <bphilips@novell.com> (bnc#442138)
* Fri Nov 07 2008 rodrigo@novell.com
- Add simple-ccsm-cm-dry.patch to use os.system for the 'CM_DRY=yes
  compiz-manager' command (bnc@407729) and deal correctly with
  exceptions when executing kwriteconfig (bnc#441823)
* Tue Nov 04 2008 rodrigo@novell.com
- Review and merge changes from X11:Compiz
* Tue Nov 04 2008 cyberorg@opensuse.org
- Add NotShowIn=KDE; bnc #432330
* Mon Oct 27 2008 rodrigo@novell.com
- Removed explicit library Requires:
- Add simple-ccsm-explicitly-disable-compiz.patch to create a
  disable-compiz file in ~/.config/compiz to make sure compiz is
  not started in gnome-session (bnc#436873)
* Mon Oct 13 2008 rodrigo@novell.com
- Review and merge changes from X11:Compiz
* Sat Oct 11 2008 cyberorg@opensuse.org
- simple-ccsm.desktop patch for better menu integration
* Tue Oct 07 2008 rodrigo@novell.com
- Review and merge changes from X11:Compiz
* Mon Oct 06 2008 cyberorg@opensuse.org
- Add wm plugin to all profiles
- remove crashy imjpeg plugin from profiles bnc #432313 workaround
* Mon Oct 06 2008 rodrigo@novell.com
- Review and merge changes from X11:Compiz
* Fri Oct 03 2008 cyberorg@opensuse.org
- include glx plugin in other profiles bnc #432301
* Mon Sep 29 2008 rodrigo@novell.com
- Review and merge changes from X11:Compiz
* Thu Sep 25 2008 cyberorg@opensuse.org
- Fix enabling compiz on kde, simeple-ccsm-kde-enable.patch
* Sun Sep 21 2008 cyberorg@opensuse.org
- Fix profile handling when desktop effects are not enabled
* Tue Sep 16 2008 cyberorg@opensuse.org
- Release 0.7.8
- simple-ccsm-compiz-manager-cmd.diff add --replace
* Sun Sep 14 2008 cyberorg@opensuse.org
- l10n updates
- Reduce startup time
- Add support for the extensible animation plugin
* Tue Jul 01 2008 mhopf@suse.de
- Updated from buildservice.
* Fri May 30 2008 cyberorg@opensuse.org
- Removed hard-dependency on some plugins (e.g. animation),
  simple-ccsm will now be able to start without them
- New profiles: Minimal, Medium, Advanced and Ultimate
- Show which accessibility features (zoom, colorfilter) are enabled
- Cube effects (deformation, transparency, reflection) are now configurable
- Window focus animation is now configurable
* Tue May 20 2008 cyberorg@opensuse.org
- Fix typo in switch patch
- add --replace to compiz command
- enable compiz in kde kcontrol too
* Tue May 20 2008 rodrigo@suse.de
- Updated simple-ccsm-enable-desktop-effects.patch to use --replace
  when starting compiz now that it's removed in compiz-manager
* Mon May 12 2008 rodrigo@suse.de
- Updated simple-ccsm-enable-desktop-effects.patch to use Python
  API instead of spawning shell commands
* Fri May 09 2008 rodrigo@suse.de
- Changed True to true for .desktop field values
* Wed May 07 2008 rodrigo@suse.de
- Update simple-ccsm-enable-desktop-effects.patch to add startup
  notification and add a test run before really activating compiz,
  warning the user if hardware is not supported (bnc#386836)
* Mon May 05 2008 rodrigo@suse.de
- Add simple-ccsm-backports.patch that fixes many GUI glitches
  (bnc#383345)
- Updated simple-ccsm-enable-desktop-effects.patch to create/remove
  a ~/.config/compiz/enable-compiz file so that gnome-wm knows what
  WM is the preferred one (bnc#381675)
* Mon Apr 28 2008 rodrigo@suse.de
- Added missing dependency on compiz-fusion-plugins-main and
  compizconfig-settings-manager (bnc#382509)
* Tue Apr 15 2008 rodrigo@suse.de
- Update simple-ccsm-enable-desktop-effects.patch to make simple-ccsm
  now be the 'Desktop Effects' icon in control-center
- Added compiz-manager to Requires:
* Fri Apr 11 2008 rodrigo@suse.de
- Update to version 0.7.4:
  * Added expo plugin to effects page
  * Added widget to configure global edge settings
  * Added ‘mag’ plugin as ‘area zoom’ to zoom page
- Added simple-ccsm-enable-desktop-effects.patch to allow activation
  of compiz and its configuration all from the same place
* Fri Mar 07 2008 cyberorg@opensuse.org
- 0.7.2 development release
openSUSE Build Service is sponsored by