# # spec file for package python-compizconfig # # Copyright (c) 2015 SUSE LINUX 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/ # %define _name compizconfig-python Name: python-compizconfig Version: 0.8.9 Release: 0 Summary: Python bindings for libraries for compizconfig-settings License: GPL-2.0+ Group: Development/Languages/Python Url: https://github.com/raveit65/compizconfig-python Source: https://github.com/raveit65/%{_name}/releases/download/v%{version}/%{_name}-%{version}.tar.xz BuildRequires: mate-common BuildRequires: pkg-config BuildRequires: pyrex BuildRequires: python-devel BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(libcompizconfig) < 0.9 Requires: compiz < 0.9 Requires: python-gtk Obsoletes: ccs-python < %{version} Provides: ccs-python = %{version} %description Python bindings for libraries/plugins for compizconfig-settings. %prep %setup -q -n %{_name}-%{version} %build export CFLAGS="%{optflags} -fno-strict-aliasing" NOCONFIGURE=1 mate-autogen %configure \ --disable-static make %{?_smp_mflags} %install %make_install find %{buildroot} -type f -name "*.la" -delete -print rm -rf %{buildroot}%{_libdir}/pkgconfig/ %files %defattr(-, root, root) %{python_sitearch}/compizconfig* %changelog