File python-compizconfig.spec of Package python-compizconfig

#
# spec file for package python-compizconfig
#
# 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 http://bugs.opensuse.org/
#



Name:           python-compizconfig
Version:        0.9.5.94
Release:        1
License:        GPLv2+
Summary:        Python bindings for libraries/plugins for compizconfig-settings
Url:            http://opencompositing.org
Group:          System/X11/Utilities
Source:         compizconfig-python.tar.bz2
# Helper script to update to latest git.
Source99:       update.sh
BuildRequires:  python-devel
BuildRequires:  python-cython
BuildRequires:  pkg-config
BuildRequires:  libcompizconfig-devel
PreReq:         %fillup_prereq
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExclusiveArch:  %ix86 x86_64 ppc ppc64 ia64
%py_requires

%description
Python bindings for libraries/plugins for compizconfig-settings

%prep
%setup -q -n compizconfig-python

%build
python ./setup.py build

%install
python ./setup.py install --root=%{buildroot} --prefix=%{_prefix}

%clean
%__rm -rf %{buildroot}

%files
%defattr(-, root, root)
%{python_sitearch}/compizconfig.so
%{python_sitearch}/compizconfig_python-%{version}-py%{python_version}.egg-info

%changelog
openSUSE Build Service is sponsored by