]> git.pld-linux.org Git - packages/python-fpconst.git/blame - python-fpconst.spec
- release 6 (by relup.sh)
[packages/python-fpconst.git] / python-fpconst.spec
CommitLineData
89c34ee1 1
c1917e48 2%define module fpconst
89c34ee1
AM
3
4Summary: IEEE 754 floating point special handling
b7462b49 5Summary(pl.UTF-8): Specjalna obsługa liczb zmiennoprzecinkowych IEEE 754
89c34ee1 6Name: python-%{module}
586ddf03 7Version: 0.7.2
6ade7cb4 8Release: 6
381b4561 9License: Apache v2.0
89c34ee1 10Group: Libraries/Python
586ddf03
AF
11Source0: http://cheeseshop.python.org/packages/source/f/fpconst/fpconst-%{version}.tar.gz
12# Source0-md5: 10ba9e04129af23108d24c22c3a698b1
13URL: http://research.warnes.net/projects/RStatServer/fpconst/index_html
53c4b066 14BuildRequires: rpmbuild(macros) >= 1.710
ea4230a8 15BuildRequires: python >= 1:2.5
1317091e 16BuildRequires: python-modules
17BuildRequires: rpm-pythonprov
691777ff 18%pyrequires_eq python-modules
640433c7 19BuildArch: noarch
89c34ee1
AM
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
622fc02a
JB
23This python module implements constants and functions for working with
24IEEE 754 double-precision special values. It provides constants for
25Not-a-Number (NaN), Positive Infinity (Inf), and Negative Infinity
26(-Inf), as well as functions to test for these values.
27
af7e5360
JR
28%description -l pl.UTF-8
29Ten moduł Pythona jest implementacją stałych i funkcji do pracy z
30wartościami specjalnymi liczb podwójnej precyzji zgodnymi z IEEE 754.
31Udostępnia stałe dla nie-liczb (NaN, czyli Not-a-Number), dodatniej
32nieskończoności (Inf) i ujemnej nieskończoności (-Inf), a także
33funkcje do porównywania z tymi wartościami.
89c34ee1
AM
34
35%prep
36%setup -q -n %{module}-%{version}
37
38%build
5167edbb 39%py_build
89c34ee1
AM
40
41%install
42rm -rf $RPM_BUILD_ROOT
640433c7 43install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
89c34ee1 44
5167edbb 45%py_install
89c34ee1
AM
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
ecfa14cd 52%doc README
381b4561 53%{py_sitescriptdir}/*.py[co]
586ddf03 54%{py_sitescriptdir}/*.egg-info
This page took 0.047534 seconds and 4 git commands to generate.