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