From 215ee03340d71555598dcc47d9cc54f10b5e3f452ce8e02c90dd880e632dd88f Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 16 Jun 2022 23:42:18 +0000 Subject: [PATCH 1/2] - Update to release 0.4.0 OBS-URL: https://build.opensuse.org/package/show/science/cm?expand=0&rev=6 --- cm-0.3.1.tar.gz | 3 --- cm-0.3.1.tar.gz.asc | 7 ------ cm-0.4.0.tar.gz | 3 +++ cm-0.4.0.tar.gz.asc | 7 ++++++ cm.changes | 11 ++++++++++ cm.spec | 52 ++++++++++++--------------------------------- 6 files changed, 34 insertions(+), 49 deletions(-) delete mode 100644 cm-0.3.1.tar.gz delete mode 100644 cm-0.3.1.tar.gz.asc create mode 100644 cm-0.4.0.tar.gz create mode 100644 cm-0.4.0.tar.gz.asc diff --git a/cm-0.3.1.tar.gz b/cm-0.3.1.tar.gz deleted file mode 100644 index a71048d..0000000 --- a/cm-0.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:82d4f4dc194738466888f70c2046bd934680b92aca8fa139927e85c567580663 -size 2471723 diff --git a/cm-0.3.1.tar.gz.asc b/cm-0.3.1.tar.gz.asc deleted file mode 100644 index 91a7999..0000000 --- a/cm-0.3.1.tar.gz.asc +++ /dev/null @@ -1,7 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iHUEABEIAB0WIQStF6Ie+K7Y8cwC29n31cm/dlxh4wUCX3IYZQAKCRD31cm/dlxh -4zb3AQCjJrdQLECLwP4lLKCZAockw9gliLOeRzYik/YZe4f1PQD/ZNXpHCAaluMw -uBXCvVbrSRYIpsuwl1GcS6vARZ+aN1I= -=OOU8 ------END PGP SIGNATURE----- diff --git a/cm-0.4.0.tar.gz b/cm-0.4.0.tar.gz new file mode 100644 index 0000000..19f8d11 --- /dev/null +++ b/cm-0.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:39a398f49240977ee79b8246ba7e6e8fde1fc4ad19e15c32b08050ec948d8312 +size 731818 diff --git a/cm-0.4.0.tar.gz.asc b/cm-0.4.0.tar.gz.asc new file mode 100644 index 0000000..13d6f8c --- /dev/null +++ b/cm-0.4.0.tar.gz.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- + +iHUEABEIAB0WIQStF6Ie+K7Y8cwC29n31cm/dlxh4wUCYnKG0AAKCRD31cm/dlxh +4yvHAP93Vq58ZgbSQ4q4IB5A2/2Tewil0Ebbn0lDwiZ6RWIlugEAl8nQVI2SWt1x +oBngUuAfeU/YZAVQfS8lKZoGrJSo1m8= +=ue9f +-----END PGP SIGNATURE----- diff --git a/cm.changes b/cm.changes index 8a87815..3dadcbc 100644 --- a/cm.changes +++ b/cm.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu Jun 16 21:20:11 UTC 2022 - Jan Engelhardt + +- Update to release 0.4.0 + * Add a decomposition of the class field into a tower of prime + degree extensions following the algorithm described in A. + Enge and F. Morain, Fast Decomposition of Polynomials with + Known Galois Group. + * Add an implementation of the fastECPP primality proving + algorithm, complete with a version running over MPI. + ------------------------------------------------------------------- Mon Sep 28 19:46:34 UTC 2020 - Jan Engelhardt diff --git a/cm.spec b/cm.spec index c5aa183..755ea71 100644 --- a/cm.spec +++ b/cm.spec @@ -1,7 +1,7 @@ # # spec file for package cm # -# Copyright (c) 2020 SUSE LLC +# 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,7 +17,7 @@ Name: cm -Version: 0.3.1 +Version: 0.4.0 Release: 0 Summary: Class polynomial computation via floating point approximations License: GPL-3.0-or-later @@ -30,8 +30,8 @@ Source3: %name.keyring BuildRequires: gmp-devel >= 4.3.2 BuildRequires: mpc-devel >= 1 BuildRequires: mpfr-devel >= 3 -BuildRequires: mpfrcx-devel >= 0.4 -BuildRequires: pari-devel >= 2.7 +BuildRequires: mpfrcx-devel >= 0.6.3 +BuildRequires: pari-devel >= 2.11 BuildRequires: zlib-devel %description @@ -42,7 +42,7 @@ multiplication via floating point approximations. %package devel Summary: Development files for the CM computation software Group: Development/Libraries/C and C++ -Requires: libcm1 = %version +Requires: libcm0 = %version-%release Requires: mpc-devel Requires: mpfrcx-devel Requires: zlib-devel @@ -54,35 +54,17 @@ multiplication via floating point approximations. This subpackage provides the development headers for it. -%package -n libcm1 +%package -n libcm0 Summary: Multi-precision floating-point interval arithmetic computation library Group: System/Libraries -%description -n libcm1 +%description -n libcm0 The CM software implements the construction of ring class fields of imaginary quadratic number fields and of elliptic curves with complex multiplication via floating point approximations. It includes libraries that can be called from within a C program. -%package -n libmpfpx0 -Summary: Multi-precision floating-point polynomial library -Group: System/Libraries - -%description -n libmpfpx0 -MPFPX is a GMP-based library for working with polynomials. - -%package -n mpfpx-devel -Summary: Header files for the multi-precision floating-point polynomial library -Group: System/Libraries -Requires: gmp-devel -Requires: libmpfpx0 = %version - -%description -n mpfpx-devel -MPFPX is a GMP-based library for working with polynomials. - -This subpackage provides the development headers for it. - %prep %autosetup -p1 @@ -100,10 +82,8 @@ if ! %make_build check; then exit 1 fi -%post -n libcm1 -p /sbin/ldconfig -%postun -n libcm1 -p /sbin/ldconfig -%post -n libmpfpx0 -p /sbin/ldconfig -%postun -n libmpfpx0 -p /sbin/ldconfig +%post -n libcm0 -p /sbin/ldconfig +%postun -n libcm0 -p /sbin/ldconfig %post %install_info --info-dir="%_infodir" "%_infodir/cm.info.gz" @@ -114,21 +94,15 @@ fi %files %_bindir/classpol %_bindir/cm +%_bindir/ecpp %_datadir/cm/ %_infodir/cm.info* %files devel -%_includedir/cm_*.h +%_includedir/cm*.h %_libdir/libcm*.so -%files -n libcm1 -%_libdir/libcm_*.so.1* - -%files -n libmpfpx0 -%_libdir/libmpfpx.so.0* - -%files -n mpfpx-devel -%_includedir/mpfpx.h -%_libdir/libmpfpx.so +%files -n libcm0 +%_libdir/libcm.so.0* %changelog From 39b39d9a485eb030599c849665c11c7f6c0a62aefbf5d7d6aed08eb020b5e8eb Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 27 Aug 2022 06:52:41 +0000 Subject: [PATCH 2/2] - Update to snapshot 0.4.0+gb2b8d4bd OBS-URL: https://build.opensuse.org/package/show/science/cm?expand=0&rev=7 --- cm-0.4.0.tar.gz | 3 --- cm-0.4.0.tar.gz.asc | 7 ------- cm-b2b8d4bda97b158aad539d50b8fda8571db5ead6.tar.gz | 3 +++ cm.changes | 6 ++++++ cm.spec | 14 +++++++++----- 5 files changed, 18 insertions(+), 15 deletions(-) delete mode 100644 cm-0.4.0.tar.gz delete mode 100644 cm-0.4.0.tar.gz.asc create mode 100644 cm-b2b8d4bda97b158aad539d50b8fda8571db5ead6.tar.gz diff --git a/cm-0.4.0.tar.gz b/cm-0.4.0.tar.gz deleted file mode 100644 index 19f8d11..0000000 --- a/cm-0.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:39a398f49240977ee79b8246ba7e6e8fde1fc4ad19e15c32b08050ec948d8312 -size 731818 diff --git a/cm-0.4.0.tar.gz.asc b/cm-0.4.0.tar.gz.asc deleted file mode 100644 index 13d6f8c..0000000 --- a/cm-0.4.0.tar.gz.asc +++ /dev/null @@ -1,7 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iHUEABEIAB0WIQStF6Ie+K7Y8cwC29n31cm/dlxh4wUCYnKG0AAKCRD31cm/dlxh -4yvHAP93Vq58ZgbSQ4q4IB5A2/2Tewil0Ebbn0lDwiZ6RWIlugEAl8nQVI2SWt1x -oBngUuAfeU/YZAVQfS8lKZoGrJSo1m8= -=ue9f ------END PGP SIGNATURE----- diff --git a/cm-b2b8d4bda97b158aad539d50b8fda8571db5ead6.tar.gz b/cm-b2b8d4bda97b158aad539d50b8fda8571db5ead6.tar.gz new file mode 100644 index 0000000..5470442 --- /dev/null +++ b/cm-b2b8d4bda97b158aad539d50b8fda8571db5ead6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6b5132c316b82b15f1cec0f7f5f6b6006340e138142f5ebd79d9698b092bad3 +size 235302 diff --git a/cm.changes b/cm.changes index 3dadcbc..6e9745a 100644 --- a/cm.changes +++ b/cm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Aug 27 06:27:27 UTC 2022 - Jan Engelhardt + +- Update to snapshot 0.4.0+gb2b8d4bd + * Fix 32-bit testsuite run + ------------------------------------------------------------------- Thu Jun 16 21:20:11 UTC 2022 - Jan Engelhardt diff --git a/cm.spec b/cm.spec index 755ea71..eda00a9 100644 --- a/cm.spec +++ b/cm.spec @@ -17,17 +17,20 @@ Name: cm -Version: 0.4.0 +Version: 0.4.0+gb2b8d4bd Release: 0 Summary: Class polynomial computation via floating point approximations License: GPL-3.0-or-later Group: Productivity/Scientific/Math -URL: http://www.multiprecision.org/cm/ +URL: https://www.multiprecision.org/cm/ #Git-Clone: https://gitlab.inria.fr/enge/cm -Source: http://www.multiprecision.org/downloads/%name-%version.tar.gz -Source2: http://www.multiprecision.org/downloads/%name-%version.tar.gz.asc +Source: https://gitlab.inria.fr/enge/cm/-/archive/b2b8d4bda97b158aad539d50b8fda8571db5ead6/cm-b2b8d4bda97b158aad539d50b8fda8571db5ead6.tar.gz +#Source: http://www.multiprecision.org/downloads/%name-%version.tar.gz +#Source2: http://www.multiprecision.org/downloads/%name-%version.tar.gz.asc Source3: %name.keyring BuildRequires: gmp-devel >= 4.3.2 +BuildRequires: libtool +BuildRequires: makeinfo BuildRequires: mpc-devel >= 1 BuildRequires: mpfr-devel >= 3 BuildRequires: mpfrcx-devel >= 0.6.3 @@ -66,9 +69,10 @@ multiplication via floating point approximations. It includes libraries that can be called from within a C program. %prep -%autosetup -p1 +%autosetup -p1 -n cm-b2b8d4bda97b158aad539d50b8fda8571db5ead6 %build +autoreconf -fi %configure --disable-static %make_build