|
@@ -1,6 +1,6 @@
|
|
%define pkg_name arpack
|
|
%define pkg_name arpack
|
|
-%define pkg_version 3.2.0
|
|
+%define pkg_version 3.6.0
|
|
-%define pkg_release 2%{?_dist_release}
|
|
+%define pkg_release 1%{?_dist_release}
|
|
|
|
|
|
Summary: A collection of Fortran77 subroutines designed to solve large scale eigenvalue problems
|
|
Summary: A collection of Fortran77 subroutines designed to solve large scale eigenvalue problems
|
|
Name: %{pkg_name}
|
|
Name: %{pkg_name}
|
|
@@ -13,6 +13,7 @@ URL: https://github.com/opencollab/arpack-ng
|
|
Source0: %{name}-ng-%{version}.tar.gz
|
|
Source0: %{name}-ng-%{version}.tar.gz
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
+BuildRequires: cmake
|
|
BuildRequires: gcc-gfortran
|
|
BuildRequires: gcc-gfortran
|
|
BuildRequires: blas-devel lapack-devel
|
|
BuildRequires: blas-devel lapack-devel
|
|
Requires: blas lapack
|
|
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.
|
|
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
|
|
%prep
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
%setup -q -n %{name}-ng-%{version}
|
|
%setup -q -n %{name}-ng-%{version}
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
+./bootstrap
|
|
%{configure} \
|
|
%{configure} \
|
|
--enable-shared \
|
|
--enable-shared \
|
|
--disable-static
|
|
--disable-static
|
|
@@ -65,12 +80,26 @@ provide a common and maintained version of arpack.
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%doc CHANGES COPYING README TODO
|
|
+%doc CHANGES COPYING README.md TODO
|
|
-%{_libdir}/libarpack.so*
|
|
+%doc DOCUMENTS EXAMPLES
|
|
|
|
+%{_libdir}/libarpack.so.*
|
|
|
|
+
|
|
|
|
+%files devel
|
|
|
|
+%defattr(-,root,root)
|
|
|
|
+%{_includedir}/
|
|
|
|
+%{_libdir}/libarpack.so
|
|
%{_libdir}/pkgconfig/arpack.pc
|
|
%{_libdir}/pkgconfig/arpack.pc
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%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
|
|
* Mon Apr 11 2016 Toshiaki Ara <ara_t@384.jp> 3.2.0-2
|
|
- correct SPEC file
|
|
- correct SPEC file
|
|
|
|
|