- 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:
Jan Engelhardt 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

View File

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

3
float-1.0.3.tar.gz Normal file
View File

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

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