Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37533528
en ru br
Репозитории ALT
S:04.00-alt6
5.1: 04.00-alt1
www.altlinux.org/Changes

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

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

%define somver 0
%define sover %somver.4.0
Name: skypack
Version: 04.00
Release: alt6
Summary: SKYline PACKage - computations with matrices stored in a skyline form
License: BSD
Group: Sciences/Mathematics
Url: http://crd.lbl.gov/~osni/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>

Source: http://crd.lbl.gov/~osni/Codes/skypack.zip

BuildPreReq: gcc-fortran liblapack-devel
BuildPreReq: unzip tcsh

%description
The SKYPACK package corresponds to a set of subprograms written in
standard Fortran 77 intended for linear algebra operations with
real symmetric matrices stored in skyline form.

%package -n lib%name
Summary: Shared library of SKYPACK
Group: System/Libraries

%description -n lib%name
The SKYPACK package corresponds to a set of subprograms written in
standard Fortran 77 intended for linear algebra operations with
real symmetric matrices stored in skyline form.

This package contains shared library of SKYPACK.

%package -n lib%name-devel
Summary: Development library of SKYPACK
Group: Development/Other
Requires: lib%name = %version-%release

%description -n lib%name-devel
The SKYPACK package corresponds to a set of subprograms written in
standard Fortran 77 intended for linear algebra operations with
real symmetric matrices stored in skyline form.

This package contains development library of SKYPACK.

%package -n lib%name-devel-static
Summary: Static library of SKYPACK
Group: Development/Other
Requires: lib%name-devel = %version-%release

%description -n lib%name-devel-static
The SKYPACK package corresponds to a set of subprograms written in
standard Fortran 77 intended for linear algebra operations with
real symmetric matrices stored in skyline form.

This package contains static library of SKYPACK.

%package examples
Summary: Examples for SKYPACK
Group: Development/Documentation
Requires: lib%name = %version-%release

%description examples
The SKYPACK package corresponds to a set of subprograms written in
standard Fortran 77 intended for linear algebra operations with
real symmetric matrices stored in skyline form.

This package contains examples for SKYPACK.

%package -n lib%name-devel-doc
Summary: Documentation for SKYPACK
Group: Development/Documentation
BuildArch: noarch

%description -n lib%name-devel-doc
The SKYPACK package corresponds to a set of subprograms written in
standard Fortran 77 intended for linear algebra operations with
real symmetric matrices stored in skyline form.

This package contains development documentation for SKYPACK.

%prep
%setup
chmod +x creator
sed -i 's| at SOMVER at |%somver|g' src/double/Makefile
sed -i 's| at SOVER at |%sover|g' src/double/Makefile

%build
mkdir -p lib
./creator -k

%install
install -d %buildroot%_libdir/%name/examples

cp -P lib/* %buildroot%_libdir/
cp -f drv/* %buildroot%_libdir/%name/examples/
rm -f buildroot%_libdir/%name/examples/*.o

mkdir sources
cp src/double/* sources/
rm -f sources/*.o


%files -n lib%name
%doc license.txt README
%_libdir/*.so.*

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

#files -n lib%name-devel-static

#_libdir/*.a

%files -n lib%name-devel-doc
%doc doc/* sources

%files examples
%dir %_libdir/%name
%_libdir/%name/examples

%changelog

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

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