forked from pool/gap-io
gap-io-4.3.1
OBS-URL: https://build.opensuse.org/package/show/science/gap-io?expand=0&rev=2
This commit is contained in:
parent
dd5c834b19
commit
8c12aef05f
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 18 17:35:06 UTC 2014 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 4.3.1
|
||||
* Pickling/Unpickling of Floats
|
||||
- Remove io-install.diff (no longer needed)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 10 13:47:02 UTC 2013 - jengelh@inai.de
|
||||
|
||||
|
12
gap-io.spec
12
gap-io.spec
@ -18,23 +18,22 @@
|
||||
|
||||
Name: gap-io
|
||||
Summary: GAP: Bindings for low level C library IO
|
||||
Version: 4.2
|
||||
Version: 4.3.1
|
||||
Release: 0
|
||||
License: GPL-3.0+
|
||||
Group: Productivity/Scientific/Math
|
||||
URL: http://www-groups.mcs.st-and.ac.uk/~neunhoef/Computer/Software/Gap/io.html
|
||||
|
||||
Source: ftp://ftp.gap-system.org/pub/gap/gap4/tar.bz2/packages/io-4.2_for4.5.tar.bz2
|
||||
Patch1: io-install.diff
|
||||
Source: ftp://ftp.gap-system.org/pub/gap/gap4/tar.bz2/packages/io-%version.tar.bz2
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gap-devel >= 4.5.3
|
||||
BuildRequires: gap-devel >= 4.5.5
|
||||
BuildRequires: gap-rpm-devel
|
||||
BuildRequires: gmp-devel
|
||||
BuildRequires: libtool
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: gap-core >= 4.5.3
|
||||
Requires: gap-core >= 4.5.5
|
||||
Requires: gap-gapdoc >= 1.2
|
||||
|
||||
%description
|
||||
@ -42,8 +41,7 @@ The IO package provides bindings for GAP to the lower levels of
|
||||
Input/Output functionality in the C library.
|
||||
|
||||
%prep
|
||||
%setup -qn io
|
||||
%patch -P 1 -p1
|
||||
%setup -qn io-%version
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:093d7900fe08560ba7026538384d64f360a6995e0196fcfeeb865a03621eb2ba
|
||||
size 801564
|
3
io-4.3.1.tar.bz2
Normal file
3
io-4.3.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e4005f630dadfd5fabfb1f8a86168c1c7ea8e3bf0f213ad5611739e3cac5718d
|
||||
size 1006481
|
@ -1,47 +0,0 @@
|
||||
From: Jan Engelhardt <jengelh@inai.de>
|
||||
Date: 2013-05-19 19:31:21.739854572 +0200
|
||||
|
||||
build: unbreak DESTDIR support
|
||||
(duh)
|
||||
|
||||
+ make -j10 DESTDIR=/home/abuild/rpmbuild/BUILDROOT/gap-io-4.2-0.x86_64
|
||||
make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/io'
|
||||
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -I/usr/lib/gap -I/usr/lib/gap/bin/x86_64-suse-linux-gnu-gcc-default64 -DCONFIG_H -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -c -o io_la-io.lo `test -f 'src/io.c' || echo './'`src/io.c
|
||||
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -I/usr/lib/gap -I/usr/lib/gap/bin/x86_64-suse-linux-gnu-gcc-default64 -DCONFIG_H -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -c src/io.c -fPIC -DPIC -o .libs/io_la-io.o
|
||||
/bin/sh ./libtool --tag=CC --mode=link gcc -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -module -avoid-version -o io.la -rpath /usr/lib64 io_la-io.lo
|
||||
libtool: link: gcc -shared -fPIC -DPIC .libs/io_la-io.o -O2 -Wl,-soname -Wl,io.so -o .libs/io.so
|
||||
libtool: link: ( cd ".libs" && rm -f "io.la" && ln -s "../io.la" "io.la" )
|
||||
test -z "/usr/lib64" || /usr/bin/mkdir -p "/home/abuild/rpmbuild/BUILDROOT/gap-io-4.2-0.x86_64/usr/lib64"
|
||||
/bin/sh ./libtool --mode=install /usr/bin/install -c io.la '/home/abuild/rpmbuild/BUILDROOT/gap-io-4.2-0.x86_64/usr/lib64'
|
||||
libtool: install: /usr/bin/install -c .libs/io.so /home/abuild/rpmbuild/BUILDROOT/gap-io-4.2-0.x86_64/usr/lib64/io.so
|
||||
libtool: install: /usr/bin/install -c .libs/io.lai /home/abuild/rpmbuild/BUILDROOT/gap-io-4.2-0.x86_64/usr/lib64/io.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/io.so /home/abuild/rpmbuild/BUILD/io/bin/x86_64-suse-linux-gnu-gcc-default64/io.so
|
||||
cp: cannot stat '/usr/lib64/io.so': No such file or directory
|
||||
make[1]: *** [all-local] Error 1
|
||||
make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/io'
|
||||
make: *** [all-recursive] Error 1
|
||||
|
||||
---
|
||||
Makefile.am | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
Index: io/Makefile.am
|
||||
===================================================================
|
||||
--- io.orig/Makefile.am
|
||||
+++ io/Makefile.am
|
||||
@@ -18,10 +18,11 @@ endif
|
||||
all-local: io.la install-libLTLIBRARIES
|
||||
$(mkdir_p) $(top_srcdir)/$(BINARCHDIR)
|
||||
if SYS_IS_CYGWIN
|
||||
- cp $(libdir)/io.dll $(GAPINSTALLLIB)
|
||||
+ mv $(DESTDIR)$(libdir)/io.dll $(GAPINSTALLLIB)
|
||||
else
|
||||
- cp $(libdir)/io.so $(GAPINSTALLLIB)
|
||||
+ mv $(DESTDIR)$(libdir)/io.so $(GAPINSTALLLIB)
|
||||
endif
|
||||
+ rm -f $(DESTDIR)$(libdir)/io.la
|
||||
@echo "SUCCESS!"
|
||||
|
||||
distclean-local:
|
Loading…
Reference in New Issue
Block a user