5 Summary: Python numerical facilities
6 Summary(pl): Modu³y do obliczeñ numerycznych dla jêzyka Python
10 License: distributable
11 Group: Libraries/Python
12 Source0: http://dl.sourceforge.net/numpy/%{mname}-%{version}.tar.gz
13 # Source0-md5: 89da82dd9dd7fc331f5752a68dc79dba
14 Patch0: %{name}-lite.patch
15 URL: http://www.pfdubois.com/numpy/
16 BuildRequires: python-devel >= 1:2.3
17 BuildRequires: rpm-pythonprov
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 NumPy is a collection of extension modules to provide high-performance
23 multidimensional numeric arrays to the Python programming language.
26 Pakiet umo¿liwia wydajne obliczenia numeryczne na macierzach
30 Summary: C header files for numerical modules
31 Summary(pl): Pliki nag³ówkowe jêzyka C modu³ów numerycznych
32 Group: Development/Languages/Python
34 Requires: %{name} = %{version}-%{release}
37 C header files for numerical modules.
39 %description devel -l pl
40 Pliki nag³ówkowe jêzyka C modu³ów numerycznych.
43 Summary: Interface to the FFTPACK FORTRAN library
44 Summary(pl): Interfejs do biblioteki FFTPACK jêzyka Fortran
45 Group: Libraries/Python
47 Requires: %{name} = %{version}-%{release}
50 The FFT.py module provides a simple interface to the FFTPACK FORTRAN
51 library, which is a powerful standard library for doing fast Fourier
52 transforms of real and complex data sets.
54 %description FFT -l pl
55 Modu³ FFT zawiera prosty interfejs do biblioteki FFTPACK jêzyka
56 Fortran. Ta biblioteka o wysokich mo¿liwo¶ciach jest standardowo
57 u¿ywana do prowadzenia obliczeñ za pomoc± dyskretnej transformaty
58 Fouriera na liczba rzeczywistych i zespolonych.
60 # -- will be released as separate package
62 #Summary: Implementation of PEP 0242 - precision and range control of numeric computations
63 #Summary(pl): Implementacja propozycji PEP 0242 - mo¿liwo¶æ kontrolowania precyzji i zakresu obliczeñ numerycznych
64 #Group: Libraries/Python
65 #%pyrequires_eq python
66 #Requires: %{name} = %{version}-%{release}
69 #This is implementation of PEP 0242. PEP's abstract follows:
71 #This proposal gives the user optional control over the precision and
72 #range of numeric computations so that a computation can be written
73 #once and run anywhere with at least the desired precision and range.
74 #It is backward compatible with existing code.
76 #%description kinds -l pl
77 #Modu³ zawiera implementacjê propozycji PEP 0242. Oto jej streszczenie.
79 #Propozycja ta umo¿liwia u¿ytkownikowi, opcjonalnie, kontrolê nad
80 #precyzj± i zakresem obliczeñ numerycznych. Dziêki temu raz napisane
81 #obliczenia mog± byæ uruchamiane na dowolnej maszynie. Mechanizm jest
82 #kompatybilny wstecz z istniej±cymi programami.
85 Summary: MA - a facility for dealing with masked arrays
86 Summary(pl): Modu³ do obs³ugi macierzy niepe³nych
87 Group: Libraries/Python
89 Requires: %{name} = %{version}-%{release}
92 Masked arrays are arrays that may have missing or invalid entries.
93 Module MA provides a work-alike replacement for Numeric that supports
94 data arrays with masks.
97 Macierze niepe³ne s± to macierze, którym mo¿e brakowaæ lub mog±
98 zawieraæ niepoprawne warto¶ci. Modu³ MA zawiera odpowiednie narzêdzia
99 do operowania na tego typu macierzach.
103 #Summary: Property class implementation for Python
104 #Summary(pl): Implementacja klasy z w³a¶ciwo¶ciami dla jêzyka Python
105 #Group: Libraries/Python
106 #%pyrequires_eq python
107 #Requires: %{name} = %{version}-%{release}
109 #%description Properties
110 #PropertiedClass is a mixin class that can be used to emulate
111 #properties in a Python class. A property is an attribute whose read,
112 #write, or deleting requires special handling. It is also possible to
113 #use this facility to prevent the writing or deleting of a property.
115 #%description Properties -l pl
116 #PropertiedClass jest klas±, która mo¿e byæ u¿yta do emulacji
117 #w³a¶ciwo¶ci w klasach jêzyka Python. W³a¶ciwo¶æ klasy jest atrybutem,
118 #którego czytanie, przypisywanie mu warto¶ci, czy te¿ jego usuwanie
119 #powinno byæ traktowane w sposób specjalny. Mechanizm ten mo¿e byæ te¿
120 #u¿ywany w celu ustalenia jakiego¶ atrybutu jako tylko do odczytu.
123 Summary: Random Number Generator Object for NumPy
124 Summary(pl): Obiekt generatora liczb losowych dla modu³u NumPy
125 Group: Libraries/Python
126 %pyrequires_eq python
127 Requires: %{name} = %{version}-%{release}
130 RNG provides a random number object to Numerical Python.
132 %description RNG -l pl
133 Modu³ ten zawiera implementacjê obiektu generatora liczb losowych dla
137 %setup -q -n %{mname}-%{version}
141 CC="%{__cc}"; export CC
142 CFLAGS="%{rpmcflags}"; export CFLAGS
143 python setup.py build
146 rm -rf $RPM_BUILD_ROOT
148 python setup.py install \
149 --root=$RPM_BUILD_ROOT
151 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
152 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
155 rm -rf $RPM_BUILD_ROOT
158 %defattr(644,root,root,755)
159 %dir %{py_sitedir}/%{mname}
160 %{py_sitedir}/%{mname}.pth
161 %attr(755,root,root) %{py_sitedir}/%{mname}/*.so
162 %{py_sitedir}/%{mname}/*.py[co]
165 %defattr(644,root,root,755)
166 %{py_incdir}/%{mname}
169 %defattr(644,root,root,755)
170 %dir %{py_sitedir}/%{mname}/FFT
171 %attr(755,root,root) %{py_sitedir}/%{mname}/FFT/*.so
172 %{py_sitedir}/%{mname}/FFT/*.py[co]
175 #%defattr(644,root,root,755)
176 #%dir %{py_sitedir}/%{mname}/kinds
177 #%attr(755,root,root) %{py_sitedir}/%{mname}/kinds/*.so
178 #%{py_sitedir}/%{mname}/kinds/*.py[co]
181 %defattr(644,root,root,755)
182 %dir %{py_sitedir}/%{mname}/MA
183 %{py_sitedir}/%{mname}/MA/*.py[co]
186 #%defattr(644,root,root,755)
187 #%dir %{py_sitedir}/%{mname}/PropertiedClasses
188 #%{py_sitedir}/%{mname}/PropertiedClasses/*.py[co]
191 %defattr(644,root,root,755)
192 %dir %{py_sitedir}/%{mname}/RNG
193 %attr(755,root,root) %{py_sitedir}/%{mname}/RNG/*.so
194 %{py_sitedir}/%{mname}/RNG/*.py[co]