%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %global basever 0.9.5.92 %global git_snapshot b02413d104573641f293d535537821316ecb8f36 Name: compizconfig-python Version: 0.9.5.94 Release: 0.1.git%{git_snapshot}%{?dist} Summary: Python bindings for the Compiz Configuration System Group: Development/Libraries License: LGPLv2+ URL: http://www.compiz.org #Source0: http://releases.compiz-fusion.org/%{version}/%{name}-%{version}.tar.bz2 # git snapshot # http://gitweb.compiz.org/?p=compiz/compizconfig/compizconfig-python;a=snapshot;h=%{git_snapshot};sf=tgz Source0: %{name}-%{git_snapshot}.tar.gz # libdrm is not available on these arches ExcludeArch: s390 s390x ppc64 BuildRequires: libcompizconfig-devel >= %{basever}, Cython, Pyrex, glib2-devel %description The Compiz Project brings 3D desktop visual effects that improve usability of the X Window System and provide increased productivity though plugins and themes contributed by the community giving a rich desktop experience. This package contains bindings to configure Compiz's plugins and the composite window manager. %prep %setup -q -n %{name} %build CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name "*.a" -o -name "*.la" | xargs rm -f %files %doc COPYING %{python_sitearch}/compizconfig.so %{python_sitearch}/compizconfig*.egg-info %changelog * Wed Nov 30 2011 Leigh Scott - 0.9.5.94-0.1.gitb02413d104573641f293d535537821316ecb8f36 - update to git snapshot - update spec file to meet current guidelines * Tue Oct 18 2011 Leigh Scott - 0.9.5.92-1 - new release 0.9.5.92 * Fri Jul 15 2011 Leigh Scott - 0.9.5.0-1 - new release 0.9.5.0 * Tue Mar 15 2011 Adam Williamson - 0.9.4-1 - new release 0.9.4 * Tue Feb 08 2011 Fedora Release Engineering - 0.9.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sat Jan 15 2011 Adam Williamson - 0.9.2.1-1 - new release 0.9.2.1 - switch to setup.py buildsystem - fix a wrong method which breaks build (cinit.patch) * Wed Jul 21 2010 David Malcolm - 0.8.4-2 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Sat Jan 16 2010 Leigh Scott - 0.8.4-1 - Update to 0.8.4 * Fri Jul 24 2009 Fedora Release Engineering - 0.8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Jul 23 2009 Leigh Scott 0.8.2-1 - update to 0.8.2 - update the defines python_sitelib & python_sitearch * Tue Feb 24 2009 Fedora Release Engineering - 0.7.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Dec 04 2008 Ignacio Vazquez-Abrams - 0.7.8-2 - Rebuild for Python 2.6 * Mon Dec 1 2008 Mohd Izhar Firdaus Ismail 0.7.8-1 - update to 0.7.8 * Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.7.6-2 - Rebuild for Python 2.6 * Sat Jun 07 2008 Mohd Izhar Firdaus Ismail 0.7.6-1 - 0.7.6 update * Tue Mar 28 2008 Mohd Izhar Firdaus Ismail 0.7.2-1 - 0.7.2 update * Sat Nov 25 2007 Mohd Izhar Firdaus Ismail 0.6.0.1-2 - 0.6.0.1 release * Sat Oct 21 2007 Mohd Izhar Firdaus Ismail 0.6.0-1 - official 0.6.0 tarball release * Fri Aug 19 2007 Mohd Izhar Firdaus Ismail 0.6.0-0.3.20071018git - removed devel package * Thu Aug 18 2007 Mohd Izhar Firdaus Ismail 0.6.0-0.2.20071018git0e80b1 - 0.6.0 prerelease * Sun Jun 30 2007 Mohd Izhar Firdaus Ismail 0.0.1-0.3.20070630git - 20070630git * Sun Jun 24 2007 Mohd Izhar Firdaus Ismail 0.0.1-20070622git - Initial specfile, borrowing descriptions from Trevino ubuntu debs