%define name pywbxml %define version 0.1 %define release %mkrel 1 Summary: Python binding for wbxml2 Name: %{name} Version: %{version} Release: %{release} Source0: %{name}-%{version}.tar.bz2 License: GPL Group: Development/Python BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: wbxml2-devel >= 0.9.2 BuildRequires: python-devel libxml2-devel python-pyrex Url: http://synce.sourceforge.net %description Python binding for wbxml2 %prep %setup -q %build aclocal autoconf %configure %make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std rm -rf %buildroot%{py_platsitedir}/*.a rm -rf %buildroot%{py_platsitedir}/*.la %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README AUTHORS NEWS %{py_platsitedir}/*.so %changelog * Wed Jan 02 2008 Olivier Blin <oblin@mandriva.com> 0.1-1mdv2008.1 + Revision: 140738 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sun Jul 01 2007 Emmanuel Andry <eandry@mandriva.org> 0.1-1mdv2008.0 + Revision: 46537 - fix buildrequires - Import pywbxml