SHA256
1
0
forked from pool/cm

Accepting request 999975 from science

update

OBS-URL: https://build.opensuse.org/request/show/999975
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cm?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2022-08-30 12:49:15 +00:00 committed by Git OBS Bridge
commit b046fcb2f2
5 changed files with 41 additions and 53 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-----

View File

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

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Sat Aug 27 06:27:27 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Update to snapshot 0.4.0+gb2b8d4bd
* Fix 32-bit testsuite run
-------------------------------------------------------------------
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> Mon Sep 28 19:46:34 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

64
cm.spec
View File

@ -1,7 +1,7 @@
# #
# spec file for package cm # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,21 +17,24 @@
Name: cm Name: cm
Version: 0.3.1 Version: 0.4.0+gb2b8d4bd
Release: 0 Release: 0
Summary: Class polynomial computation via floating point approximations Summary: Class polynomial computation via floating point approximations
License: GPL-3.0-or-later License: GPL-3.0-or-later
Group: Productivity/Scientific/Math Group: Productivity/Scientific/Math
URL: http://www.multiprecision.org/cm/ URL: https://www.multiprecision.org/cm/
#Git-Clone: https://gitlab.inria.fr/enge/cm #Git-Clone: https://gitlab.inria.fr/enge/cm
Source: http://www.multiprecision.org/downloads/%name-%version.tar.gz Source: https://gitlab.inria.fr/enge/cm/-/archive/b2b8d4bda97b158aad539d50b8fda8571db5ead6/cm-b2b8d4bda97b158aad539d50b8fda8571db5ead6.tar.gz
Source2: http://www.multiprecision.org/downloads/%name-%version.tar.gz.asc #Source: http://www.multiprecision.org/downloads/%name-%version.tar.gz
#Source2: http://www.multiprecision.org/downloads/%name-%version.tar.gz.asc
Source3: %name.keyring Source3: %name.keyring
BuildRequires: gmp-devel >= 4.3.2 BuildRequires: gmp-devel >= 4.3.2
BuildRequires: libtool
BuildRequires: makeinfo
BuildRequires: mpc-devel >= 1 BuildRequires: mpc-devel >= 1
BuildRequires: mpfr-devel >= 3 BuildRequires: mpfr-devel >= 3
BuildRequires: mpfrcx-devel >= 0.4 BuildRequires: mpfrcx-devel >= 0.6.3
BuildRequires: pari-devel >= 2.7 BuildRequires: pari-devel >= 2.11
BuildRequires: zlib-devel BuildRequires: zlib-devel
%description %description
@ -42,7 +45,7 @@ multiplication via floating point approximations.
%package devel %package devel
Summary: Development files for the CM computation software Summary: Development files for the CM computation software
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libcm1 = %version Requires: libcm0 = %version-%release
Requires: mpc-devel Requires: mpc-devel
Requires: mpfrcx-devel Requires: mpfrcx-devel
Requires: zlib-devel Requires: zlib-devel
@ -54,39 +57,22 @@ multiplication via floating point approximations.
This subpackage provides the development headers for it. This subpackage provides the development headers for it.
%package -n libcm1 %package -n libcm0
Summary: Multi-precision floating-point interval arithmetic computation library Summary: Multi-precision floating-point interval arithmetic computation library
Group: System/Libraries Group: System/Libraries
%description -n libcm1 %description -n libcm0
The CM software implements the construction of ring class fields of The CM software implements the construction of ring class fields of
imaginary quadratic number fields and of elliptic curves with complex imaginary quadratic number fields and of elliptic curves with complex
multiplication via floating point approximations. multiplication via floating point approximations.
It includes libraries that can be called from within a C program. 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 %prep
%autosetup -p1 %autosetup -p1 -n cm-b2b8d4bda97b158aad539d50b8fda8571db5ead6
%build %build
autoreconf -fi
%configure --disable-static %configure --disable-static
%make_build %make_build
@ -100,10 +86,8 @@ if ! %make_build check; then
exit 1 exit 1
fi fi
%post -n libcm1 -p /sbin/ldconfig %post -n libcm0 -p /sbin/ldconfig
%postun -n libcm1 -p /sbin/ldconfig %postun -n libcm0 -p /sbin/ldconfig
%post -n libmpfpx0 -p /sbin/ldconfig
%postun -n libmpfpx0 -p /sbin/ldconfig
%post %post
%install_info --info-dir="%_infodir" "%_infodir/cm.info.gz" %install_info --info-dir="%_infodir" "%_infodir/cm.info.gz"
@ -114,21 +98,15 @@ fi
%files %files
%_bindir/classpol %_bindir/classpol
%_bindir/cm %_bindir/cm
%_bindir/ecpp
%_datadir/cm/ %_datadir/cm/
%_infodir/cm.info* %_infodir/cm.info*
%files devel %files devel
%_includedir/cm_*.h %_includedir/cm*.h
%_libdir/libcm*.so %_libdir/libcm*.so
%files -n libcm1 %files -n libcm0
%_libdir/libcm_*.so.1* %_libdir/libcm.so.0*
%files -n libmpfpx0
%_libdir/libmpfpx.so.0*
%files -n mpfpx-devel
%_includedir/mpfpx.h
%_libdir/libmpfpx.so
%changelog %changelog