Ship copying
OBS-URL: https://build.opensuse.org/package/show/science/fflas-ffpack?expand=0&rev=6
This commit is contained in:
parent
fa771a5945
commit
bf4d04faee
@ -16,9 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
%ifarch %ix86
|
%ifarch %ix86
|
||||||
%define atlas %{_libdir}/atlas-sse2
|
%define atlas %_libdir/atlas-sse2
|
||||||
%else
|
%else
|
||||||
%define atlas %{_libdir}/atlas
|
%define atlas %_libdir/atlas
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: fflas-ffpack
|
Name: fflas-ffpack
|
||||||
@ -28,7 +28,7 @@ Release: 0
|
|||||||
Summary: Finite Field Linear Algebra Subroutines
|
Summary: Finite Field Linear Algebra Subroutines
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: Productivity/Scientific/Math
|
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
|
#SVN-Clone: svn://linalg.org/fflas-ffpack
|
||||||
Source: http://linalg.org/%name-%version.tar.gz
|
Source: http://linalg.org/%name-%version.tar.gz
|
||||||
@ -40,7 +40,7 @@ BuildRequires: givaro-devel
|
|||||||
BuildRequires: gmp-devel >= 3.1.1
|
BuildRequires: gmp-devel >= 3.1.1
|
||||||
BuildRequires: lapack-devel
|
BuildRequires: lapack-devel
|
||||||
BuildRequires: libatlas3-devel
|
BuildRequires: libatlas3-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %_tmppath/%name-%version-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The FFLAS-FFPACK library provides functionalities for dense linear
|
The FFLAS-FFPACK library provides functionalities for dense linear
|
||||||
@ -79,19 +79,20 @@ sed '/HTML_TIMESTAMP/s/YES/NO/' -i doc/Doxyfile
|
|||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--with-blas-cflags=" " \
|
--with-blas-cflags=" " \
|
||||||
--with-blas-libs="-L%{atlas} -lcblas -ltatlas" \
|
--with-blas-libs="-L%atlas -lcblas -ltatlas" \
|
||||||
--enable-doc --with-docdir="%_docdir/%name"
|
--enable-doc --with-docdir="%_docdir/%name"
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
b="%buildroot";
|
b="%buildroot";
|
||||||
make install DESTDIR="$b";
|
%make_install
|
||||||
cp "%{S:2}" "$b/%_docdir/%name/"
|
cp "%{S:2}" "$b/%_docdir/%name/"
|
||||||
rm -f "$b/%_docdir/%name/fflas-ffpack-html/INSTALL"
|
rm -f "$b/%_docdir/%name/fflas-ffpack-html/INSTALL"
|
||||||
%fdupes %buildroot/%_prefix
|
%fdupes %buildroot/%_prefix
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%doc COPYING.LESSER
|
||||||
%_bindir/fflas-ffpack-config
|
%_bindir/fflas-ffpack-config
|
||||||
%_includedir/fflas-ffpack/
|
%_includedir/fflas-ffpack/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user