%define module gmpy %define name python-%{module} %define version 1.03 %define release %mkrel 1 Summary: Python interface to GMP Name: %{name} Version: %{version} Release: %{release} Source0: %{module}-%{version}.zip License: LGPL Group: Development/Python Url: http://gmpy.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Requires: libgmp BuildRequires: libgmp-devel BuildRequires: python-devel %description The General Multiprecision PYthon project (GMPY) focuses on Python-usable modules providing multiprecision arithmetic functionality to Python programmers. The project mission includes both C and C++ Python-modules (for speed) and pure Python modules (for flexibility and convenience); it potentially includes integral, rational and floating-point arithmetic in any base. Only cross-platform functionality is of interest, at least for now. %prep %setup -q -n %{module}-%{version} %build %__python ./setup.py build %install rm -rf %{buildroot} %__python ./setup.py install --root=%{buildroot} --record=INSTALLED_FILES %clean rm -rf %{buildroot} %files -f INSTALLED_FILES %defattr(-,root,root) %doc README doc/ test/ %changelog * Fri Jul 11 2008 Lev Givon <lev@mandriva.org> 1.03-1mdv2008.0 + Revision: 233834 - Update to 1.03. * Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 1.01-3mdv2008.1 + Revision: 136448 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sun Jan 21 2007 Nicolas Lécureuil <neoclust@mandriva.org> 1.01-3mdv2007.0 + Revision: 111518 - Rebuicl for new python - import python-gmpy-1.01-2mdk * Thu May 04 2006 Nicolas Lécureuil <neoclust@mandriva.org> 1.01-2mdk - Add BuildRequires - Fix mkrel for rpmbuildupdate * Wed May 03 2006 Lev Givon <lev@columbia.edu> 1.01-1mdk - Initial Mandriva package.