forked from pool/gap-cvec
Accepting request 220888 from home:jengelh:branches:science
OBS-URL: https://build.opensuse.org/request/show/220888 OBS-URL: https://build.opensuse.org/package/show/science/gap-cvec?expand=0&rev=1
This commit is contained in:
72
gap-cvec.spec
Normal file
72
gap-cvec.spec
Normal file
@@ -0,0 +1,72 @@
|
||||
#
|
||||
# spec file for package gap-cvec
|
||||
#
|
||||
# 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: gap-cvec
|
||||
Summary: GAP: Compact vectors over finite fields
|
||||
Version: 2.4
|
||||
Release: 0
|
||||
License: GPL-2.0
|
||||
Group: Productivity/Scientific/Math
|
||||
Url: http://www-groups.mcs.st-and.ac.uk/~neunhoef/Computer/Software/Gap/cvec.html
|
||||
|
||||
Source: ftp://ftp.gap-system.org/pub/gap/gap4/tar.bz2/packages/cvec-%version.tar.bz2
|
||||
Patch1: cvec-install.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: gap-devel >= 4.5.5
|
||||
BuildRequires: gap-rpm-devel
|
||||
BuildRequires: gmp-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: xz
|
||||
Requires: gap-core >= 4.5.5
|
||||
Requires: gap-gapdoc >= 1.2
|
||||
Requires: gap-io >= 4.1
|
||||
Requires: gap-orb >= 4.2
|
||||
|
||||
%description
|
||||
This package provides an implementation of compact vectors over
|
||||
finite fields. Contrary to earlier implementations no table lookups
|
||||
are used but only word-based processor arithmetic. This allows for
|
||||
bigger finite fields and higher speed.
|
||||
|
||||
%prep
|
||||
%setup -qn cvec
|
||||
%patch -P 1 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
%configure --with-gaproot="%gapdir"
|
||||
make %{?_smp_mflags} DESTDIR="%buildroot"
|
||||
. "%gapdir/sysinfo.gap"
|
||||
if [ -e "bin/$GAParch/cvec.so" ]; then
|
||||
# kill preexisting copy
|
||||
ln -fs "%_libdir/cvec.so" "bin/$GAParch/cvec.so"
|
||||
fi
|
||||
|
||||
rm -Rf {autom4*,aclocal*,config*,cnf,m4,src}
|
||||
find . -type f -name "*.la" -delete
|
||||
|
||||
%install
|
||||
%gappkg_simple_install
|
||||
|
||||
%files -f %name.files
|
||||
%defattr(-,root,root)
|
||||
%_libdir/cvec.so
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user