File python-compizconfig.spec of Package python-compizconfig
#
# spec file for package python-compizconfig
#
# 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: python-compizconfig
Version: 0.8.4
Release: 1
License: GPL-2.0+
Summary: Python bindings for libraries/plugins for compizconfig-settings
Url: http://opencompositing.org
Group: System/X11/Utilities
Source: compizconfig-python-%{version}.tar.bz2
Patch0: newtocinit.diff
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: compiz-devel
BuildRequires: compiz-gnome
BuildRequires: glib2-devel
BuildRequires: intltool
BuildRequires: libcompizconfig-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: pkg-config
BuildRequires: pyrex
BuildRequires: python-devel
BuildRequires: python-gnome
PreReq: %fillup_prereq
Requires: compiz < 0.9
Requires: libcompizconfig < 0.9
Requires: python-gtk
Obsoletes: ccs-python < %{version}
Provides: ccs-python = %{version}
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-%{version}
%patch0 -p1
%build
#
####python-compizconfig
#
./autogen.sh
%configure --prefix=/usr --libdir=%{_libdir} --disable-static --with-pic
make %{?jobs:-j%jobs} CFLAGS="%{optflags} -fno-strict-aliasing"
%install
%makeinstall
%{__rm} %{buildroot}%{py_sitedir}/*.la
%{__rm} %{buildroot}%{_libdir}/pkgconfig/*
%clean
%__rm -rf %{buildroot}
%files
%defattr(-, root, root)
%{py_sitedir}/compizconfig*
%changelog