File compizconfig-settings-manager.spec of Package compizconfig-settings-manager

# spec file for package compizconfig-settings-manager (Version 0.8.4)
# Copyright (c) 2010 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:           compizconfig-settings-manager
Version:        0.8.4
Release:        4.1
License:        GPL-2.0+
Summary:        Settings Manager for Compiz (CCSM)
Group:          System/X11/Utilities
Source:         ccsm-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM compizconfig-settings-manager-profile-extensions.patch bgo#458343
Patch1:         compizconfig-settings-manager-profile-extensions.patch
# PATCH-FIX-OPENSUSE Don't warn about missing sexy-python
Patch2:         unsexy.patch
BuildRequires:  compiz-devel
BuildRequires:  compiz-gnome
BuildRequires:  gconf2-devel
BuildRequires:  glib2-devel
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:       python-ccm < 0.9
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

Compiz Config and Settings tool (CCSM).

%package -n python-ccm
License:        GPL-2.0+
Summary:        CompizConfig Manager Backend
Group:          System/X11/Utilities
Requires:       compiz < 0.9
Requires:       python-compizconfig < 0.9
Requires:       python-xml

%description -n python-ccm
The backend to Compiz Config Manager.

%setup -q -n ccsm-%{version}
%patch1 -p0
%patch2 -p0

./ --prefix=%{_prefix}

./ install --root=%{buildroot} --prefix=/usr
find %{buildroot} \( -name \*.a -o -name \*.la \) -print0 | xargs -0 rm -f
%__ln_s %{_bindir}/ccsm %{buildroot}%{_bindir}/compizconfig-settings-manager
%suse_update_desktop_file ccsm DesktopSettings
%find_lang ccsm

%__rm -rf %{buildroot}

%files -f ccsm.lang
%defattr(-, root, root)

%files -n python-ccm
%defattr(-, root, root)
%dir %{python_sitelib}/ccm

openSUSE Build Service is sponsored by