newmat-vl.spec 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. Summary: C++ matrics library
  2. Summary(ja): C++ 行列演算ライブラリ
  3. Name: newmat
  4. Version: 1.1
  5. Release: 0vl1
  6. URL: http://robertnz.net
  7. Source: newmat11.tar.gz
  8. License: distributable
  9. Group: Development/Libraries
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gcc-c++
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. %description
  15. C++ Matrix Library. This package is intended for scientists and
  16. engineers who need to manipulate a variety of types of matrices
  17. using standard matrix operations. Emphasis is on the kind of
  18. operations needed in statistical calculations such as least
  19. squares, linear equation solve and eigenvalues.
  20. %description -l ja
  21. C++ の行列演算ライブラリです.逆行列,固有値の計算,線形方程式の
  22. 解等,行列の各種演算を行うことができます.
  23. %prep
  24. %setup -q -c -n newmat-%{version}
  25. #patch -p0
  26. #patch1 -p1
  27. #mkdir html
  28. #tar xzvf %{SOURCE1} -C html
  29. %build
  30. #make -f gnu.mak libnewmat.a
  31. make -f nm_gnu.mak libnewmat.a CXXFLAGS="${RPM_OPT_FLAGS} -Wall"
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. mkdir -p $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/newmat}
  35. install libnewmat.a $RPM_BUILD_ROOT%{_libdir}
  36. install include.h $RPM_BUILD_ROOT%{_includedir}/newmat/
  37. install myexcept.h $RPM_BUILD_ROOT%{_includedir}/newmat/
  38. install newmat.h $RPM_BUILD_ROOT%{_includedir}/newmat/
  39. install newmatap.h $RPM_BUILD_ROOT%{_includedir}/newmat/
  40. install newmatio.h $RPM_BUILD_ROOT%{_includedir}/newmat/
  41. install newmatnl.h $RPM_BUILD_ROOT%{_includedir}/newmat/
  42. install newmatrc.h $RPM_BUILD_ROOT%{_includedir}/newmat/
  43. install newmatrm.h $RPM_BUILD_ROOT%{_includedir}/newmat/
  44. install precisio.h $RPM_BUILD_ROOT%{_includedir}/newmat/
  45. install solution.h $RPM_BUILD_ROOT%{_includedir}/newmat/
  46. %clean
  47. rm -rf $RPM_BUILD_ROOT
  48. %files
  49. %defattr(-,root,root)
  50. %doc readme.txt nm11.htm rbd.css
  51. %{_libdir}/libnewmat.a
  52. %{_includedir}/newmat/*
  53. %changelog
  54. * Mon Aug 6 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.1-0vl1
  55. - new upstream release
  56. - rebuilt with new toolchain
  57. - changed Group to Development/Libraries
  58. - s/Copyright/License/
  59. - updated URL
  60. * Thu Sep 21 2000 Jun Nishii <jun@vinelinux.org>
  61. - 1.0-0vl1
  62. * Sun Jun 11 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  63. - 0.9-1vl1
  64. - added a patch for gcc-2.95.x environment