File simple-ccsm.spec of Package simple-ccsm
#
# spec file for package simple-ccsm
#
# 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: simple-ccsm
Version: 0.8.8
Release: 1
License: GPL-2.0+
Summary: Simple Settings Manager for Compiz
Url: http://opencompositing.org
Group: System/X11/Utilities
Source: simple-ccsm-%{version}.tar.bz2
# PATCH-MISSING-TAG -- See http://en.opensuse.org/Packaging/Patches
Patch: simple-ccsm-default-plugins_herbster0815.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
%py_requires
%if %suse_version <= 1110
%define python_sitelib %{py_sitedir}
%define python_sitearch %{py_sitedir}
%endif
%description
Compiz settings manager focused on simplicity and aimed at end users.
%prep
%setup -q -n simple-ccsm-%{version}
%patch -p1
%build
./setup.py --prefix=%{_prefix} --enableDesktopEffects
%install
./setup.py 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
%clean
%__rm -rf %{buildroot}
%files -f simple-ccsm.lang
%defattr(-, root, root)
%{_bindir}/*
%{_datadir}/applications/*
%{_datadir}/simple-ccsm/
%{_datadir}/icons/*
%{python_sitelib}/
#%dir %{_datadir}/locale/ml_IN
#%dir %{_datadir}/locale/ml_IN/LC_MESSAGES
%changelog