librsb/librsb.spec

77 lines
2.4 KiB
RPMSpec

#
# spec file for package librsb
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: librsb
%define rversion 1.2.0-rc2
Version: 1.2.0~rc2
Release: 0
Summary: A shared memory parallel sparse matrix library including Sparse BLAS
License: LGPL-3.0+
Group: Productivity/Scientific/Math
URL: http://librsb.sf.net/
Source: http://downloads.sf.net/%name/%name-%rversion.tar.gz
BuildRequires: fdupes
BuildRequires: gsl-devel
BuildRequires: zlib-devel
BuildRoot: %_tmppath/%name-%version-build
%description
librsb is a library for sparse matrix computations featuring the
Recursive Sparse Blocks (RSB) matrix format. This format allows cache
efficient and multi-threaded (that is, shared memory parallel)
operations on large sparse matrices.
librsb implements the Sparse BLAS standard, as specified in the BLAS
Forum documents.
%package devel
Summary: Development files for librsb, a Recursive Sparse Blocks matrix format lirary
Group: Development/Libraries/C and C++
%description devel
librsb is a library for sparse matrix computations featuring the
Recursive Sparse Blocks (RSB) matrix format. This format allows cache
efficient and multi-threaded (that is, shared memory parallel)
operations on large sparse matrices.
This subpackage contains libraries and header files for developing
applications that want to make use of librsb.
%prep
%setup -qn librsb-%rversion
%build
%configure --docdir="%_docdir/%name"
make %{?_smp_mflags}
%fdupes %buildroot/%_prefix
%install
%make_install
rm -f "%buildroot/%_libdir"/*.la
%files devel
%defattr(-,root,root)
%_includedir/*.h
%_bindir/rsbench
%_bindir/librsb-config
%_libdir/librsb.a
%_docdir/%name/
%doc COPYING README
%changelog