File simple-ccsm.spec of Package simple-ccsm

# spec file for package simple-ccsm
# Copyright (c) 2011 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:           simple-ccsm
Release:        6.<RELEASE3>
License:        GPLv2+
Summary:        Simple Settings Manager for Compiz
Group:          System/X11/Utilities
Source:         simple-ccsm.tar.bz2
# Helper script to track upstream git changes.
# PATCH-FIX-UPSTREAM simple-ccsm-disable-compiz.patch -- Write a disable-compiz file when disabling compiz.
Patch0:         simple-ccsm-disable-compiz.patch
BuildRequires:  compiz-devel
BuildRequires:  compiz-gnome
BuildRequires:  gtk2-devel
BuildRequires:  intltool
BuildRequires:  libcompizconfig-devel
BuildRequires:  libxml2-devel
BuildRequires:  libxslt-devel
BuildRequires:  pkg-config
BuildRequires:  pyrex
BuildRequires:  python-compizconfig
BuildRequires:  python-devel
BuildRequires:  update-desktop-files
PreReq:         %fillup_prereq
Requires:       compiz
Requires:       compiz-plugins-main
Requires:       compiz-manager
Requires:       python-ccm 
Requires:       python-xml
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExclusiveArch:  %ix86 x86_64 ppc ppc64 ia64
%if %suse_version <= 1110
%define python_sitelib %{py_sitedir}
%define python_sitearch %{py_sitedir}

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

%setup -q -n simple-ccsm
%patch0 -p1

./ --prefix=%{_prefix} --enableDesktopEffects

./ install --root=%{buildroot} --prefix=%{_prefix} --enableDesktopEffects
find %{buildroot} \( -name \*.a -o -name \*.la \) -print0 | xargs -0 rm -f
%suse_update_desktop_file -N "Desktop Effects" simple-ccsm DesktopSettings X-SuSE-ControlCenter-LookAndFeel
%find_lang simple-ccsm

%__rm -rf %{buildroot}

%files -f simple-ccsm.lang
%defattr(-, root, root)
%if 0%{?suse_version} < 1140
%dir %{_datadir}/locale/ml_IN
%dir %{_datadir}/locale/ml_IN/LC_MESSAGES

openSUSE Build Service is sponsored by