forked from pool/gap-cvec
gap-cvec-2.5.1
OBS-URL: https://build.opensuse.org/package/show/science/gap-cvec?expand=0&rev=2
This commit is contained in:
@@ -18,14 +18,13 @@
|
||||
|
||||
Name: gap-cvec
|
||||
Summary: GAP: Compact vectors over finite fields
|
||||
Version: 2.4
|
||||
Version: 2.5.1
|
||||
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
|
||||
@@ -46,19 +45,12 @@ 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
|
||||
%setup -qn cvec-%version
|
||||
|
||||
%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
|
||||
|
||||
@@ -67,6 +59,5 @@ find . -type f -name "*.la" -delete
|
||||
|
||||
%files -f %name.files
|
||||
%defattr(-,root,root)
|
||||
%_libdir/cvec.so
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user