1 Commits

Author SHA256 Message Date
4917b9277f ntl 11.6.0 2025-11-07 21:07:20 +01:00
4 changed files with 21 additions and 14 deletions

View File

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

BIN
ntl-11.6.0.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Nov 7 19:53:13 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 11.6.0
* Add SIMD support for aarch64 and other updates
-------------------------------------------------------------------
Wed Jun 23 22:26:11 UTC 2021 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package ntl
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,8 @@
Name: ntl
%define lname libntl44
Version: 11.5.1
%define lname libntl45
Version: 11.6.0
Release: 0
Summary: Library for Number Theory
License: LGPL-2.1-or-later
@@ -75,22 +75,22 @@ This package contains the documentation for the NTL API.
%autosetup -p1
%build
pushd src/
cd src/
./configure CXXFLAGS="%optflags" DEF_PREFIX="%_prefix" LIBDIR="%_libdir" \
DOCDIR="%_defaultdocdir" NTL_GF2X_LIB=on SHARED=on NATIVE=off
make %{?_smp_mflags}
popd
PKGDIR="%_libdir/pkgconfig" DOCDIR="%_defaultdocdir" \
NTL_GF2X_LIB=on SHARED=on NATIVE=off
%make_build
cd -
%install
pushd src/
cd src/
%make_install
mv "%buildroot/%_defaultdocdir/NTL" "%buildroot/%_defaultdocdir/ntl"
popd
cd -
rm -fv "%buildroot/%_libdir"/*.la
%fdupes %buildroot/%_prefix
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%ldconfig_scriptlets -n %lname
%files -n %lname
%_libdir/libntl.so.*
@@ -99,6 +99,7 @@ rm -fv "%buildroot/%_libdir"/*.la
%files devel
%_includedir/NTL/
%_libdir/libntl.so
%_libdir/pkgconfig/*.pc
%files doc
%_defaultdocdir/%name/