arpack-vl.spec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. %define pkg_name arpack
  2. %define pkg_version 3.2.0
  3. %define pkg_release 2%{?_dist_release}
  4. Summary: A collection of Fortran77 subroutines designed to solve large scale eigenvalue problems
  5. Name: %{pkg_name}
  6. Version: %{pkg_version}
  7. Release: %{pkg_release}
  8. License: BSD Software License
  9. Group: System Environment/Libraries
  10. URL: https://github.com/opencollab/arpack-ng
  11. Source0: %{name}-ng-%{version}.tar.gz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: gcc-gfortran
  14. BuildRequires: blas-devel lapack-devel
  15. Requires: blas lapack
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: ara_t
  19. %description
  20. ARPACK-NG is a collection of Fortran77 subroutines designed to solve
  21. large scale eigenvalue problems.
  22. Important Features:
  23. * Reverse Communication Interface.
  24. * Single and Double Precision Real Arithmetic Versions for Symmetric,
  25. Non-symmetric, Standard or Generalized Problems.
  26. * Single and Double Precision Complex Arithmetic Versions for Standard or
  27. Generalized Problems.
  28. * Routines for Banded Matrices - Standard or Generalized Problems.
  29. * Routines for The Singular Value Decomposition.
  30. * Example driver routines that may be used as templates to implement numerous
  31. Shift-Invert strategies for all problem types, data types and precision.
  32. This project is a joint project between Debian, Octave and Scilab in order to
  33. provide a common and maintained version of arpack.
  34. %prep
  35. %{__rm} -rf ${RPM_BUILD_ROOT}
  36. %setup -q -n %{name}-ng-%{version}
  37. %build
  38. %{configure} \
  39. --enable-shared \
  40. --disable-static
  41. %{__make}
  42. %install
  43. %{make_install}
  44. %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/*.la
  45. %clean
  46. %{__rm} -rf ${RPM_BUILD_ROOT}
  47. %post -p %{_syssbindir}/ldconfig
  48. %postun -p %{_syssbindir}/ldconfig
  49. %files
  50. %defattr(-,root,root)
  51. %doc CHANGES COPYING README TODO
  52. %{_libdir}/libarpack.so*
  53. %{_libdir}/pkgconfig/arpack.pc
  54. %changelog
  55. * Mon Apr 11 2016 Toshiaki Ara <ara_t@384.jp> 3.2.0-2
  56. - correct SPEC file
  57. * Sat Mar 19 2016 Toshiaki Ara <ara_t@384.jp> 3.2.0-1
  58. - new package