[521] | 1 | %define name python-numeric |
---|
| 2 | %define version 24.2 |
---|
| 3 | %define release 2%{?_dist_release} |
---|
| 4 | |
---|
| 5 | Summary: Numerical Extension to Python |
---|
| 6 | Name: %{name} |
---|
| 7 | Version: %{version} |
---|
| 8 | Release: %{release} |
---|
| 9 | License: Python |
---|
| 10 | URL: http://numpy.sourceforge.net |
---|
| 11 | Group: Development/Languages |
---|
| 12 | Source0: Numeric-%{version}.tar.gz |
---|
| 13 | Source1: numpy.pdf.bz2 |
---|
| 14 | Patch: Numeric-23.7-blasfix.patch |
---|
| 15 | |
---|
| 16 | Requires: python |
---|
| 17 | BuildRequires: python-devel >= 2.6 |
---|
| 18 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | A collection of extension modules to provide high-performance multidimensional |
---|
| 22 | numeric arrays to the Python programming language. |
---|
| 23 | |
---|
| 24 | %package devel |
---|
| 25 | Summary: Development files for Python numerical facilities |
---|
| 26 | Group: Development/Libraries |
---|
| 27 | Requires: %{name} = %{version}-%{release} |
---|
| 28 | |
---|
| 29 | %description devel |
---|
| 30 | A collection of extension modules to provide high-performance multidimensional |
---|
| 31 | numeric arrays to the Python programming language. |
---|
| 32 | |
---|
| 33 | Devel files |
---|
| 34 | |
---|
| 35 | %prep |
---|
| 36 | %setup -q -n Numeric-%{version} |
---|
| 37 | #patch -p1 -b .blasfix |
---|
| 38 | cp %{SOURCE1} . |
---|
| 39 | bunzip2 numpy.pdf.bz2 |
---|
| 40 | |
---|
| 41 | %build |
---|
| 42 | env CFLAGS="$RPM_OPT_FLAGS" /usr/bin/python setup.py build |
---|
| 43 | #python setup.py build |
---|
| 44 | #for Package in FFT LALITE MA RANLIB RNG; do |
---|
| 45 | # (cd Packages/$Package; python setup.py build) |
---|
| 46 | #done |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | %install |
---|
| 50 | rm -rf $RPM_BUILD_ROOT |
---|
| 51 | |
---|
| 52 | python setup.py install --root=$RPM_BUILD_ROOT |
---|
| 53 | #for Package in FFT LALITE MA RANLIB RNG; do |
---|
| 54 | # (cd Packages/$Package; python setup.py install --root=%{buildroot}) |
---|
| 55 | #done |
---|
| 56 | |
---|
| 57 | %clean |
---|
| 58 | rm -rf %{buildroot} |
---|
| 59 | |
---|
| 60 | %files |
---|
| 61 | %defattr(-, root, root) |
---|
| 62 | %doc MANIFEST README Demo numpy.pdf |
---|
| 63 | %{_libdir}/python*/site-packages/Numeric |
---|
| 64 | %{_libdir}/python*/site-packages/Numeric.pth |
---|
| 65 | |
---|
| 66 | %files devel |
---|
| 67 | %defattr(-, root, root) |
---|
| 68 | %{_includedir}/python*/Numeric |
---|
| 69 | |
---|
| 70 | %changelog |
---|
| 71 | * Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 24.2-2 |
---|
| 72 | - build for python-2.6 |
---|
| 73 | |
---|
| 74 | * Sun Jul 20 2008 Shu KONNO <owa@bg.wakwak.com> 24.2-1vl5 |
---|
| 75 | - rebuilt with python-2.5.2 |
---|
| 76 | - applied new versioning policy |
---|
| 77 | |
---|
| 78 | * Sun Jun 3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 24.2-0vl2 |
---|
| 79 | - rebuilt for VineSeed |
---|
| 80 | |
---|
| 81 | * Sun Jun 3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 24.2-0vl1 |
---|
| 82 | - new upstream release |
---|
| 83 | |
---|
| 84 | * Thu Nov 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 23.7-1vl3 |
---|
| 85 | - added Requires: %{name} = %{version}-%{release} to devel package |
---|
| 86 | |
---|
| 87 | * Sun Jun 18 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 23.7-1vl2 |
---|
| 88 | - rebuild with python-2.4.3 |
---|
| 89 | - changed Group of devel package |
---|
| 90 | |
---|
| 91 | * Thu Apr 7 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 23.7-1vl0.1 |
---|
| 92 | - rebuild for Vine Plus/3.0 |
---|
| 93 | |
---|
| 94 | * Mon Apr 4 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 23.7-1vl1 |
---|
| 95 | - build with python-2.4 |
---|
| 96 | - s/Copyright/License/ |
---|
| 97 | - updated URL: |
---|
| 98 | - added Patch from Fedora Core |
---|
| 99 | |
---|
| 100 | * Fri Feb 1 2002 Jun Nishii <jun@vinelinux.org> 17.2.0-0vl1 |
---|
| 101 | - downgrade to make with python-1.5.x |
---|
| 102 | |
---|
| 103 | * Fri Jan 25 2002 Lenny Cartier <lenny@mandrakesoft.com> 20.3-2mdk |
---|
| 104 | - fix permission on source files |
---|
| 105 | |
---|
| 106 | * Fri Jan 11 2002 Lenny Cartier <lenny@mandrakesoft.com> 20.3-1mdk |
---|
| 107 | - updated by RA <> 20.3-1mdk : |
---|
| 108 | - update |
---|
| 109 | - fixed doc file name |
---|
| 110 | |
---|
| 111 | * Fri Sep 28 2001 RA <ralf_ahlbrink@web.de> 20.2.1-1mdk |
---|
| 112 | - Release 20.2.1 |
---|
| 113 | - new docs |
---|
| 114 | |
---|
| 115 | * Mon Aug 20 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 20.1.0-1mdk |
---|
| 116 | - Release 20.1.0 |
---|
| 117 | |
---|
| 118 | * Mon Jul 30 2001 Lenny Cartier <lenny@mandrakesoft.com> 17.3.0-4mdk |
---|
| 119 | - rebuild |
---|
| 120 | |
---|
| 121 | * Tue Apr 03 2001 Lenny Cartier <lenny@mandrakesoft.com> 17.3.0-3mdk |
---|
| 122 | - remove patch condition if LAPACK/BLAS is present (thx G.Vermeulen) |
---|
| 123 | |
---|
| 124 | * Sat Mar 17 2001 Lenny Cartier <lenny@mandrakesoft.com> 17.3.0-2mdk |
---|
| 125 | - split package |
---|
| 126 | |
---|
| 127 | * Thu Feb 22 2001 Lenny Cartier <lenny@mandrakesoft.com> 17.3.0-1mdk |
---|
| 128 | - updated to 17.3.0 |
---|
| 129 | - used patches from Gerard Vermeulen <gvermeul@labs.polycnrs-gre.fr> |
---|
| 130 | |
---|
| 131 | * Mon Feb 12 2001 Lenny Cartier <lenny@mandrakesoft.com> 17.2.0-1mdk |
---|
| 132 | - used srpm from Gerard Vermeulen <gvermeul@labs.polycnrs-gre.fr> |
---|
| 133 | - updated to 17.2.0 |
---|
| 134 | |
---|
| 135 | * Mon Jan 15 2001 Lenny Cartier <lenny@mandrakesoft.com> 17.0-1mdk |
---|
| 136 | - new in contribs |
---|
| 137 | |
---|
| 138 | * Fri Oct 27 2000 Gerard Vermeulen <gvermeul@labs.polycnrs-gre.fr> 17.1.1-1gv |
---|
| 139 | - CVS-source sucked on Oct 27 2000 |
---|
| 140 | - fix: depends on '#include "Numeric/arrayobject.h"' being installed |
---|
| 141 | - fix: Fortran LAPACK/BLAS |
---|
| 142 | - FIXME: Gist? |
---|
| 143 | |
---|