fflas-ffpack/fflas-ffpack.spec

93 lines
2.6 KiB
RPMSpec

#
# spec file for package fflas-ffpack
#
# Copyright (c) 2013 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: fflas-ffpack
%define lname libfflas0
Version: 1.6.0
Release: 0
Summary: Finite Field Linear Algebra Subroutines
License: LGPL-2.1+
Group: Productivity/Scientific/Math
Url: http://linalg.org/projects/fflas-ffpack
#DL-URL: http://linalg.org/fflas-ffpack-1.6.0.tar.gz
Source: %name-%version.tar.xz
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: givaro-devel
BuildRequires: gmp-devel >= 3.1.1
BuildRequires: lapack-devel
BuildRequires: libatlas3-devel
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The FFLAS-FFPACK library provides functionalities for dense linear
algebra over word size prime finite field.
%package devel
Summary: Development files for FFLAS-FFPACK
Group: Development/Libraries/C and C++
%description devel
The FFLAS-FFPACK library provides functionalities for dense linear
algebra over word size prime finite field.
This subpackage contains the include files and library links for
developing against the Givaro library.
%package doc
Summary: API documentation for FFLAS-FFPACK
Group: Documentation/HTML
BuildArch: noarch
%description doc
The FFLAS-FFPACK library provides functionalities for dense linear
algebra over word size prime finite field.
This subpackage contains the Doxygen-generated HTML documentation for
the FFLAS-FFPACK API.
%prep
%setup -q
%build
%configure \
--with-cblas="%_libdir/atlas" \
--enable-doc --with-docdir="%_docdir/%name"
make %{?_smp_mflags}
%install
b="%buildroot";
make install DESTDIR="$b";
%fdupes %buildroot/%_prefix
%files devel
%defattr(-,root,root)
%_bindir/fflas-ffpack-config
%_includedir/fflas-ffpack/
%files doc
%defattr(-,root,root)
%dir %_docdir/%name/
%_docdir/%name/fflas-ffpack.html
%_docdir/%name/fflas-ffpack-html/
%changelog