forked from pool/libm4rie
Accepting request 85214 from home:jengelh:science
used by sagemath OBS-URL: https://build.opensuse.org/request/show/85214 OBS-URL: https://build.opensuse.org/package/show/science/libm4rie?expand=0&rev=1
This commit is contained in:
73
libm4rie.spec
Normal file
73
libm4rie.spec
Normal file
@@ -0,0 +1,73 @@
|
||||
#
|
||||
# spec file for package libm4rie
|
||||
#
|
||||
# Copyright (c) 2011 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: libm4rie
|
||||
# Note that libm4rie is not always updated in lockstep with libm4ri,
|
||||
# and that is absolutely supported.
|
||||
%define date 20110715
|
||||
%define lname libm4rie-0_0_%date
|
||||
Version: 0.0.%date
|
||||
Release: 0
|
||||
Group: Productivity/Scientific/Math
|
||||
Summary: Library for fast linear arithmetic over F_{2^e}
|
||||
License: GPL-2.0+
|
||||
URL: http://m4ri.sagemath.org/
|
||||
|
||||
Source: m4rie-%date.tar.xz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: libm4ri-devel, xz
|
||||
|
||||
%description
|
||||
M4RIE is a library for fast arithmetic with dense matrices over F_{2^e}.
|
||||
|
||||
%package -n %lname
|
||||
Summary: Library for fast linear arithmetic over F_{2^e}.
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %lname
|
||||
M4RIE is a library for fast arithmetic with dense matrices over F_{2^e}.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for F_{2^e} arithmetic with libm4ri
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
|
||||
%description devel
|
||||
M4RIE is a library for fast arithmetic with dense matrices over F_{2^e}.
|
||||
|
||||
%prep
|
||||
%setup -qn m4rie-%date
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags};
|
||||
|
||||
%install
|
||||
b="%buildroot";
|
||||
%make_install
|
||||
find "$b" -type f -name "*.la" -delete;
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libm4rie-*.so
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libm4rie.so
|
||||
%_includedir/m4rie
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user