diff --git a/float-0.9.1.tar.bz2 b/float-0.9.1.tar.bz2 deleted file mode 100644 index 356880a..0000000 --- a/float-0.9.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d0ccf60bc9f8410934ac0b3c7e065fedf6291c20cd15e3107bafa63d368e39c3 -size 604673 diff --git a/float-1.0.3.tar.gz b/float-1.0.3.tar.gz new file mode 100644 index 0000000..5f4aa2a --- /dev/null +++ b/float-1.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a0afd65441844ba3a02670f6057d79c3aba77b9a5d0ec6861e215a33bd2b9405 +size 662629 diff --git a/gap-float.changes b/gap-float.changes index d5379f1..23703c3 100644 --- a/gap-float.changes +++ b/gap-float.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Nov 27 23:28:35 UTC 2022 - Jan Engelhardt + +- Update to release 1.0.3 + * No changelog was provided + ------------------------------------------------------------------- Wed Nov 14 22:05:01 UTC 2018 - Jan Engelhardt diff --git a/gap-float.spec b/gap-float.spec index ec7d83d..0923f59 100644 --- a/gap-float.spec +++ b/gap-float.spec @@ -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