]>
Commit | Line | Data |
---|---|---|
e8410fc9 | 1 | # |
15d45a3a | 2 | # Conditional build: |
e8410fc9 JB |
3 | %bcond_without python2 # CPython 2.x modules |
4 | %bcond_without python3 # CPython 3.x modules | |
15d45a3a | 5 | |
87f01f56 | 6 | %define module numpy |
e8410fc9 JB |
7 | Summary: Python 2 numerical facilities |
8 | Summary(pl.UTF-8): Moduły do obliczeń numerycznych dla języka Python 2 | |
82d8e1e3 | 9 | Name: python-%{module} |
fa3a1a65 JR |
10 | Version: 1.7.2 |
11 | Release: 1 | |
83090946 | 12 | Epoch: 1 |
31aec831 | 13 | License: BSD |
afceca96 | 14 | Group: Libraries/Python |
e527b87b | 15 | Source0: http://downloads.sourceforge.net/numpy/%{module}-%{version}.tar.gz |
fa3a1a65 | 16 | # Source0-md5: 6eba32e71bd30cf70b9ea2ef28519d9a |
065b9267 | 17 | Patch0: %{name}-fortran-version.patch |
abd2761d | 18 | URL: http://sourceforge.net/projects/numpy/ |
15d45a3a | 19 | %if %{with python2} |
969d7b9d | 20 | BuildRequires: python-devel |
c8e56905 | 21 | %pyrequires_eq python-libs |
15d45a3a JK |
22 | %endif |
23 | %if %{with python3} | |
24 | BuildRequires: python3-devel >= 1:3.3 | |
25 | BuildRequires: python3-2to3 | |
26 | %endif | |
065b9267 | 27 | BuildRequires: gcc-fortran |
15d45a3a JK |
28 | BuildRequires: lapack-devel >= 3.1.1-2 |
29 | BuildRequires: rpm-pythonprov | |
83090946 JB |
30 | # -- dropped some time ago |
31 | Obsoletes: python-numpy-Properties | |
32 | # -- dropped some time ago, should have been released as separate package, but wasn't | |
33 | Obsoletes: python-numpy-kinds | |
4dafe483 JB |
34 | # old subpackage, merged into main |
35 | Obsoletes: python-numpy-FFT | |
e527b87b | 36 | # -- dropped during Numeric->numpy transition (ma in main now?) |
83090946 JB |
37 | Obsoletes: python-numpy-MA |
38 | Obsoletes: python-numpy-RNG | |
cd9c05a8 JR |
39 | Obsoletes: python-Numeric |
40 | Obsoletes: python-Numeric-FFT | |
41 | Obsoletes: python-Numeric-MA | |
42 | Obsoletes: python-Numeric-RNG | |
fed64725 | 43 | Requires: pydoc |
87f01f56 | 44 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
6c72420e JR |
45 | |
46 | %description | |
47 | NumPy is a collection of extension modules to provide high-performance | |
48 | multidimensional numeric arrays to the Python programming language. | |
49 | ||
e8410fc9 JB |
50 | This package contains Python 2 modules. |
51 | ||
7511f32d | 52 | %description -l pl.UTF-8 |
e8410fc9 JB |
53 | NumPy to zbiór modułów rozszerzeń zapewniających wydajne obliczenia |
54 | numeryczne na macierzach wielowymiarowych w języku Python. | |
55 | ||
56 | Ten pakiet zawiera moduły Pythona 2. | |
6a1c76a9 | 57 | |
82d8e1e3 | 58 | %package devel |
e8410fc9 JB |
59 | Summary: C header files for Python 2 numerical modules |
60 | Summary(pl.UTF-8): Pliki nagłówkowe języka C modułów numerycznych Pythona 2 | |
d3c60c72 | 61 | Group: Development/Languages/Python |
c8e56905 | 62 | %pyrequires_eq python-devel |
83090946 | 63 | Requires: %{name} = %{epoch}:%{version}-%{release} |
e8410fc9 | 64 | Obsoletes: python-Numeric-devel |
82d8e1e3 | 65 | |
66 | %description devel | |
e8410fc9 | 67 | C header files for Python 2 numerical modules. |
6a1c76a9 | 68 | |
7511f32d | 69 | %description devel -l pl.UTF-8 |
e8410fc9 | 70 | Pliki nagłówkowe języka C modułów numerycznych Pythona 2. |
82d8e1e3 | 71 | |
03367c91 | 72 | %package numarray |
e8410fc9 JB |
73 | Summary: Array manipulation and computations for Python 2 |
74 | Summary(pl.UTF-8): Operacje i obliczenia na tablicach dla Pythona 2 | |
25105dcf | 75 | Group: Development/Languages/Python |
03367c91 RT |
76 | Requires: %{name} = %{epoch}:%{version}-%{release} |
77 | ||
78 | %description numarray | |
79 | Numarray provides array manipulation and computational capabilities | |
80 | similar to those found in IDL, Matlab, or Octave. Using numarray, it | |
81 | is possible to write many efficient numerical data processing | |
82 | applications directly in Python without using any C, C++ or Fortran | |
83 | code (as well as doing such analysis interactively within Python or | |
84 | PyRAF). For algorithms that are not well suited for efficient | |
85 | computation using array facilities it is possible to write C functions | |
86 | (and eventually Fortran) that can read and write numarray arrays that | |
87 | can be called from Python. | |
88 | ||
89 | Numarray is a re-implementation of an older Python array module called | |
90 | Numeric. In general its interface is very similar. It is mostly | |
91 | backward compatible and will be becoming more so in future releases. | |
92 | ||
e8410fc9 JB |
93 | This package contains Python 2 module. |
94 | ||
7511f32d JR |
95 | %description numarray -l pl.UTF-8 |
96 | Numarray zapewnia narzędzia do operacji oraz obliczeń na tablicach | |
97 | podobne do tych, jakie zapewniają IDL, Matlab czy Octave. Używając | |
98 | numarray możliwe jest stworzenie bezpośrednio w Pythonie, nie używając | |
25105dcf | 99 | wstawek C, C++ czy fortranowych, wielu wydajnych aplikacji do |
7511f32d JR |
100 | przetwarzania danych numerycznych. Dla algorytmów, które nie pracują |
101 | wydajnie z tablicami, możliwe jest napisanie funkcji C, które mogą | |
102 | czytać i zapisywać tablice numarray, i które mogą być wywoływane z | |
03367c91 RT |
103 | poziomu Pythona. |
104 | ||
7511f32d JR |
105 | Numarray jest ponowną implementacją starszego modułu Pythona - |
106 | Numeric. Interfejsy tych modułów są do siebie bardzo podobne. Numarray | |
107 | jest w większości przypadków kompatybilny wstecz, a sytuacja poprawi | |
108 | się w nowszych wersjach. | |
03367c91 | 109 | |
e8410fc9 JB |
110 | Ten pakiet zawiera moduł Pythona 2. |
111 | ||
99afc94d JB |
112 | %package numarray-devel |
113 | Summary: Header files for python-numarray | |
114 | Summary(pl.UTF-8): Pliki nagłówkowe dla pakietu python-numarray | |
115 | Group: Development/Libraries | |
116 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
117 | Requires: %{name}-numarray = %{epoch}:%{version}-%{release} | |
118 | ||
119 | %description numarray-devel | |
120 | Header files for python-numarray. | |
121 | ||
122 | %description numarray-devel -l pl.UTF-8 | |
123 | Pliki nagłówkowe dla pakietu python-numarray. | |
124 | ||
125 | %package oldnumeric | |
126 | Summary: Python 2 modules providing backward compatibility with old Numeric packages | |
127 | Summary(pl.UTF-8): Moduły Pythona 2 zapewniające wsteczną kompatybilność ze starymi pakietami Numeric | |
128 | Group: Libraries/Python | |
129 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
130 | ||
131 | %description oldnumeric | |
132 | Python 2 modules providing backward compatibility with old Numeric | |
133 | packages. | |
134 | ||
135 | %description oldnumeric -l pl.UTF-8 | |
136 | Moduły Pythona 2 zapewniające wsteczną kompatybilność ze starymi | |
137 | pakietami Numeric. | |
138 | ||
139 | %package -n f2py | |
140 | Summary: Fortran to Python 2 interface generator | |
141 | Summary(pl.UTF-8): Generator interfejsów z Fortranu do Pythona 2 | |
142 | Group: Libraries/Python | |
143 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
144 | ||
145 | %description -n f2py | |
146 | Fortran to Python 2 interface generator. | |
147 | ||
148 | %description -n f2py -l pl.UTF-8 | |
149 | Generator interfejsów z Fortranu do Pythona 2. | |
150 | ||
151 | %package -n python3-%{module} | |
152 | Summary: Python 3.x numerical facilities | |
153 | Summary(pl.UTF-8): Moduły do obliczeń numerycznych dla języka Python 3.x | |
154 | Group: Libraries/Python | |
155 | ||
156 | %description -n python3-%{module} | |
157 | NumPy is a collection of extension modules to provide high-performance | |
158 | multidimensional numeric arrays to the Python programming language. | |
159 | ||
160 | This package contains Python 3 modules. | |
161 | ||
162 | %description -l pl.UTF-8 -n python3-%{module} | |
163 | NumPy to zbiór modułów rozszerzeń zapewniających wydajne obliczenia | |
164 | numeryczne na macierzach wielowymiarowych w języku Python. | |
165 | ||
166 | Ten pakiet zawiera moduły Pythona 3. | |
167 | ||
168 | %package -n python3-%{module}-devel | |
169 | Summary: C header files for Python 3 numerical modules | |
170 | Summary(pl.UTF-8): Pliki nagłówkowe języka C modułów numerycznych Pythona 3 | |
171 | Group: Development/Languages/Python | |
172 | %pyrequires_eq python-devel | |
173 | Requires: python3-%{module} = %{epoch}:%{version}-%{release} | |
174 | Obsoletes: python-Numeric-devel | |
175 | ||
176 | %description -n python3-%{module}-devel | |
177 | C header files for Python 3 numerical modules. | |
178 | ||
179 | %description -n python3-%{module}-devel -l pl.UTF-8 | |
180 | Pliki nagłówkowe języka C modułów numerycznych Pythona 3. | |
181 | ||
15d45a3a | 182 | %package -n python3-%{module}-numarray |
e8410fc9 JB |
183 | Summary: Array manipulation and computations for Python 3.x |
184 | Summary(pl.UTF-8): Operacje i obliczenia na tablicach dla Pythona 3.x | |
15d45a3a | 185 | Group: Development/Languages/Python |
e8410fc9 | 186 | Requires: python3-%{module} = %{epoch}:%{version}-%{release} |
15d45a3a JK |
187 | |
188 | %description -n python3-%{module}-numarray | |
189 | Numarray provides array manipulation and computational capabilities | |
190 | similar to those found in IDL, Matlab, or Octave. Using numarray, it | |
191 | is possible to write many efficient numerical data processing | |
192 | applications directly in Python without using any C, C++ or Fortran | |
193 | code (as well as doing such analysis interactively within Python or | |
194 | PyRAF). For algorithms that are not well suited for efficient | |
195 | computation using array facilities it is possible to write C functions | |
196 | (and eventually Fortran) that can read and write numarray arrays that | |
197 | can be called from Python. | |
198 | ||
199 | Numarray is a re-implementation of an older Python array module called | |
200 | Numeric. In general its interface is very similar. It is mostly | |
201 | backward compatible and will be becoming more so in future releases. | |
202 | ||
e8410fc9 JB |
203 | This package contains Python 3 module. |
204 | ||
15d45a3a JK |
205 | %description -n python3-%{module}-numarray -l pl.UTF-8 |
206 | Numarray zapewnia narzędzia do operacji oraz obliczeń na tablicach | |
207 | podobne do tych, jakie zapewniają IDL, Matlab czy Octave. Używając | |
208 | numarray możliwe jest stworzenie bezpośrednio w Pythonie, nie używając | |
209 | wstawek C, C++ czy fortranowych, wielu wydajnych aplikacji do | |
210 | przetwarzania danych numerycznych. Dla algorytmów, które nie pracują | |
211 | wydajnie z tablicami, możliwe jest napisanie funkcji C, które mogą | |
212 | czytać i zapisywać tablice numarray, i które mogą być wywoływane z | |
213 | poziomu Pythona. | |
214 | ||
215 | Numarray jest ponowną implementacją starszego modułu Pythona - | |
216 | Numeric. Interfejsy tych modułów są do siebie bardzo podobne. Numarray | |
217 | jest w większości przypadków kompatybilny wstecz, a sytuacja poprawi | |
218 | się w nowszych wersjach. | |
219 | ||
e8410fc9 JB |
220 | Ten pakiet zawiera moduł Pythona 3. |
221 | ||
15d45a3a | 222 | %package -n python3-%{module}-numarray-devel |
e8410fc9 JB |
223 | Summary: Header files for python3-numarray |
224 | Summary(pl.UTF-8): Pliki nagłówkowe dla pakietu python3-numarray | |
15d45a3a | 225 | Group: Development/Libraries |
e8410fc9 JB |
226 | Requires: python3-%{module}-devel = %{epoch}:%{version}-%{release} |
227 | Requires: python3-%{module}-numarray = %{epoch}:%{version}-%{release} | |
15d45a3a JK |
228 | |
229 | %description -n python3-%{module}-numarray-devel | |
e8410fc9 | 230 | Header files for python3-numarray. |
15d45a3a JK |
231 | |
232 | %description -n python3-%{module}-numarray-devel -l pl.UTF-8 | |
e8410fc9 | 233 | Pliki nagłówkowe dla pakietu python3-numarray. |
15d45a3a | 234 | |
15d45a3a | 235 | %package -n python3-%{module}-oldnumeric |
e8410fc9 JB |
236 | Summary: Python 3 modules providing backward compatibility with old Numeric packages |
237 | Summary(pl.UTF-8): Moduły Pythona 3 zapewniające wsteczną kompatybilność ze starymi pakietami Numeric | |
15d45a3a | 238 | Group: Libraries/Python |
e8410fc9 | 239 | Requires: python3-%{module} = %{epoch}:%{version}-%{release} |
15d45a3a JK |
240 | |
241 | %description -n python3-%{module}-oldnumeric | |
e8410fc9 JB |
242 | Python 3 modules providing backward compatibility with old Numeric |
243 | packages. | |
15d45a3a JK |
244 | |
245 | %description -n python3-%{module}-oldnumeric -l pl.UTF-8 | |
e8410fc9 JB |
246 | Moduły Pythona 3 zapewniające wsteczną kompatybilność ze starymi |
247 | pakietami Numeric. | |
15d45a3a | 248 | |
15d45a3a JK |
249 | %package -n f2py3 |
250 | Summary: Fortran to Python 3 interface generator | |
251 | Summary(pl.UTF-8): Generator interfejsów z Fortranu do Pythona 3 | |
252 | Group: Libraries/Python | |
e8410fc9 | 253 | Requires: python3-%{module} = %{epoch}:%{version}-%{release} |
15d45a3a JK |
254 | |
255 | %description -n f2py3 | |
256 | Fortran to Python 3 interface generator. | |
257 | ||
258 | %description -n f2py3 -l pl.UTF-8 | |
259 | Generator interfejsów z Fortranu do Pythona 3. | |
260 | ||
6c72420e | 261 | %prep |
b254458b | 262 | %setup -q -n %{module}-%{version} |
065b9267 | 263 | %patch0 -p1 |
6c72420e JR |
264 | |
265 | %build | |
2fc4c2a8 AM |
266 | CC="%{__cc}"; export CC |
267 | CFLAGS="%{rpmcflags}"; export CFLAGS | |
15d45a3a JK |
268 | |
269 | %if %{with python2} | |
31aec831 | 270 | %{__python} setup.py build |
15d45a3a JK |
271 | %endif |
272 | ||
273 | %if %{with python3} | |
274 | %{__python3} setup.py build | |
275 | %endif | |
6c72420e JR |
276 | |
277 | %install | |
d1d6da54 | 278 | rm -rf $RPM_BUILD_ROOT |
6ca3085b | 279 | |
15d45a3a | 280 | %if %{with python2} |
31aec831 | 281 | %{__python} setup.py install \ |
6ca3085b | 282 | --root=$RPM_BUILD_ROOT |
283 | ||
6a274b9f | 284 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir} |
285 | %py_comp $RPM_BUILD_ROOT%{py_sitedir} | |
83090946 | 286 | |
85179ece JB |
287 | %{__rm} -r $RPM_BUILD_ROOT%{py_sitedir}/%{module}/doc |
288 | %{__rm} -r $RPM_BUILD_ROOT%{py_sitedir}/%{module}/*/{benchmarks,tests,docs} | |
83090946 | 289 | # already in f2py package |
85179ece | 290 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/%{module}/f2py/f2py.1 |
6c72420e | 291 | |
e2358015 | 292 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/%{module}/distutils/mingw/gfortran_vs2003_hack.c |
15d45a3a JK |
293 | %endif |
294 | ||
295 | %if %{with python3} | |
296 | %{__python3} setup.py install \ | |
297 | --root=$RPM_BUILD_ROOT | |
298 | ||
299 | %py3_ocomp $RPM_BUILD_ROOT%{py3_sitedir} | |
300 | %py3_comp $RPM_BUILD_ROOT%{py3_sitedir} | |
301 | ||
302 | %{__rm} -r $RPM_BUILD_ROOT%{py3_sitedir}/%{module}/doc | |
303 | %{__rm} -r $RPM_BUILD_ROOT%{py3_sitedir}/%{module}/*/{tests,docs} | |
304 | # already in f2py package | |
305 | %{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/%{module}/f2py/f2py.1 | |
306 | ||
307 | %{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/%{module}/distutils/mingw/gfortran_vs2003_hack.c | |
308 | %endif | |
309 | ||
6c72420e JR |
310 | %clean |
311 | rm -rf $RPM_BUILD_ROOT | |
312 | ||
15d45a3a | 313 | %if %{with python2} |
6c72420e | 314 | %files |
6febf52f | 315 | %defattr(644,root,root,755) |
83090946 | 316 | %dir %{py_sitedir}/%{module} |
4d445eeb | 317 | %{py_sitedir}/%{module}/*.py |
83090946 | 318 | %{py_sitedir}/%{module}/*.py[co] |
c2261e45 | 319 | %dir %{py_sitedir}/%{module}/compat |
4d445eeb | 320 | %{py_sitedir}/%{module}/compat/*.py |
c2261e45 | 321 | %{py_sitedir}/%{module}/compat/*.py[co] |
83090946 | 322 | %dir %{py_sitedir}/%{module}/core |
4d445eeb | 323 | %{py_sitedir}/%{module}/core/*.py |
83090946 JB |
324 | %{py_sitedir}/%{module}/core/*.py[co] |
325 | %attr(755,root,root) %{py_sitedir}/%{module}/core/*.so | |
326 | %dir %{py_sitedir}/%{module}/distutils | |
4d445eeb | 327 | %{py_sitedir}/%{module}/distutils/*.py |
83090946 JB |
328 | %{py_sitedir}/%{module}/distutils/*.py[co] |
329 | %dir %{py_sitedir}/%{module}/distutils/command | |
4d445eeb | 330 | %{py_sitedir}/%{module}/distutils/command/*.py |
83090946 JB |
331 | %{py_sitedir}/%{module}/distutils/command/*.py[co] |
332 | %dir %{py_sitedir}/%{module}/distutils/fcompiler | |
4d445eeb | 333 | %{py_sitedir}/%{module}/distutils/fcompiler/*.py |
83090946 | 334 | %{py_sitedir}/%{module}/distutils/fcompiler/*.py[co] |
4dafe483 | 335 | %dir %{py_sitedir}/%{module}/fft |
4d445eeb | 336 | %{py_sitedir}/%{module}/fft/*.py |
4dafe483 | 337 | %{py_sitedir}/%{module}/fft/*.py[co] |
e527b87b | 338 | %attr(755,root,root) %{py_sitedir}/%{module}/fft/fftpack_lite.so |
83090946 | 339 | %dir %{py_sitedir}/%{module}/lib |
4d445eeb | 340 | %{py_sitedir}/%{module}/lib/*.py |
83090946 | 341 | %{py_sitedir}/%{module}/lib/*.py[co] |
e527b87b | 342 | %attr(755,root,root) %{py_sitedir}/%{module}/lib/_compiled_base.so |
83090946 | 343 | %dir %{py_sitedir}/%{module}/linalg |
4d445eeb | 344 | %{py_sitedir}/%{module}/linalg/*.py |
83090946 | 345 | %{py_sitedir}/%{module}/linalg/*.py[co] |
e527b87b | 346 | %attr(755,root,root) %{py_sitedir}/%{module}/linalg/lapack_lite.so |
15d45a3a JK |
347 | %dir %{py_sitedir}/%{module}/ma |
348 | %{py_sitedir}/%{module}/ma/*.py | |
349 | %{py_sitedir}/%{module}/ma/*.py[co] | |
c2261e45 | 350 | %dir %{py_sitedir}/%{module}/matrixlib |
4d445eeb | 351 | %{py_sitedir}/%{module}/matrixlib/*.py |
c2261e45 JR |
352 | %{py_sitedir}/%{module}/matrixlib/*.py[co] |
353 | %dir %{py_sitedir}/%{module}/polynomial | |
4d445eeb | 354 | %{py_sitedir}/%{module}/polynomial/*.py |
c2261e45 | 355 | %{py_sitedir}/%{module}/polynomial/*.py[co] |
83090946 | 356 | %dir %{py_sitedir}/%{module}/random |
4d445eeb | 357 | %{py_sitedir}/%{module}/random/*.py |
83090946 | 358 | %{py_sitedir}/%{module}/random/*.py[co] |
e527b87b | 359 | %attr(755,root,root) %{py_sitedir}/%{module}/random/mtrand.so |
83090946 | 360 | %dir %{py_sitedir}/%{module}/testing |
4d445eeb | 361 | %{py_sitedir}/%{module}/testing/*.py |
83090946 | 362 | %{py_sitedir}/%{module}/testing/*.py[co] |
e527b87b | 363 | %dir %{py_sitedir}/%{module}/tests |
4d445eeb | 364 | %{py_sitedir}/%{module}/tests/*.py |
e527b87b | 365 | %{py_sitedir}/%{module}/tests/*.py[co] |
969d7b9d | 366 | %if "%{py_ver}" > "2.4" |
e527b87b | 367 | %{py_sitedir}/numpy-%{version}-py*.egg-info |
969d7b9d | 368 | %endif |
99afc94d JB |
369 | |
370 | %files devel | |
371 | %defattr(644,root,root,755) | |
372 | %{py_sitedir}/%{module}/core/include | |
373 | %{py_sitedir}/%{module}/core/lib | |
374 | %{py_sitedir}/%{module}/random/*.h | |
375 | ||
376 | %files numarray | |
377 | %defattr(644,root,root,755) | |
378 | %dir %{py_sitedir}/%{module}/numarray | |
379 | %{py_sitedir}/%{module}/numarray/*.py | |
380 | %{py_sitedir}/%{module}/numarray/*.py[co] | |
381 | %attr(755,root,root) %{py_sitedir}/%{module}/numarray/_capi.so | |
382 | ||
383 | %files numarray-devel | |
384 | %defattr(644,root,root,755) | |
385 | %{py_sitedir}/%{module}/numarray/include | |
386 | ||
387 | %files oldnumeric | |
388 | %defattr(644,root,root,755) | |
389 | %dir %{py_sitedir}/%{module}/oldnumeric | |
390 | %{py_sitedir}/%{module}/oldnumeric/*.py | |
391 | %{py_sitedir}/%{module}/oldnumeric/*.py[co] | |
392 | ||
393 | %files -n f2py | |
394 | %defattr(644,root,root,755) | |
395 | %attr(755,root,root) %{_bindir}/f2py | |
396 | %dir %{py_sitedir}/%{module}/f2py | |
397 | %{py_sitedir}/%{module}/f2py/*.py | |
398 | %{py_sitedir}/%{module}/f2py/*.py[co] | |
399 | %{py_sitedir}/%{module}/f2py/src | |
15d45a3a | 400 | %endif |
82d8e1e3 | 401 | |
15d45a3a JK |
402 | %if %{with python3} |
403 | %files -n python3-%{module} | |
404 | %defattr(644,root,root,755) | |
405 | %dir %{py3_sitedir}/%{module} | |
406 | %{py3_sitedir}/%{module}/*.py | |
407 | %{py3_sitedir}/%{module}/__pycache__ | |
408 | %dir %{py3_sitedir}/%{module}/compat | |
409 | %{py3_sitedir}/%{module}/compat/*.py | |
410 | %{py3_sitedir}/%{module}/compat/__pycache__ | |
411 | %dir %{py3_sitedir}/%{module}/core | |
412 | %{py3_sitedir}/%{module}/core/*.py | |
413 | %{py3_sitedir}/%{module}/core/__pycache__ | |
414 | %attr(755,root,root) %{py3_sitedir}/%{module}/core/*.cpython-3*.so | |
415 | %dir %{py3_sitedir}/%{module}/distutils | |
416 | %{py3_sitedir}/%{module}/distutils/*.py | |
417 | %{py3_sitedir}/%{module}/distutils/__pycache__ | |
418 | %dir %{py3_sitedir}/%{module}/distutils/command | |
419 | %{py3_sitedir}/%{module}/distutils/command/*.py | |
420 | %{py3_sitedir}/%{module}/distutils/command/__pycache__ | |
421 | %dir %{py3_sitedir}/%{module}/distutils/fcompiler | |
422 | %{py3_sitedir}/%{module}/distutils/fcompiler/*.py | |
423 | %{py3_sitedir}/%{module}/distutils/fcompiler/__pycache__ | |
424 | %dir %{py3_sitedir}/%{module}/fft | |
425 | %{py3_sitedir}/%{module}/fft/*.py | |
426 | %{py3_sitedir}/%{module}/fft/__pycache__ | |
427 | %attr(755,root,root) %{py3_sitedir}/%{module}/fft/fftpack_lite.cpython-3*.so | |
428 | %dir %{py3_sitedir}/%{module}/lib | |
429 | %{py3_sitedir}/%{module}/lib/*.py | |
430 | %{py3_sitedir}/%{module}/lib/__pycache__ | |
431 | %attr(755,root,root) %{py3_sitedir}/%{module}/lib/_compiled_base.cpython-3*.so | |
432 | %dir %{py3_sitedir}/%{module}/linalg | |
433 | %{py3_sitedir}/%{module}/linalg/*.py | |
434 | %{py3_sitedir}/%{module}/linalg/__pycache__ | |
435 | %attr(755,root,root) %{py3_sitedir}/%{module}/linalg/lapack_lite.cpython-3*.so | |
436 | %dir %{py3_sitedir}/%{module}/ma | |
437 | %{py3_sitedir}/%{module}/ma/*.py | |
438 | %{py3_sitedir}/%{module}/ma/__pycache__ | |
439 | %dir %{py3_sitedir}/%{module}/matrixlib | |
440 | %{py3_sitedir}/%{module}/matrixlib/*.py | |
441 | %{py3_sitedir}/%{module}/matrixlib/__pycache__ | |
442 | %dir %{py3_sitedir}/%{module}/polynomial | |
443 | %{py3_sitedir}/%{module}/polynomial/*.py | |
444 | %{py3_sitedir}/%{module}/polynomial/__pycache__ | |
445 | %dir %{py3_sitedir}/%{module}/random | |
446 | %{py3_sitedir}/%{module}/random/*.py | |
447 | %{py3_sitedir}/%{module}/random/__pycache__ | |
448 | %attr(755,root,root) %{py3_sitedir}/%{module}/random/mtrand.cpython-3*.so | |
449 | %dir %{py3_sitedir}/%{module}/testing | |
450 | %{py3_sitedir}/%{module}/testing/*.py | |
451 | %{py3_sitedir}/%{module}/testing/__pycache__ | |
452 | %dir %{py3_sitedir}/%{module}/tests | |
453 | %{py3_sitedir}/%{module}/tests/*.py | |
454 | %{py3_sitedir}/%{module}/tests/__pycache__ | |
455 | %{py3_sitedir}/numpy-%{version}-py*.egg-info | |
82d8e1e3 | 456 | |
15d45a3a JK |
457 | %files -n python3-%{module}-devel |
458 | %defattr(644,root,root,755) | |
459 | %{py3_sitedir}/%{module}/core/include | |
460 | %{py3_sitedir}/%{module}/core/lib | |
461 | %{py3_sitedir}/%{module}/random/*.h | |
03367c91 | 462 | |
15d45a3a JK |
463 | %files -n python3-%{module}-numarray |
464 | %defattr(644,root,root,755) | |
465 | %dir %{py3_sitedir}/%{module}/numarray | |
466 | %{py3_sitedir}/%{module}/numarray/*.py | |
467 | %{py3_sitedir}/%{module}/numarray/__pycache__ | |
468 | %attr(755,root,root) %{py3_sitedir}/%{module}/numarray/_capi.cpython-3*.so | |
15d45a3a | 469 | |
15d45a3a JK |
470 | %files -n python3-%{module}-numarray-devel |
471 | %defattr(644,root,root,755) | |
472 | %{py3_sitedir}/%{module}/numarray/include | |
d5273373 | 473 | |
15d45a3a JK |
474 | %files -n python3-%{module}-oldnumeric |
475 | %defattr(644,root,root,755) | |
476 | %dir %{py3_sitedir}/%{module}/oldnumeric | |
477 | %{py3_sitedir}/%{module}/oldnumeric/*.py | |
478 | %{py3_sitedir}/%{module}/oldnumeric/__pycache__ | |
15d45a3a | 479 | |
15d45a3a JK |
480 | %files -n f2py3 |
481 | %defattr(644,root,root,755) | |
482 | %attr(755,root,root) %{_bindir}/f2py3 | |
483 | %dir %{py3_sitedir}/%{module}/f2py | |
484 | %{py3_sitedir}/%{module}/f2py/*.py | |
485 | %{py3_sitedir}/%{module}/f2py/__pycache__ | |
486 | %{py3_sitedir}/%{module}/f2py/src | |
487 | %endif |