Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37430248
en ru br
Репозитории ALT

Группа :: Науки/Математика
Пакет: libarpack-ng

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name:    libarpack-ng
Version: 3.8.0
Release: alt2
Summary: Fortran 77 subroutines for solving large scale eigenvalue problems

License: BSD
Group:   Sciences/Mathematics
URL:     http://forge.scilab.org/index.php/p/arpack-ng/

Packager: Andrey Cherepanov <cas at altlinux.org>

Source: arpack-ng-%version.tar

BuildRequires: gcc-c++
BuildRequires: gcc-fortran
BuildRequires: libopenblas-devel
BuildRequires: liblapack-devel

Provides:  arpack = %version-%release

%global optflags_lto %optflags_lto -ffat-lto-objects

%description
ARPACK is a collection of Fortran 77 subroutines designed to solve large
scale eigenvalue problems.

The package is designed to compute a few eigenvalues and corresponding
eigenvectors of a general n by n matrix A. It is most appropriate for
large sparse or structured matrices A where structured means that a
matrix-vector product w <- Av requires order n rather than the usual
order n**2 floating point operations. This software is based upon an
algorithmic variant of the Arnoldi process called the Implicitly
Restarted Arnoldi Method (IRAM).

%package devel
Summary: Files needed for developing arpack based applications
Group:   System/Libraries

%description devel
ARPACK is a collection of Fortran 77 subroutines designed to solve
large scale eigenvalue problems. This package contains the so
library links used for building arpack based applications.

%package doc
Summary: Examples for the use of arpack
Group: Documentation
BuildArch: noarch

%description doc
This package contains examples for the use of arpack-ng.

%package devel-static
Summary: Static library for developing arpack based applications
Group: System/Libraries

%description devel-static
ARPACK is a collection of Fortran 77 subroutines designed to solve
large scale eigenvalue problems. This package contains the static
library and so links used for building arpack based applications.

%prep
%setup -q -n arpack-ng-%version

%build
%autoreconf
%configure --enable-shared \
          --enable-static \
          --with-blas="-L%{_libdir}/atlas -lf77blas -latlas" \
          --with-lapack="-L%{_libdir}/atlas -llapack -latlas"
%make_build

%install
%makeinstall_std

# Get rid of .la files

rm -rf %buildroot%_libdir/*.la

%files
%doc CHANGES COPYING
%_libdir/libarpack.so.*

%files devel
%doc DOCUMENTS EXAMPLES
%_libdir/libarpack.so
%_pkgconfigdir/*.pc

%files doc
%doc EXAMPLES/ DOCUMENTS/

%files devel-static
%_libdir/libarpack.a

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin