python-numeric-vl.spec 4.0 KB

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