Репозиторий Sisyphus
Последнее обновление: 28 января 2023 | Пакетов: 18150 | Посещений: 26568146
en ru br
Репозитории ALT
S:1.0-alt5
5.1: 1.0-alt2
www.altlinux.org/Changes

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

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

Name: y12m
Version: 1.0
Release: alt5
Summary: Solution of Large and Sparse Systems of Linear Algebraic Equations
License: Free
Group: Sciences/Mathematics
Url: http://www.netlib.org/y12m/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>

Source: %name-%version.tar.gz

BuildPreReq: gcc-fortran libgfortran-devel

%description
Y12m Solution of Large and Sparse Systems of Linear Algebraic Equations.

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

%description -n lib%name
Y12m Solution of Large and Sparse Systems of Linear Algebraic Equations.

This package contains shared library of Y12m.

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

%description -n lib%name-devel
Y12m Solution of Large and Sparse Systems of Linear Algebraic Equations.

This package contains development file of Y12m.

%package -n lib%name-devel-static
Summary: Static library of Y12m
Group: Development/Other

%description -n lib%name-devel-static
Y12m Solution of Large and Sparse Systems of Linear Algebraic Equations.

This package contains static library of Y12m.

%prep
%setup

%build
%make_build
%make_build lib%name.so
pushd ex
f77 %optflags -c *.f
for i in maind maine mainf mainf2 test1 test2; do
f77 -o %name-test-$i $i.o matr*.o -lgfortran -L.. -l%name
done
popd

%install
install -d %buildroot%_bindir
install -d %buildroot%_libdir

install -m755 ex/%name-test-* %buildroot%_bindir
install -m644 *.a *.so* %buildroot%_libdir
ln -s lib%name.so.1 %buildroot%_libdir/lib%name.so

rm -f ex/*.o ex/%name-test-*
mv ex examples

%files
%doc doc examples
%_bindir/*

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

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

#files -n lib%name-devel-static

#_libdir/*.a

%changelog

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

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