SPECS: python-numpy.spec - switched to new numpy package, updated ...
qboosh
qboosh at pld-linux.org
Mon Jul 17 16:43:11 CEST 2006
Author: qboosh Date: Mon Jul 17 14:43:11 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- switched to new numpy package, updated to 0.9.8
old one (Numeric) moved to python-Numeric.spec
---- Files affected:
SPECS:
python-numpy.spec (1.52 -> 1.53)
---- Diffs:
================================================================
Index: SPECS/python-numpy.spec
diff -u SPECS/python-numpy.spec:1.52 SPECS/python-numpy.spec:1.53
--- SPECS/python-numpy.spec:1.52 Mon Jul 17 14:11:09 2006
+++ SPECS/python-numpy.spec Mon Jul 17 16:43:05 2006
@@ -1,19 +1,26 @@
# $Revision$, $Date$
%define module numpy
-%define mname Numeric
Summary: Python numerical facilities
Summary(pl): Moduły do obliczeń numerycznych dla języka Python
Name: python-%{module}
-Version: 24.2
+Version: 0.9.8
Release: 1
+Epoch: 1
License: distributable
Group: Libraries/Python
-Source0: http://dl.sourceforge.net/numpy/%{mname}-%{version}.tar.gz
-# Source0-md5: 2ae672656e06716a149acb048cca3093
+Source0: http://dl.sourceforge.net/numpy/%{module}-%{version}.tar.gz
+# Source0-md5: ca528d2b460a6567d70bb6bdf0dc1805
URL: http://sourceforge.net/projects/numpy/
BuildRequires: python-devel >= 1:2.3
%pyrequires_eq python-libs
+# -- dropped some time ago
+Obsoletes: python-numpy-Properties
+# -- dropped some time ago, should have been released as separate package, but wasn't
+Obsoletes: python-numpy-kinds
+# -- dropped during Numeric->numpy transition
+Obsoletes: python-numpy-MA
+Obsoletes: python-numpy-RNG
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -29,7 +36,7 @@
Summary(pl): Pliki nagłówkowe języka C modułów numerycznych
Group: Development/Languages/Python
%pyrequires_eq python-devel
-Requires: %{name} = %{version}-%{release}
+Requires: %{name} = %{epoch}:%{version}-%{release}
%description devel
C header files for numerical modules.
@@ -42,7 +49,7 @@
Summary(pl): Interfejs do biblioteki FFTPACK języka Fortran
Group: Libraries/Python
%pyrequires_eq python-libs
-Requires: %{name} = %{version}-%{release}
+Requires: %{name} = %{epoch}:%{version}-%{release}
%description FFT
The FFT.py module provides a simple interface to the FFTPACK FORTRAN
@@ -55,84 +62,8 @@
używana do prowadzenia obliczeń za pomocą dyskretnej transformaty
Fouriera na liczba rzeczywistych i zespolonych.
-# -- will be released as separate package
-#%package kinds
-#Summary: Implementation of PEP 0242 - precision and range control of numeric computations
-#Summary(pl): Implementacja propozycji PEP 0242 - możliwość kontrolowania precyzji i zakresu obliczeń numerycznych
-#Group: Libraries/Python
-#%pyrequires_eq python-libs
-#Requires: %{name} = %{version}-%{release}
-#
-#%description kinds
-#This is implementation of PEP 0242. PEP's abstract follows:
-#
-#This proposal gives the user optional control over the precision and
-#range of numeric computations so that a computation can be written
-#once and run anywhere with at least the desired precision and range.
-#It is backward compatible with existing code.
-#
-#%description kinds -l pl
-#Moduł zawiera implementację propozycji PEP 0242. Oto jej streszczenie.
-#
-#Propozycja ta umożliwia użytkownikowi, opcjonalnie, kontrolę nad
-#precyzją i zakresem obliczeń numerycznych. Dzięki temu raz napisane
-#obliczenia mogą być uruchamiane na dowolnej maszynie. Mechanizm jest
-#kompatybilny wstecz z istniejącymi programami.
-
-%package MA
-Summary: MA - a facility for dealing with masked arrays
-Summary(pl): Moduł do obsługi macierzy niepełnych
-Group: Libraries/Python
-%pyrequires_eq python-libs
-Requires: %{name} = %{version}-%{release}
-
-%description MA
-Masked arrays are arrays that may have missing or invalid entries.
-Module MA provides a work-alike replacement for Numeric that supports
-data arrays with masks.
-
-%description MA -l pl
-Macierze niepełne są to macierze, którym może brakować lub mogą
-zawierać niepoprawne wartości. Moduł MA zawiera odpowiednie narzędzia
-do operowania na tego typu macierzach.
-
-# -- removed(?)
-#%package Properties
-#Summary: Property class implementation for Python
-#Summary(pl): Implementacja klasy z właściwościami dla języka Python
-#Group: Libraries/Python
-#%pyrequires_eq python-libs
-#Requires: %{name} = %{version}-%{release}
-#
-#%description Properties
-#PropertiedClass is a mixin class that can be used to emulate
-#properties in a Python class. A property is an attribute whose read,
-#write, or deleting requires special handling. It is also possible to
-#use this facility to prevent the writing or deleting of a property.
-#
-#%description Properties -l pl
-#PropertiedClass jest klasą, która może być użyta do emulacji
-#właściwości w klasach języka Python. Właściwość klasy jest atrybutem,
-#którego czytanie, przypisywanie mu wartości, czy też jego usuwanie
-#powinno być traktowane w sposób specjalny. Mechanizm ten może być też
-#używany w celu ustalenia jakiegoś atrybutu jako tylko do odczytu.
-
-%package RNG
-Summary: Random Number Generator Object for NumPy
-Summary(pl): Obiekt generatora liczb losowych dla modułu NumPy
-Group: Libraries/Python
-%pyrequires_eq python-libs
-Requires: %{name} = %{version}-%{release}
-
-%description RNG
-RNG provides a random number object to Numerical Python.
-
-%description RNG -l pl
-Moduł ten zawiera implementację obiektu generatora liczb losowych dla
-języka Python.
-
%prep
-%setup -q -n %{mname}-%{version}
+%setup -q -n %{module}-%{version}
%build
CC="%{__cc}"; export CC
@@ -147,54 +78,54 @@
%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
+rm -rf $RPM_BUILD_ROOT%{py_sitedir}/%{module}/{*.txt,COMPATIBILITY,scipy_compatibility,doc}
+rm -rf $RPM_BUILD_ROOT%{py_sitedir}/%{module}/*/{tests,docs}
+# already in f2py package
+rm -rf $RPM_BUILD_ROOT{%{_bindir}/f2py,%{py_sitedir}/%{module}/f2py/f2py.1}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%{py_sitedir}/%{mname}.pth
-%dir %{py_sitedir}/%{mname}
-%attr(755,root,root) %{py_sitedir}/%{mname}/*.so
-%dir %{py_sitedir}/%{mname}/Numeric_headers
-%{py_sitedir}/%{mname}/Numeric_headers/__init__.*
-%{py_sitedir}/%{mname}/*.py[co]
-%{py_sitedir}/%{mname}/*.py
+%dir %{py_sitedir}/%{module}
+%{py_sitedir}/%{module}/*.py[co]
+%dir %{py_sitedir}/%{module}/core
+%{py_sitedir}/%{module}/core/*.py[co]
+%attr(755,root,root) %{py_sitedir}/%{module}/core/*.so
+%dir %{py_sitedir}/%{module}/distutils
+%{py_sitedir}/%{module}/distutils/*.py[co]
+%dir %{py_sitedir}/%{module}/distutils/command
+%{py_sitedir}/%{module}/distutils/command/*.py[co]
+%dir %{py_sitedir}/%{module}/distutils/fcompiler
+%{py_sitedir}/%{module}/distutils/fcompiler/*.py[co]
+%dir %{py_sitedir}/%{module}/f2py
+%{py_sitedir}/%{module}/f2py/*.py[co]
+%{py_sitedir}/%{module}/f2py/src
+%dir %{py_sitedir}/%{module}/lib
+%{py_sitedir}/%{module}/lib/*.py[co]
+%attr(755,root,root) %{py_sitedir}/%{module}/lib/*.so
+%dir %{py_sitedir}/%{module}/linalg
+%{py_sitedir}/%{module}/linalg/*.py[co]
+%attr(755,root,root) %{py_sitedir}/%{module}/linalg/*.so
+%dir %{py_sitedir}/%{module}/random
+%{py_sitedir}/%{module}/random/*.py[co]
+%attr(755,root,root) %{py_sitedir}/%{module}/random/*.so
+%dir %{py_sitedir}/%{module}/testing
+%{py_sitedir}/%{module}/testing/*.py[co]
%files devel
%defattr(644,root,root,755)
-%{py_incdir}/%{mname}
+%{py_sitedir}/%{module}/core/include
+%{py_sitedir}/%{module}/random/*.h
%files FFT
%defattr(644,root,root,755)
-%dir %{py_sitedir}/%{mname}/FFT
-%attr(755,root,root) %{py_sitedir}/%{mname}/FFT/*.so
-%{py_sitedir}/%{mname}/FFT/*.py[co]
-%{py_sitedir}/%{mname}/FFT/*.py
-
-#%files kinds
-#%defattr(644,root,root,755)
-#%dir %{py_sitedir}/%{mname}/kinds
-#%attr(755,root,root) %{py_sitedir}/%{mname}/kinds/*.so
-#%{py_sitedir}/%{mname}/kinds/*.py[co]
-
-%files MA
-%defattr(644,root,root,755)
-%dir %{py_sitedir}/%{mname}/MA
-%{py_sitedir}/%{mname}/MA/*.py[co]
-%{py_sitedir}/%{mname}/MA/*.py
-
-#%files Properties
-#%defattr(644,root,root,755)
-#%dir %{py_sitedir}/%{mname}/PropertiedClasses
-#%{py_sitedir}/%{mname}/PropertiedClasses/*.py[co]
-
-%files RNG
-%defattr(644,root,root,755)
-%dir %{py_sitedir}/%{mname}/RNG
-%attr(755,root,root) %{py_sitedir}/%{mname}/RNG/*.so
-%{py_sitedir}/%{mname}/RNG/*.py[co]
-%{py_sitedir}/%{mname}/RNG/*.py
+%dir %{py_sitedir}/%{module}/dft
+%attr(755,root,root) %{py_sitedir}/%{module}/dft/*.so
+%{py_sitedir}/%{module}/dft/*.py[co]
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -202,6 +133,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.53 2006/07/17 14:43:05 qboosh
+- switched to new numpy package, updated to 0.9.8
+ old one (Numeric) moved to python-Numeric.spec
+
Revision 1.52 2006/07/17 12:11:09 qboosh
- missing dir
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/python-numpy.spec?r1=1.52&r2=1.53&f=u
More information about the pld-cvs-commit
mailing list