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)")}
Leigh Scott edc6dae
%define         basever 0.8.4
8be7013
8be7013
Name:           compizconfig-python
Leigh Scott edc6dae
Version:        0.8.4
595350f
Release:        2%{?dist}
8be7013
Summary:        Python bindings for the Compiz Configuration System
8be7013
8be7013
Group:          Development/Libraries
8be7013
License:        LGPLv2+
8be7013
URL:            http://www.compiz-fusion.org
8be7013
8be7013
Source0:        http://releases.compiz-fusion.org/%{version}/%{name}-%{version}.tar.bz2
8be7013
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
8be7013
8be7013
# libdrm is not available on these arches
8be7013
ExcludeArch:    s390 s390x ppc64
13f4ae2
BuildRequires:  libcompizconfig-devel >= %{basever}, 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
8be7013
%setup -q 
8be7013
8be7013
%build
8be7013
%configure --disable-static
8be7013
make %{?_smp_mflags}
8be7013
8be7013
8be7013
%install
8be7013
rm -rf $RPM_BUILD_ROOT
8be7013
make install DESTDIR=$RPM_BUILD_ROOT
8be7013
find $RPM_BUILD_ROOT -type f -name "*.a" -o -name "*.la" | xargs rm -f
8be7013
8be7013
8be7013
%clean
8be7013
rm -rf $RPM_BUILD_ROOT
8be7013
8be7013
8be7013
%files
8be7013
%defattr(-,root,root,-)
ad6f499
%doc COPYING
8be7013
%{python_sitearch}/compizconfig.so
8be7013
%exclude %{_libdir}/pkgconfig/compizconfig-python.pc
8be7013
8be7013
8be7013
%changelog
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