python 2.7 mass rebuild [release 0.7.2-3mamba;Fri May 17 2013]

This commit is contained in:
Silvan Calarco 2024-01-06 11:10:43 +01:00
parent 2d6b073f57
commit df605dd905
2 changed files with 57 additions and 0 deletions

View File

@ -1,2 +1,6 @@
# python-fpconst
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).

53
python-fpconst.spec Normal file
View File

@ -0,0 +1,53 @@
Name: python-fpconst
Version: 0.7.2
Release: 3mamba
Summary: Utilities for handling IEEE 754 floating point special values
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
URL: http://www.analytics.washington.edu/statcomp/projects/rzope/fpconst/
Source: http://pypi.python.org/packages/source/f/fpconst/fpconst-%{version}.tar.gz
License: BSD
Requires: python >= %python_version
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel >= %python_version
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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 fpconst-%{version}
%build
python setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{python_sitearch}/fpconst.py
%{python_sitearch}/fpconst.pyc
%{python_sitearch}/fpconst-%{version}-py*.egg-info
%changelog
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.2-3mamba
- python 2.7 mass rebuild
* Mon May 18 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.2-2mamba
- rebuilt with python 2.6
* Mon Aug 18 2008 gil <puntogil@libero.it> 0.7.2-1mamba
- package created by autospec