2017-09-11 20:29:57 +02:00
|
|
|
#
|
|
|
|
# spec file for package fplll
|
|
|
|
#
|
2023-01-05 18:45:12 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2017-09-11 20:29:57 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-10-20 13:51:29 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-09-11 20:29:57 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: fplll
|
2023-01-05 18:45:12 +01:00
|
|
|
%define lname libfplll8
|
2023-10-18 03:38:07 +02:00
|
|
|
Version: 5.4.5
|
2017-09-11 20:29:57 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Lenstra-Lovász Lattice Basis Reduction Algorithm Library
|
2018-10-20 13:51:29 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2017-09-11 20:29:57 +02:00
|
|
|
Group: Productivity/Scientific/Math
|
2019-11-24 13:55:37 +01:00
|
|
|
URL: https://github.com/dstehle/fplll
|
2017-09-11 20:29:57 +02:00
|
|
|
|
|
|
|
#Git-Clone: https://github.com/fplll/fplll
|
|
|
|
Source: https://github.com/fplll/fplll/releases/download/%version/fplll-%version.tar.gz
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gmp-devel
|
2022-12-09 23:47:05 +01:00
|
|
|
BuildRequires: memory-constraints
|
2017-09-11 20:29:57 +02:00
|
|
|
BuildRequires: mpfr-devel
|
2019-11-24 13:55:37 +01:00
|
|
|
BuildRequires: pkg-config
|
2017-09-11 20:29:57 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
fplll contains several algorithms on lattices that rely on
|
|
|
|
floating-point computations. This includes implementations of the
|
|
|
|
floating-point LLL reduction algorithm, offering different
|
|
|
|
speed/guarantees ratios. It also includes a rigorous floating-point
|
|
|
|
implementation of the Kannan-Fincke-Pohst algorithm that finds a
|
|
|
|
shortest non-zero lattice vector.
|
|
|
|
|
|
|
|
%package -n %lname
|
|
|
|
Summary: Lenstra-Lovász Lattice Basis Reduction Algorithm Library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n %lname
|
|
|
|
fplll contains several algorithms on lattices that rely on
|
|
|
|
floating-point computations. This includes implementations of the
|
|
|
|
floating-point LLL reduction algorithm, offering different
|
|
|
|
speed/guarantees ratios. It also includes a rigorous floating-point
|
|
|
|
implementation of the Kannan-Fincke-Pohst algorithm that finds a
|
|
|
|
shortest non-zero lattice vector.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for Lattice Basis Reduction with libfplll
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %lname = %version
|
|
|
|
Obsoletes: libfplll-devel < %version-%release
|
|
|
|
Provides: libfplll-devel = %version-%release
|
|
|
|
|
2023-01-05 18:45:12 +01:00
|
|
|
%description devel
|
2017-09-11 20:29:57 +02:00
|
|
|
fplll contains several algorithms on lattices that rely on
|
|
|
|
floating-point computations. This includes implementations of the
|
|
|
|
floating-point LLL reduction algorithm, offering different
|
|
|
|
speed/guarantees ratios. It also includes a rigorous floating-point
|
|
|
|
implementation of the Kannan-Fincke-Pohst algorithm that finds a
|
|
|
|
shortest non-zero lattice vector.
|
|
|
|
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libfplll.
|
|
|
|
|
|
|
|
%prep
|
2023-01-05 18:45:12 +01:00
|
|
|
%autosetup
|
2017-09-11 20:29:57 +02:00
|
|
|
|
|
|
|
%build
|
2022-12-09 23:47:05 +01:00
|
|
|
%limit_build -m 1700
|
2017-09-11 20:29:57 +02:00
|
|
|
%configure --disable-static
|
2022-12-09 23:47:05 +01:00
|
|
|
%make_build
|
2017-09-11 20:29:57 +02:00
|
|
|
|
|
|
|
%install
|
2017-12-25 20:13:21 +01:00
|
|
|
%make_install
|
|
|
|
rm -f "%buildroot/%_libdir"/*.la
|
2017-09-11 20:29:57 +02:00
|
|
|
|
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2022-12-09 23:47:05 +01:00
|
|
|
%doc NEWS README.md
|
|
|
|
%license COPYING
|
2017-09-11 20:29:57 +02:00
|
|
|
%_bindir/fplll
|
|
|
|
%_bindir/latticegen
|
|
|
|
%_datadir/fplll/
|
|
|
|
|
|
|
|
%files -n %lname
|
|
|
|
%_libdir/libfplll.so.*
|
|
|
|
|
2023-01-05 18:45:12 +01:00
|
|
|
%files devel
|
2017-09-11 20:29:57 +02:00
|
|
|
%_includedir/fplll*
|
|
|
|
%_libdir/libfplll.so
|
|
|
|
%_libdir/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%changelog
|