SHA256
1
0
forked from pool/fflas-ffpack
Jan Engelhardt 2014-12-29 21:43:28 +00:00 committed by Git OBS Bridge
parent fa771a5945
commit bf4d04faee

View File

@ -16,9 +16,9 @@
#
%ifarch %ix86
%define atlas %{_libdir}/atlas-sse2
%define atlas %_libdir/atlas-sse2
%else
%define atlas %{_libdir}/atlas
%define atlas %_libdir/atlas
%endif
Name: fflas-ffpack
@ -28,7 +28,7 @@ Release: 0
Summary: Finite Field Linear Algebra Subroutines
License: LGPL-2.1+
Group: Productivity/Scientific/Math
Url: http://linalg.org/projects/fflas-ffpack
URL: http://linalg.org/projects/fflas-ffpack
#SVN-Clone: svn://linalg.org/fflas-ffpack
Source: http://linalg.org/%name-%version.tar.gz
@ -40,7 +40,7 @@ BuildRequires: givaro-devel
BuildRequires: gmp-devel >= 3.1.1
BuildRequires: lapack-devel
BuildRequires: libatlas3-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRoot: %_tmppath/%name-%version-build
%description
The FFLAS-FFPACK library provides functionalities for dense linear
@ -79,19 +79,20 @@ sed '/HTML_TIMESTAMP/s/YES/NO/' -i doc/Doxyfile
%build
%configure \
--with-blas-cflags=" " \
--with-blas-libs="-L%{atlas} -lcblas -ltatlas" \
--with-blas-libs="-L%atlas -lcblas -ltatlas" \
--enable-doc --with-docdir="%_docdir/%name"
make %{?_smp_mflags}
%install
b="%buildroot";
make install DESTDIR="$b";
%make_install
cp "%{S:2}" "$b/%_docdir/%name/"
rm -f "$b/%_docdir/%name/fflas-ffpack-html/INSTALL"
%fdupes %buildroot/%_prefix
%files devel
%defattr(-,root,root)
%doc COPYING.LESSER
%_bindir/fflas-ffpack-config
%_includedir/fflas-ffpack/