forked from pool/fflas-ffpack
Jan Engelhardt
24aa6c108f
OBS-URL: https://build.opensuse.org/package/show/science/fflas-ffpack?expand=0&rev=16
107 lines
2.9 KiB
RPMSpec
107 lines
2.9 KiB
RPMSpec
#
|
|
# spec file for package fflas-ffpack
|
|
#
|
|
# Copyright (c) 2016 SUSE LINUX 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/
|
|
#
|
|
|
|
|
|
%ifarch %ix86
|
|
%define atlas %_libdir/atlas-sse2
|
|
%else
|
|
%define atlas %_libdir/atlas
|
|
%endif
|
|
|
|
Name: fflas-ffpack
|
|
%define lname libfflas0
|
|
Version: 2.2.1
|
|
Release: 0
|
|
Summary: Finite Field Linear Algebra Subroutines
|
|
License: LGPL-2.1+
|
|
Group: Productivity/Scientific/Math
|
|
Url: https://linbox-team.github.io/fflas-ffpack/
|
|
|
|
Source: https://github.com/linbox-team/%name/archive/v%version.tar.gz
|
|
BuildRequires: blas-devel
|
|
BuildRequires: cblas-devel
|
|
BuildRequires: doxygen
|
|
BuildRequires: fdupes
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: gmp-devel >= 3.1.1
|
|
BuildRequires: libtool >= 2.2
|
|
BuildRequires: pkg-config
|
|
BuildRequires: pkgconfig(givaro) < 4.0.2
|
|
BuildRequires: pkgconfig(givaro) >= 4.0.1
|
|
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 fflas-ffpack 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
|
|
|
|
#Do not compile in DATE and TIME
|
|
sed '/HTML_TIMESTAMP/s/YES/NO/' -i doc/Doxyfile
|
|
|
|
%build
|
|
if [ ! -e configure ]; then
|
|
autoreconf -fi
|
|
fi
|
|
%configure \
|
|
--with-blas-cflags=" " \
|
|
--with-blas-libs="-lcblas -lblas" \
|
|
--enable-doc --with-docdir="%_docdir/%name"
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
rm -f "%buildroot/%_docdir/%name/fflas-ffpack-html/INSTALL"
|
|
%fdupes %buildroot/%_prefix
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%doc ChangeLog COPYING.LESSER
|
|
%_bindir/fflas-ffpack-config
|
|
%_includedir/fflas-ffpack/
|
|
%_libdir/pkgconfig/ff*.pc
|
|
|
|
%files doc
|
|
%defattr(-,root,root)
|
|
%_docdir/%name/
|
|
|
|
%changelog
|