python-numeric-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. Summary: Numerical Extension to Python
  2. Name: python-numeric
  3. Version: 24.2
  4. Release: 5%{?_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. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 24.2-5
  56. - rebuild with VineSeed environment
  57. * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 24.2-4
  58. - rebuild with python-2.7.2
  59. * Sat Apr 16 2011 Shu KONNO <owa@bg.wakwak.com> 24.2-3
  60. - rebuilt with rpm-4.8.1-3
  61. * Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 24.2-2
  62. - build for python-2.6
  63. * Sun Jul 20 2008 Shu KONNO <owa@bg.wakwak.com> 24.2-1vl5
  64. - rebuilt with python-2.5.2
  65. - applied new versioning policy
  66. * Sun Jun 3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 24.2-0vl2
  67. - rebuilt for VineSeed
  68. * Sun Jun 3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 24.2-0vl1
  69. - new upstream release
  70. * Thu Nov 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 23.7-1vl3
  71. - added Requires: %{name} = %{version}-%{release} to devel package
  72. * Sun Jun 18 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 23.7-1vl2
  73. - rebuild with python-2.4.3
  74. - changed Group of devel package
  75. * Thu Apr 7 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 23.7-1vl0.1
  76. - rebuild for Vine Plus/3.0
  77. * Mon Apr 4 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 23.7-1vl1
  78. - build with python-2.4
  79. - s/Copyright/License/
  80. - updated URL:
  81. - added Patch from Fedora Core
  82. * Fri Feb 1 2002 Jun Nishii <jun@vinelinux.org> 17.2.0-0vl1
  83. - downgrade to make with python-1.5.x
  84. * Fri Jan 25 2002 Lenny Cartier <lenny@mandrakesoft.com> 20.3-2mdk
  85. - fix permission on source files
  86. * Fri Jan 11 2002 Lenny Cartier <lenny@mandrakesoft.com> 20.3-1mdk
  87. - updated by RA <> 20.3-1mdk :
  88. - update
  89. - fixed doc file name
  90. * Fri Sep 28 2001 RA <ralf_ahlbrink@web.de> 20.2.1-1mdk
  91. - Release 20.2.1
  92. - new docs
  93. * Mon Aug 20 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 20.1.0-1mdk
  94. - Release 20.1.0
  95. * Mon Jul 30 2001 Lenny Cartier <lenny@mandrakesoft.com> 17.3.0-4mdk
  96. - rebuild
  97. * Tue Apr 03 2001 Lenny Cartier <lenny@mandrakesoft.com> 17.3.0-3mdk
  98. - remove patch condition if LAPACK/BLAS is present (thx G.Vermeulen)
  99. * Sat Mar 17 2001 Lenny Cartier <lenny@mandrakesoft.com> 17.3.0-2mdk
  100. - split package
  101. * Thu Feb 22 2001 Lenny Cartier <lenny@mandrakesoft.com> 17.3.0-1mdk
  102. - updated to 17.3.0
  103. - used patches from Gerard Vermeulen <gvermeul@labs.polycnrs-gre.fr>
  104. * Mon Feb 12 2001 Lenny Cartier <lenny@mandrakesoft.com> 17.2.0-1mdk
  105. - used srpm from Gerard Vermeulen <gvermeul@labs.polycnrs-gre.fr>
  106. - updated to 17.2.0
  107. * Mon Jan 15 2001 Lenny Cartier <lenny@mandrakesoft.com> 17.0-1mdk
  108. - new in contribs
  109. * Fri Oct 27 2000 Gerard Vermeulen <gvermeul@labs.polycnrs-gre.fr> 17.1.1-1gv
  110. - CVS-source sucked on Oct 27 2000
  111. - fix: depends on '#include "Numeric/arrayobject.h"' being installed
  112. - fix: Fortran LAPACK/BLAS
  113. - FIXME: Gist?