SHA256
1
0
forked from pool/gap-float

- Update to release 1.0.3

OBS-URL: https://build.opensuse.org/package/show/science/gap-float?expand=0&rev=21
This commit is contained in:
2022-11-27 23:32:30 +00:00
committed by Git OBS Bridge
parent 9d247895c5
commit 5e3990c02b
4 changed files with 23 additions and 23 deletions

BIN
float-0.9.1.tar.bz2 (Stored with Git LFS)

Binary file not shown.

BIN
float-1.0.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Nov 27 23:28:35 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.0.3
* No changelog was provided
-------------------------------------------------------------------
Wed Nov 14 22:05:01 UTC 2018 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package gap-float
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,20 +17,17 @@
Name: gap-float
Version: 0.9.1
Version: 1.0.3
Release: 0
Summary: GAP: Integration of mpfr, mpfi, mpc, fplll and cxsc in GAP
License: GPL-3.0-or-later
Group: Productivity/Scientific/Math
Url: http://laurentbartholdi.github.com/float/
#Git-Clone: git://github.com/laurentbartholdi/float/
Source: https://www.gap-system.org/pub/gap/gap4/tar.bz2/packages/float-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
URL: https://gap-packages.github.io/float/
#Git-Clone: https://github.com/gap-packages/float
Source: https://github.com/gap-packages/float/releases/download/v%version/float-%version.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: cxsc-devel
BuildRequires: gap-devel >= 4.9.0
BuildRequires: gap-devel >= 4.11
BuildRequires: gap-rpm-devel
BuildRequires: gcc-c++
BuildRequires: libtool
@@ -38,7 +35,7 @@ BuildRequires: mpc-devel
BuildRequires: mpfi-devel
BuildRequires: mpfr-devel
BuildRequires: pkgconfig(fplll)
Requires: gap-core >= 4.9.0
Requires: gap-core >= 4.11
Requires: gap-gapdoc >= 1.0
%description
@@ -47,23 +44,20 @@ with arbitrary precision. It is based on MPFR, MPFI, MPC, CXSC,
FPLLL.
%prep
%setup -qn float-%version
%patch -P 1 -p1
%autosetup -n float-%version
%build
autoreconf -fi
%configure --with-gaproot="%gapdir" --with-cxsc-include="%_includedir/cxsc" \
--with-fplll="%_prefix"
make %{?_smp_mflags}
%configure --with-gaproot="%gapdir" --without-fplll --without-cxsc
# fplll is too new
%make_build
%install
rm -Rf bin/*/.libs
find bin -type f ! -name float.so -delete
rm -Rf {aclocal.m4,autom4*,build-aux,config.*,configu*,libtool*,m4,src}
find . -type f -name "Makefile*" -delete
%gappkg_simple_install
pushd "%buildroot/$fmoddir/"
rm -Rf aclocal.m4 autom4* build-aux config.* configu* libtool* m4 src/
popd
%files -f %name.files
%defattr(-,root,root)
%changelog