SHA256
1
0
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:
Jan Engelhardt 2014-06-18 16:59:12 +00:00 committed by Git OBS Bridge
parent 386f429c81
commit 49e0f470f9
5 changed files with 14 additions and 49 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:093cd0e6f1f82e0bf13637fc99743299267ff5f11cde8e07782cb9dce8df1a83
size 817263

3
cvec-2.5.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d60f5f47b3e3c87bb1e06782bfc71b09d31eaec120a66c31fa8ac3b95308bc84
size 1039011

View File

@ -1,35 +0,0 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2013-05-13 17:34:18.087851151 +0200
build: fix wrong source operand for copy operation
/bin/sh ./libtool --mode=install /usr/bin/install -c cvec.la '/home/abuild/rpmbuild/BUILDROOT/gap-cvec-2.4-0.x86_64/usr/lib64'
libtool: install: /usr/bin/install -c .libs/cvec.so /home/abuild/rpmbuild/BUILDROOT/gap-cvec-2.4-0.x86_64/usr/lib64/cvec.so
libtool: install: /usr/bin/install -c .libs/cvec.lai /home/abuild/rpmbuild/BUILDROOT/gap-cvec-2.4-0.x86_64/usr/lib64/cvec.la
libtool: install: warning: remember to run `libtool --finish /usr/lib64'
/usr/bin/mkdir -p ./bin/x86_64-suse-linux-gnu-gcc-default64
cp /usr/lib64/cvec.so /home/abuild/rpmbuild/BUILD/cvec/bin/x86_64-suse-linux-gnu-gcc-default64/cvec.so
cp: cannot stat '/usr/lib64/cvec.so': No such file or directory
---
Makefile.am | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Index: cvec/Makefile.am
===================================================================
--- cvec.orig/Makefile.am
+++ cvec/Makefile.am
@@ -19,10 +19,11 @@ all-local: cvec.la install-libLTLIBRARIE
# @$(MAKE) $(AM_MAKEFLAGS) install-libLTLIBRARIES
$(mkdir_p) $(top_srcdir)/$(BINARCHDIR)
if SYS_IS_CYGWIN
- cp $(libdir)/cvec.dll $(GAPINSTALLLIB)
+ cp $(DESTDIR)$(libdir)/cvec.dll $(GAPINSTALLLIB)
else
- cp $(libdir)/cvec.so $(GAPINSTALLLIB)
+ cp $(DESTDIR)$(libdir)/cvec.so $(GAPINSTALLLIB)
endif
+ rm -f $(DESTDIR)$(libdir)/cvec.la
@echo "SUCCESS!"
distclean-local:

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Jun 18 16:49:54 UTC 2014 - jengelh@inai.de
- Update to new upstream release 2.5.1
* Add methods for \^ for cvecs and Frobenius automorphisms
* Add methods for \^ for cmats and Frobenius automorphisms
* Fix a bug in unpickling semi echelonised bases
* Update and tweak the package build system
-------------------------------------------------------------------
Fri May 10 13:47:02 UTC 2013 - jengelh@inai.de

View File

@ -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