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

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

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

Name: libsuitesparse
Version: 3.4.0
Release: alt1

Summary: Shared libraries for sparse matrix calculations
Packager: Paul Wolneykien <manowar at altlinux.ru>
License: LGPL, GPL
Group: Sciences/Mathematics
Url: http://www.cise.ufl.edu/research/sparse/SuiteSparse/

Source: SuiteSparse-%version.tar.gz
Source1: cholmod.pc
Source2: prepare_versions.sh
Source3: umfpack.pc

BuildPreReq: libmetis-devel gcc-c++

# Automatically added by buildreq on Sun Sep 14 2008

BuildRequires: gcc-fortran liblapack-devel tetex-dvips tetex-latex

%package devel
Summary: Development files of SuiteSparse
Group: Development/Other
Requires: %name = %version-%release
Conflicts: %name-devel < %version-%release
Obsoletes: %name-devel < %version-%release
Conflicts: libumfpack-devel UFconfig

%package devel-static
Summary: Static libraries of SuiteSparse
Group: Development/Other
Requires: %name-devel = %version-%release
Conflicts: %name-devel < %version-%release

%package devel-doc
Summary: Documentation for %name
Group: Sciences/Mathematics
BuildArch: noarch

%package examples
Summary: Examples for %name
Group: Sciences/Mathematics
Requires: %name = %version-%release

%description
Package contains a set of shared libraries to use efficient calculation
algorithms with sparse matricies.

%description devel
Package contains a set of development files to use efficient calculation
algorithms with sparse matricies in your programs.

%description devel-static
Package contains a set of static libraries to use efficient calculation
algorithms with sparse matricies in your programs.

%description devel-doc
Documentation for a set of static libraries that provide an efficient
calculation algorithms with sparse matricies for your programs.

%description examples
Examples for SuiteSparse.

%prep
%setup
install -m644 %SOURCE1 %SOURCE3 .
install -m755 %SOURCE2 .

%build
./prepare_versions.sh

%make TOPDIR=$PWD
%make doc

%install
%makeinstall NAME=%name VERSION=%version

install -d %buildroot%_pkgconfigdir
install -m644 *.pc %buildroot%_pkgconfigdir

for i in $(find ./ -name Demo); do
rm -f $(find $i -name '*.m')
install -d %buildroot%_libdir/%name/demos/$i
cp -fR $i/* %buildroot%_libdir/%name/demos/$i/
done

%files
%_libdir/*.so.*

%files devel
%_libdir/*.so
%_includedir/*
%_pkgconfigdir/*

%files devel-static
%_libdir/*.a

%files devel-doc
%_docdir/%name-%version/*/*

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

%changelog

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

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