rpms/python-numarray/devel python-numarray.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Orion Poplawski (orion) fedora-extras-commits at redhat.com
Thu Aug 11 20:20:54 UTC 2005


Author: orion

Update of /cvs/extras/rpms/python-numarray/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12918/devel

Modified Files:
	.cvsignore sources 
Added Files:
	python-numarray.spec 
Log Message:
auto-import python-numarray-1.3.3-3 on branch devel from python-numarray-1.3.3-3.src.rpm


--- NEW FILE python-numarray.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_siteinc: %define python_siteinc %(%{__python} -c "from distutils.sysconfig import get_python_inc; print get_python_inc()")}

Name:           python-numarray
Version:        1.3.3
Release:        3%{?dist}
Summary:        Python array manipulation and computational library

Group:          Development/Languages
License:        Distributable
URL:            http://www.stsci.edu/resources/software_hardware/numarray
Source0:        http://dl.sf.net/numpy/numarray-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  python-devel
Requires:   python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")
Provides:   %{name}-devel = %{version}-%{release}

%description
Numarray provides array manipulation and computational capabilities
similar to those found in IDL, Matlab, or Octave. Using numarray, it is
possible to write many efficient numerical data processing applications
directly in Python without using any C, C++ or Fortran code (as well as
doing such analysis interactively within Python or PyRAF). For algorithms
that are not well suited for efficient computation using array facilities
it is possible to write C functions (and eventually Fortran) that can
read and write numarray arrays that can be called from Python.


%prep
%setup -q -n numarray-%{version}
find -name \*~ | xargs rm -f

%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
chmod +x $RPM_BUILD_ROOT%{python_sitelib}/numarray/examples/convolve/benchmark.py

 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc LICENSE.txt README.txt Doc/*
%{python_siteinc}/numarray/
%dir %{python_sitelib}/numarray
%{python_sitelib}/numarray/LICENSE.txt
%{python_sitelib}/numarray/*.py
%{python_sitelib}/numarray/*.pyc
%{python_sitelib}/numarray/*.so
%{python_sitelib}/numarray/testdata.fits
%ghost %{python_sitelib}/numarray/*.pyo
%dir %{python_sitelib}/numarray/convolve
%{python_sitelib}/numarray/convolve/*.py
%{python_sitelib}/numarray/convolve/*.pyc
%{python_sitelib}/numarray/convolve/*.so
%ghost %{python_sitelib}/numarray/convolve/*.pyo
%dir %{python_sitelib}/numarray/fft
%{python_sitelib}/numarray/fft/*.py
%{python_sitelib}/numarray/fft/*.pyc
%{python_sitelib}/numarray/fft/*.so
%ghost %{python_sitelib}/numarray/fft/*.pyo
%dir %{python_sitelib}/numarray/examples
%{python_sitelib}/numarray/examples/*.py
%{python_sitelib}/numarray/examples/*.pyc
%ghost %{python_sitelib}/numarray/examples/*.pyo
%dir %{python_sitelib}/numarray/examples/convolve
%{python_sitelib}/numarray/examples/convolve/*.py
%{python_sitelib}/numarray/examples/convolve/*.pyc
%{python_sitelib}/numarray/examples/convolve/*.so
%ghost %{python_sitelib}/numarray/examples/convolve/*.pyo
%dir %{python_sitelib}/numarray/nd_image
%{python_sitelib}/numarray/nd_image/*.py
%{python_sitelib}/numarray/nd_image/*.pyc
%{python_sitelib}/numarray/nd_image/*.so
%ghost %{python_sitelib}/numarray/nd_image/*.pyo
%dir %{python_sitelib}/numarray/image
%{python_sitelib}/numarray/image/*.py
%{python_sitelib}/numarray/image/*.pyc
%{python_sitelib}/numarray/image/*.so
%ghost %{python_sitelib}/numarray/image/*.pyo
%dir %{python_sitelib}/numarray/mlab
%{python_sitelib}/numarray/mlab/*.py
%{python_sitelib}/numarray/mlab/*.pyc
%ghost %{python_sitelib}/numarray/mlab/*.pyo
%dir %{python_sitelib}/numarray/matrix
%{python_sitelib}/numarray/matrix/*.py
%{python_sitelib}/numarray/matrix/*.pyc
%ghost %{python_sitelib}/numarray/matrix/*.pyo
%dir %{python_sitelib}/numarray/linear_algebra
%{python_sitelib}/numarray/linear_algebra/*.py
%{python_sitelib}/numarray/linear_algebra/*.pyc
%{python_sitelib}/numarray/linear_algebra/*.so
%ghost %{python_sitelib}/numarray/linear_algebra/*.pyo
%dir %{python_sitelib}/numarray/ma
%{python_sitelib}/numarray/ma/*.py
%{python_sitelib}/numarray/ma/*.pyc
%{python_sitelib}/numarray/ma/Legal.htm
%ghost %{python_sitelib}/numarray/ma/*.pyo
%dir %{python_sitelib}/numarray/random_array
%{python_sitelib}/numarray/random_array/*.py
%{python_sitelib}/numarray/random_array/*.pyc
%{python_sitelib}/numarray/random_array/*.so
%ghost %{python_sitelib}/numarray/random_array/*.pyo
%dir %{python_sitelib}/numarray/codegenerator
%{python_sitelib}/numarray/codegenerator/*.py
%{python_sitelib}/numarray/codegenerator/*.pyc
%ghost %{python_sitelib}/numarray/codegenerator/*.pyo


%changelog
* Thu Aug 11 2005 - Orion Poplawski <orion at cora.nwra.com> - 1.3.3-3
- Properly %ghost .pyo files

* Tue Aug 09 2005 - Orion Poplawski <orion at cora.nwra.com> - 1.3.3-2
- Cleanup
- Added -devel provides

* Tue Aug 02 2005 - Orion Poplawski <orion at cora.nwra.com> - 1.3.3-1
- Initial release for Fedora Extras


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-numarray/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	11 Aug 2005 20:20:17 -0000	1.1
+++ .cvsignore	11 Aug 2005 20:20:52 -0000	1.2
@@ -0,0 +1 @@
+numarray-1.3.3.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-numarray/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	11 Aug 2005 20:20:17 -0000	1.1
+++ sources	11 Aug 2005 20:20:52 -0000	1.2
@@ -0,0 +1 @@
+2286f5dbccebd4ba743915e9e1d30856  numarray-1.3.3.tar.gz




More information about the scm-commits mailing list