SHA256
1
0
forked from pool/cm

- Update to release 0.4.0

OBS-URL: https://build.opensuse.org/package/show/science/cm?expand=0&rev=6
This commit is contained in:
Jan Engelhardt 2022-06-16 23:42:18 +00:00 committed by Git OBS Bridge
parent d159f16f48
commit 215ee03340
6 changed files with 34 additions and 49 deletions

View File

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

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iHUEABEIAB0WIQStF6Ie+K7Y8cwC29n31cm/dlxh4wUCX3IYZQAKCRD31cm/dlxh
4zb3AQCjJrdQLECLwP4lLKCZAockw9gliLOeRzYik/YZe4f1PQD/ZNXpHCAaluMw
uBXCvVbrSRYIpsuwl1GcS6vARZ+aN1I=
=OOU8
-----END PGP SIGNATURE-----

3
cm-0.4.0.tar.gz Normal file
View File

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

7
cm-0.4.0.tar.gz.asc Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
iHUEABEIAB0WIQStF6Ie+K7Y8cwC29n31cm/dlxh4wUCYnKG0AAKCRD31cm/dlxh
4yvHAP93Vq58ZgbSQ4q4IB5A2/2Tewil0Ebbn0lDwiZ6RWIlugEAl8nQVI2SWt1x
oBngUuAfeU/YZAVQfS8lKZoGrJSo1m8=
=ue9f
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Jun 16 21:20:11 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- 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 <jengelh@inai.de>

52
cm.spec
View File

@ -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