%define oname fpconst %define name python-%{oname} %define dname %{oname}-%{version} Name: python-%{oname} Version: 0.7.3 Release: %mkrel 3 Epoch: 0 Summary: IEEE754 float infinity and NaN for python License: BSD-like Group: Development/Python URL: http://cheeseshop.python.org/packages/source/f/%oname/%version Source0: http://cheeseshop.python.org/packages/source/f/%oname/%oname-%version.tar.bz2 BuildRequires: python-devel BuildArch: noarch %description This module provides constants and functions for handling IEEE754 floating point infinite and NaN values. This works on any python that uses IEEE754 double values for its float type (whether big- or little-endian). Although this is not required, it's unlikely any python would fail to meet this requirement (the code in both the standard and JPython interpreters assumes IEEE754 double all over the place). %prep %setup -q -n %{dname} %build %{__python} setup.py build %install %{__rm} -rf %{buildroot} %{__python} setup.py install --root %{buildroot} %files %defattr(0644,root,root,0755) %doc README PKG-INFO %defattr(-,root,root) %{python_sitelib}/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0:0.7.3-3.mga3 + Revision: 378858 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Aug 24 2011 jquelin <jquelin> 0:0.7.3-2.mga2 + Revision: 135133 - make sure cauldron version is higher * Wed Jun 29 2011 jquelin <jquelin> 0:0.7.3-1.mga2 + Revision: 115993 - imported package python-fpconst