Browse Source

arpack: update to 3.6.0

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11709 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 4 years ago
parent
commit
87b3cc9ab0
1 changed files with 33 additions and 4 deletions
  1. 33 4
      a/arpack/arpack-vl.spec

+ 33 - 4
a/arpack/arpack-vl.spec

@@ -1,6 +1,6 @@
 %define pkg_name    arpack
-%define pkg_version 3.2.0
-%define pkg_release 2%{?_dist_release}
+%define pkg_version 3.6.0
+%define pkg_release 1%{?_dist_release}
 
 Summary: A collection of Fortran77 subroutines designed to solve large scale eigenvalue problems
 Name:    %{pkg_name}
@@ -13,6 +13,7 @@ URL:     https://github.com/opencollab/arpack-ng
 Source0: %{name}-ng-%{version}.tar.gz
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: cmake
 BuildRequires: gcc-gfortran
 BuildRequires: blas-devel lapack-devel
 Requires: blas lapack
@@ -42,11 +43,25 @@ This project is a joint project between Debian, Octave and Scilab in order to
 provide a common and maintained version of arpack.
 
 
+%package devel
+Summary:     Header files for arpack library
+Summary(ja): arpack ライブラリのヘッダファイル
+Group:       Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for %{name} library.
+
+%description devel -l ja
+%{name}のヘッダーファイル
+
+
 %prep
 %{__rm} -rf ${RPM_BUILD_ROOT}
 %setup -q -n %{name}-ng-%{version}
 
 %build
+./bootstrap
 %{configure} \
  --enable-shared \
  --disable-static
@@ -65,12 +80,26 @@ provide a common and maintained version of arpack.
 
 %files
 %defattr(-,root,root)
-%doc CHANGES COPYING README TODO
-%{_libdir}/libarpack.so*
+%doc CHANGES COPYING README.md TODO
+%doc DOCUMENTS EXAMPLES
+%{_libdir}/libarpack.so.*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/
+%{_libdir}/libarpack.so
 %{_libdir}/pkgconfig/arpack.pc
 
 
 %changelog
+* Wed Jun 06 2018 Toshiaki Ara <ara_t@384.jp> 3.6.0-1
+- update to 3.6.0
+- separate subpackage arpack-devel
+
+* Thu Jul 28 2016 Toshiaki Ara <ara_t@384.jp> 3.4.0-1
+- update to 3.4.0 for VineSeed
+- add BuildRequires: cmake
+
 * Mon Apr 11 2016 Toshiaki Ara <ara_t@384.jp> 3.2.0-2
 - correct SPEC file