1 | %define pkg_name arpack |
---|
2 | %define pkg_version 3.6.3 |
---|
3 | %define pkg_release 1%{?_dist_release} |
---|
4 | |
---|
5 | Summary: A collection of Fortran77 subroutines designed to solve large scale eigenvalue problems |
---|
6 | Name: %{pkg_name} |
---|
7 | Version: %{pkg_version} |
---|
8 | Release: %{pkg_release} |
---|
9 | |
---|
10 | License: BSD Software License |
---|
11 | Group: System Environment/Libraries |
---|
12 | URL: https://github.com/opencollab/arpack-ng |
---|
13 | Source0: %{name}-ng-%{version}.tar.gz |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | BuildRequires: cmake |
---|
17 | BuildRequires: gcc-gfortran |
---|
18 | BuildRequires: blas-devel lapack-devel |
---|
19 | Requires: blas lapack |
---|
20 | |
---|
21 | Vendor: Project Vine |
---|
22 | Distribution: Vine Linux |
---|
23 | Packager: ara_t |
---|
24 | |
---|
25 | |
---|
26 | %description |
---|
27 | ARPACK-NG is a collection of Fortran77 subroutines designed to solve |
---|
28 | large scale eigenvalue problems. |
---|
29 | |
---|
30 | Important Features: |
---|
31 | |
---|
32 | * Reverse Communication Interface. |
---|
33 | * Single and Double Precision Real Arithmetic Versions for Symmetric, |
---|
34 | Non-symmetric, Standard or Generalized Problems. |
---|
35 | * Single and Double Precision Complex Arithmetic Versions for Standard or |
---|
36 | Generalized Problems. |
---|
37 | * Routines for Banded Matrices - Standard or Generalized Problems. |
---|
38 | * Routines for The Singular Value Decomposition. |
---|
39 | * Example driver routines that may be used as templates to implement numerous |
---|
40 | Shift-Invert strategies for all problem types, data types and precision. |
---|
41 | |
---|
42 | This project is a joint project between Debian, Octave and Scilab in order to |
---|
43 | provide a common and maintained version of arpack. |
---|
44 | |
---|
45 | |
---|
46 | %package devel |
---|
47 | Summary: Header files for arpack library |
---|
48 | Summary(ja): arpack ライブラリのヘッダファイル |
---|
49 | Group: Development/Libraries |
---|
50 | Requires: %{name} = %{version}-%{release} |
---|
51 | |
---|
52 | %description devel |
---|
53 | Header files for %{name} library. |
---|
54 | |
---|
55 | %description devel -l ja |
---|
56 | %{name}のヘッダーファイル |
---|
57 | |
---|
58 | |
---|
59 | %prep |
---|
60 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
61 | %setup -q -n %{name}-ng-%{version} |
---|
62 | |
---|
63 | %build |
---|
64 | ./bootstrap |
---|
65 | %{configure} \ |
---|
66 | --enable-shared \ |
---|
67 | --disable-static |
---|
68 | %{__make} |
---|
69 | |
---|
70 | %install |
---|
71 | %{make_install} |
---|
72 | %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/*.la |
---|
73 | |
---|
74 | %clean |
---|
75 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
76 | |
---|
77 | %post -p %{_syssbindir}/ldconfig |
---|
78 | %postun -p %{_syssbindir}/ldconfig |
---|
79 | |
---|
80 | |
---|
81 | %files |
---|
82 | %defattr(-,root,root) |
---|
83 | %doc CHANGES COPYING README.md TODO |
---|
84 | %doc DOCUMENTS EXAMPLES |
---|
85 | %{_libdir}/libarpack.so.* |
---|
86 | |
---|
87 | %files devel |
---|
88 | %defattr(-,root,root) |
---|
89 | %{_includedir}/ |
---|
90 | %{_libdir}/libarpack.so |
---|
91 | %{_libdir}/pkgconfig/arpack.pc |
---|
92 | |
---|
93 | |
---|
94 | %changelog |
---|
95 | * Wed Sep 19 2018 Toshiaki Ara <ara_t@384.jp> 3.6.3-1 |
---|
96 | - update to 3.6.3 |
---|
97 | |
---|
98 | * Wed Aug 08 2018 Toshiaki Ara <ara_t@384.jp> 3.6.2-1 |
---|
99 | - update to 3.6.2 |
---|
100 | |
---|
101 | * Wed Jun 06 2018 Toshiaki Ara <ara_t@384.jp> 3.6.0-1 |
---|
102 | - update to 3.6.0 |
---|
103 | - separate subpackage arpack-devel |
---|
104 | |
---|
105 | * Thu Jul 28 2016 Toshiaki Ara <ara_t@384.jp> 3.4.0-1 |
---|
106 | - update to 3.4.0 for VineSeed |
---|
107 | - add BuildRequires: cmake |
---|
108 | |
---|
109 | * Mon Apr 11 2016 Toshiaki Ara <ara_t@384.jp> 3.2.0-2 |
---|
110 | - correct SPEC file |
---|
111 | |
---|
112 | * Sat Mar 19 2016 Toshiaki Ara <ara_t@384.jp> 3.2.0-1 |
---|
113 | - new package |
---|
114 | |
---|