2016-01-17 16:02:12 +00:00
|
|
|
#
|
|
|
|
# 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
|
2016-11-21 21:53:17 +00:00
|
|
|
%define lname librsb0
|
|
|
|
%define rversion 1.2.0-rc5
|
|
|
|
Version: 1.2.0~rc5
|
2016-01-17 16:02:12 +00:00
|
|
|
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
|
2016-11-21 21:53:17 +00:00
|
|
|
BuildRequires: gcc-fortran
|
2016-01-17 16:02:12 +00:00
|
|
|
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.
|
|
|
|
|
2016-11-21 21:53:17 +00:00
|
|
|
%package -n %lname
|
|
|
|
Summary: Blah
|
|
|
|
|
|
|
|
%description -n %lname
|
|
|
|
|
2016-01-17 16:02:12 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development files for librsb, a Recursive Sparse Blocks matrix format lirary
|
|
|
|
Group: Development/Libraries/C and C++
|
2016-11-21 21:53:17 +00:00
|
|
|
Requires: %lname = %version
|
2016-01-17 16:02:12 +00:00
|
|
|
|
|
|
|
%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
|
2016-11-21 21:53:17 +00:00
|
|
|
%configure --docdir="%_docdir/%name" --disable-static
|
2016-01-17 16:02:12 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
%fdupes %buildroot/%_prefix
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
rm -f "%buildroot/%_libdir"/*.la
|
|
|
|
|
2016-11-21 21:53:17 +00:00
|
|
|
%files -n librsb0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/librsb.so.*
|
|
|
|
|
2016-01-17 16:02:12 +00:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2016-11-21 21:53:17 +00:00
|
|
|
%_includedir/*
|
2016-01-17 16:02:12 +00:00
|
|
|
%_bindir/rsbench
|
|
|
|
%_bindir/librsb-config
|
2016-11-21 21:53:17 +00:00
|
|
|
%_libdir/librsb.so
|
2016-01-17 16:02:12 +00:00
|
|
|
%_docdir/%name/
|
|
|
|
%doc COPYING README
|
|
|
|
|
|
|
|
%changelog
|