Репозиторий Sisyphus
Последнее обновление: 16 мая 2022 | Пакетов: 17601 | Посещений: 23629867
en ru br
Репозитории ALT
S:2.0.20190610-alt3
5.1: 2.0-alt1
www.altlinux.org/Changes

Группа :: Науки/Математика
Пакет: sparskit

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

%define somver 0
%define sover %somver.2.0

Name: sparskit
Version: 2.0.20190610
Release: alt3
Summary: A basic tool-kit for sparse matrix computations (Version 2)
License: LGPL
Group: Sciences/Mathematics
Url: http://www-users.cs.umn.edu/~saad/software/SPARSKIT/

Source: %name-%version.tar
Source1: funcs.f
Patch1:  0001-makefile.patch
Patch2:  0002-skip-ccn.patch

Requires: lib%name = %version-%release
BuildPreReq: gcc-fortran liblapack-devel

%description
SPARSKIT is a package of FORTRAN subroutines for working with sparse
matrices. It includes general sparse matrix manipulation routines as
well as a few iterative solvers.


%package -n lib%name
Summary: Shared library of SPARSKIT (sparse matrix toolkit)
Group: System/Libraries

%description -n lib%name
SPARSKIT is a package of FORTRAN subroutines for working with sparse
matrices. It includes general sparse matrix manipulation routines as
well as a few iterative solvers.

This package contains shared library of SPARSKIT.


%package -n lib%name-devel
Summary: Development files of SPARSKIT (sparse matrix toolkit)
Group: Development/Other
Requires: lib%name = %version-%release

%description -n lib%name-devel
SPARSKIT is a package of FORTRAN subroutines for working with sparse
matrices. It includes general sparse matrix manipulation routines as
well as a few iterative solvers.

This package contains development files of SPARSKIT.


%package -n lib%name-devel-doc
Summary: Documentation for SPARSKIT (sparse matrix toolkit)
Group: Development/Documentation
BuildArch: noarch

%description -n lib%name-devel-doc
SPARSKIT is a package of FORTRAN subroutines for working with sparse
matrices. It includes general sparse matrix manipulation routines as
well as a few iterative solvers.

This package contains development documentation for SPARSKIT.

%prep
%setup
%patch1 -p2
%patch2 -p2
sed -i 's| at SOMVER at |%somver|g' makefile
sed -i 's| at SOVER at |%sover|g' makefile
#tar -cf src.tar $(find ./ -type f|egrep -v 'DOC\/')
install -p -m644 %SOURCE1 .

%build

%make_build all
./dotests

%install
install -d %buildroot%_bindir
install -d %buildroot%_libdir
install -d %buildroot%_docdir/lib%name-devel
##tar -xf $OLDPWD/src.tar

cp -P libskit.* %buildroot%_libdir/
install -p -m644 DOC/* %buildroot%_docdir/lib%name-devel



%files -n lib%name
%doc LGPL README logfile
%_libdir/*.so.*

%files -n lib%name-devel
%_libdir/*.so

%files -n lib%name-devel-doc
%_docdir/lib%name-devel


%changelog

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

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