Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37559655
en ru br
ALT Linux repositórios
S:1.2-alt1.b.3

Group :: Ciências/Matemática
RPM: meschach

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define sover 0

Name: meschach
Version: 1.2
Release: alt1.b.3
Summary: C-language library of routines for performing matrix computations
License: Free
Group: Sciences/Mathematics
Url: http://www.math.uiowa.edu/~dstewart/meschach/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>

Source: %name-%version.tar

%description
Meschach is a C-language library of routines for performing matrix
computations. It has a collection of data structures which are
self-contained, can be created, destroyed and resized at will which
includes permutations, vectors, matrices, integer vectors, complex
vectors and matrices and sparse matrices.

%package -n lib%name
Summary: C-language library of routines for performing matrix computations
Group: System/Libraries

%description -n lib%name
Meschach is a C-language library of routines for performing matrix
computations. It has a collection of data structures which are
self-contained, can be created, destroyed and resized at will which
includes permutations, vectors, matrices, integer vectors, complex
vectors and matrices and sparse matrices.

%package -n lib%name-devel
Summary: Development files of Meschach
Group: Development/C
Requires: lib%name = %version-%release

%description -n lib%name-devel
Meschach is a C-language library of routines for performing matrix
computations. It has a collection of data structures which are
self-contained, can be created, destroyed and resized at will which
includes permutations, vectors, matrices, integer vectors, complex
vectors and matrices and sparse matrices.

This package contains development files of Meschach.

%prep
%setup

%build
%configure --with-all
%make_build all

%install
gcc -shared -Wl,-whole-archive %name.a -Wl,-no-whole-archive \
-o lib%name.so.%sover -Wl,-soname,lib%name.so.%sover -lm

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

install -m644 *.so.* %buildroot%_libdir
ln -s lib%name.so.%sover %buildroot%_libdir/lib%name.so
install -p -m644 *.h %buildroot%_includedir/%name

%brp_strip_debug %_libdir/*.so*

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

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

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009