librsb/librsb.spec

89 lines
2.6 KiB
RPMSpec
Raw Normal View History

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