%define oname pyxfce Summary: Python bindings for Xfce Name: python-xfce Version: 4.4.0 Release: %mkrel 10 License: BSD Group: Development/Python Url: http://pyxfce.xfce.org Source0: http://pyxfce.xfce.org/%{oname}-%{version}.tar.bz2 BuildRequires: libxfce4util-devel >= 4.4.2 BuildRequires: libxfcegui4-devel BuildRequires: libxfce4mcs-devel BuildRequires: libxfce4-panel-devel BuildRequires: pygtk2.0-devel BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot %description Python bindings for the Xfce desktop environment. %prep %setup -qn %{oname}-%{version} %build %configure2_5x \ --enable-final %make %install [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %makeinstall_std # strip $RPM_BUILD_ROOT from libs sed -i s%%{buildroot}%""%g %{buildroot}%{py_platsitedir}/xfce4/* %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files %defattr(-,root,root) %doc AUTHORS ChangeLog README TODO %{_libdir}/pkgconfig/pyxfce-1.0.pc %{py_platsitedir}/xfce4/*.py* %{py_platsitedir}/xfce4/*.la %{py_platsitedir}/xfce4/*.so %{_datadir}/%{oname}/4.2/defs/*.defs %changelog * Fri Aug 01 2008 Thierry Vignaud <tvignaud@mandriva.com> 4.4.0-10mdv2009.0 + Revision: 259866 - rebuild * Fri Jul 25 2008 Thierry Vignaud <tvignaud@mandriva.com> 4.4.0-9mdv2009.0 + Revision: 247738 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Sun Dec 16 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 4.4.0-7mdv2008.1 + Revision: 120674 - bump tag, because bs is stupid * Sun Dec 16 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 4.4.0-6mdv2008.1 + Revision: 120670 - add missing buildrequires * Sun Nov 18 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 4.4.0-5mdv2008.1 + Revision: 110075 - rebuild for new xfce - correct the license - do not package COPYING file * Sun Aug 26 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 4.4.0-4mdv2008.0 + Revision: 71452 - spec file clean - remove %%{buildroot} from libraries * Mon May 28 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 4.4.0-2mdv2008.0 + Revision: 31985 - correct buildrequires - do not use hardcoded python path in file list * Sun May 27 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 4.4.0-1mdv2008.0 + Revision: 31827 - Import python-xfce