[packages/python-Numeric] Revert "- obsoleted by python-numpy 5 years ago"

glen glen at pld-linux.org
Mon Dec 30 09:19:32 CET 2013


commit f75801852c334b48cf16788b671529c8c02006f7
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Dec 30 10:09:23 2013 +0200

    Revert "- obsoleted by python-numpy 5 years ago"
    
    This reverts commit 803b1beb485ef47e54ef5b782fc42f06c0377255.

 python-Numeric.spec | 161 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 161 insertions(+)
---
diff --git a/python-Numeric.spec b/python-Numeric.spec
new file mode 100644
index 0000000..63b2c93
--- /dev/null
+++ b/python-Numeric.spec
@@ -0,0 +1,161 @@
+%define		module	Numeric
+
+Summary:	Python numerical facilities
+Summary(pl.UTF-8):	Moduły do obliczeń numerycznych dla języka Python
+Name:		python-%{module}
+Version:	24.2
+Release:	9
+License:	distributable
+Group:		Libraries/Python
+Source0:	http://dl.sourceforge.net/numpy/%{module}-%{version}.tar.gz
+# Source0-md5:	2ae672656e06716a149acb048cca3093
+URL:		http://sourceforge.net/projects/numpy/
+BuildRequires:	python-devel >= 1:2.3
+BuildRequires:	python-modules
+BuildRequires:	rpm-pythonprov
+%pyrequires_eq	python-libs
+Obsoletes:	python-numpy <= 0:24.2
+# dropped some time ago
+Obsoletes:	python-numpy-Properties
+# dropped some time ago, should have been "released as separate package", but finally wasn't
+Obsoletes:	python-numpy-kinds <= 0:24.2
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+NumPy is a collection of extension modules to provide high-performance
+multidimensional numeric arrays to the Python programming language.
+
+%description -l pl.UTF-8
+Pakiet umożliwia wydajne obliczenia numeryczne na macierzach
+wielowymiarowych.
+
+%package devel
+Summary:	C header files for numerical modules
+Summary(pl.UTF-8):	Pliki nagłówkowe języka C modułów numerycznych
+Group:		Development/Languages/Python
+%pyrequires_eq	python-devel
+Requires:	%{name} = %{version}-%{release}
+Obsoletes:	python-numpy-devel <= 0:24.2
+
+%description devel
+C header files for numerical modules.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe języka C modułów numerycznych.
+
+%package FFT
+Summary:	Interface to the FFTPACK FORTRAN library
+Summary(pl.UTF-8):	Interfejs do biblioteki FFTPACK języka Fortran
+Group:		Libraries/Python
+%pyrequires_eq	python-libs
+Requires:	%{name} = %{version}-%{release}
+Obsoletes:	python-numpy-FFT <= 0:24.2
+
+%description FFT
+The FFT.py module provides a simple interface to the FFTPACK FORTRAN
+library, which is a powerful standard library for doing fast Fourier
+transforms of real and complex data sets.
+
+%description FFT -l pl.UTF-8
+Moduł FFT zawiera prosty interfejs do biblioteki FFTPACK języka
+Fortran. Ta biblioteka o wysokich możliwościach jest standardowo
+używana do prowadzenia obliczeń za pomocą dyskretnej transformaty
+Fouriera na liczba rzeczywistych i zespolonych.
+
+%package MA
+Summary:	MA - a facility for dealing with masked arrays
+Summary(pl.UTF-8):	Moduł do obsługi macierzy niepełnych
+Group:		Libraries/Python
+%pyrequires_eq	python-libs
+Requires:	%{name} = %{version}-%{release}
+Obsoletes:	python-numpy-MA <= 0:24.2
+
+%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.UTF-8
+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.
+
+%package RNG
+Summary:	Random Number Generator Object for NumPy
+Summary(pl.UTF-8):	Obiekt generatora liczb losowych dla modułu NumPy
+Group:		Libraries/Python
+%pyrequires_eq	python-libs
+Requires:	%{name} = %{version}-%{release}
+Obsoletes:	python-numpy-RNG <= 0:24.2
+
+%description RNG
+RNG provides a random number object to Numerical Python.
+
+%description RNG -l pl.UTF-8
+Moduł ten zawiera implementację obiektu generatora liczb losowych dla
+języka Python.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+CC="%{__cc}"; export CC
+CFLAGS="%{rpmcflags}"; export CFLAGS
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+	--root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{py_sitedir}/%{module}.pth
+%dir %{py_sitedir}/%{module}
+%attr(755,root,root) %{py_sitedir}/%{module}/*.so
+%dir %{py_sitedir}/%{module}/Numeric_headers
+%{py_sitedir}/%{module}/Numeric_headers/__init__.*
+%{py_sitedir}/%{module}/*.py[co]
+%{py_sitedir}/%{module}/*.py
+
+%files devel
+%defattr(644,root,root,755)
+%{py_incdir}/%{module}
+
+%files FFT
+%defattr(644,root,root,755)
+%dir %{py_sitedir}/%{module}/FFT
+%attr(755,root,root) %{py_sitedir}/%{module}/FFT/*.so
+%{py_sitedir}/%{module}/FFT/*.py[co]
+%{py_sitedir}/%{module}/FFT/*.py
+
+#%files kinds
+#%defattr(644,root,root,755)
+#%dir %{py_sitedir}/%{module}/kinds
+#%attr(755,root,root) %{py_sitedir}/%{module}/kinds/*.so
+#%{py_sitedir}/%{module}/kinds/*.py[co]
+
+%files MA
+%defattr(644,root,root,755)
+%dir %{py_sitedir}/%{module}/MA
+%{py_sitedir}/%{module}/MA/*.py[co]
+%{py_sitedir}/%{module}/MA/*.py
+
+#%files Properties
+#%defattr(644,root,root,755)
+#%dir %{py_sitedir}/%{module}/PropertiedClasses
+#%{py_sitedir}/%{module}/PropertiedClasses/*.py[co]
+
+%files RNG
+%defattr(644,root,root,755)
+%dir %{py_sitedir}/%{module}/RNG
+%attr(755,root,root) %{py_sitedir}/%{module}/RNG/*.so
+%{py_sitedir}/%{module}/RNG/*.py[co]
+%{py_sitedir}/%{module}/RNG/*.py
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-Numeric.git/commitdiff/7ae20a0b4d3c07982b04cdbd39ecaced52198a30



More information about the pld-cvs-commit mailing list