Initial import (rq1245633) / version 1.2.3
This commit is contained in:
commit
acef69041e
17
_service
Normal file
17
_service
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<services>
|
||||||
|
<service mode="disabled" name="tar_scm">
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="url">https://github.com/openfheorg/openfhe-development.git</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="revision">v1.2.3</param>
|
||||||
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
|
<param name="filename">openfhe-development</param>
|
||||||
|
</service>
|
||||||
|
<service mode="disabled" name="recompress">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">gz</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="disabled">
|
||||||
|
<param name="basename">openfhe-development</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
BIN
openfhe-development-1.2.3.tar.gz
Normal file
BIN
openfhe-development-1.2.3.tar.gz
Normal file
Binary file not shown.
4
openfhe.changes
Normal file
4
openfhe.changes
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 17 11:08:33 UTC 2025 - Angel Yankov <angel.yankov@suse.com>
|
||||||
|
|
||||||
|
- Initial packaging of openfhe library.
|
100
openfhe.spec
Normal file
100
openfhe.spec
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
#
|
||||||
|
# spec file for package openfhe
|
||||||
|
#
|
||||||
|
# Copyright (c) 2025 SUSE LLC
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
%define libsover 1
|
||||||
|
%define libsoname lib%{name}%{libsover}
|
||||||
|
Name: openfhe
|
||||||
|
Version: 1.2.3
|
||||||
|
Release: 0
|
||||||
|
Summary: Open-Source Fully Homomorphic Encryption Library
|
||||||
|
License: BSD-2-Clause
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
URL: https://openfhe.org/
|
||||||
|
Source0: https://github.com/openfheorg/openfhe-development/archive/refs/tags/v%{version}.tar.gz#/%{name}-development-%{version}.tar.gz
|
||||||
|
BuildRequires: cmake >= 3.10
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
|
||||||
|
%description
|
||||||
|
Fully Homomorphic Encryption (FHE) is a powerful cryptographic primitive that enables performing computations over encrypted data without having access to the secret key. OpenFHE is an open-source FHE library that includes efficient implementations of all common FHE schemes:
|
||||||
|
* Brakerski/Fan-Vercauteren (BFV) scheme for integer arithmetic
|
||||||
|
* Brakerski-Gentry-Vaikuntanathan (BGV) scheme for integer arithmetic
|
||||||
|
* Cheon-Kim-Kim-Song (CKKS) scheme for real-number arithmetic (includes approximate bootstrapping)
|
||||||
|
* Ducas-Micciancio (DM/FHEW), Chillotti-Gama-Georgieva-Izabachene (CGGI/TFHE), and Lee-Micciancio-Kim-Choi-Deryabin-Eom-Yoo (LMKCDEY) schemes for evaluating Boolean circuits and arbitrary functions over larger plaintext spaces using lookup tables
|
||||||
|
|
||||||
|
|
||||||
|
%package -n %{libsoname}
|
||||||
|
Summary: Open-Source Fully Homomorphic Encryption Library
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
|
%description -n %{libsoname}
|
||||||
|
Fully Homomorphic Encryption (FHE) is a powerful cryptographic primitive that enables performing computations over encrypted data without having access to the secret key. OpenFHE is an open-source FHE library that includes efficient implementations of all common FHE schemes:
|
||||||
|
* Brakerski/Fan-Vercauteren (BFV) scheme for integer arithmetic
|
||||||
|
* Brakerski-Gentry-Vaikuntanathan (BGV) scheme for integer arithmetic
|
||||||
|
* Cheon-Kim-Kim-Song (CKKS) scheme for real-number arithmetic (includes approximate bootstrapping)
|
||||||
|
* Ducas-Micciancio (DM/FHEW), Chillotti-Gama-Georgieva-Izabachene (CGGI/TFHE), and Lee-Micciancio-Kim-Choi-Deryabin-Eom-Yoo (LMKCDEY) schemes for evaluating Boolean circuits and arbitrary functions over larger plaintext spaces using lookup tables
|
||||||
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Open-Source Fully Homomorphic Encryption Library
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %{libsoname} == %{version}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Fully Homomorphic Encryption (FHE) is a powerful cryptographic primitive that enables performing computations over encrypted data without having access to the secret key. OpenFHE is an open-source FHE library that includes efficient implementations of all common FHE schemes:
|
||||||
|
* Brakerski/Fan-Vercauteren (BFV) scheme for integer arithmetic
|
||||||
|
* Brakerski-Gentry-Vaikuntanathan (BGV) scheme for integer arithmetic
|
||||||
|
* Cheon-Kim-Kim-Song (CKKS) scheme for real-number arithmetic (includes approximate bootstrapping)
|
||||||
|
* Ducas-Micciancio (DM/FHEW), Chillotti-Gama-Georgieva-Izabachene (CGGI/TFHE), and Lee-Micciancio-Kim-Choi-Deryabin-Eom-Yoo (LMKCDEY) schemes for evaluating Boolean circuits and arbitrary functions over larger plaintext spaces using lookup tables
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -n openfhe-development-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
export CXXFLAGS+="-DGIT_SUBMOD_AUTO=OFF -DBUILD_BENCHMARKS=OFF"
|
||||||
|
%cmake
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%cmake_install
|
||||||
|
|
||||||
|
%check
|
||||||
|
cd build
|
||||||
|
%make_build testall
|
||||||
|
|
||||||
|
%post -n %{libsoname} -p /sbin/ldconfig
|
||||||
|
%postun -n %{libsoname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n %{libsoname}
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
/usr/lib/libOPENFHEpke.so.%{version}
|
||||||
|
/usr/lib/libOPENFHEbinfhe.so.%{version}
|
||||||
|
/usr/lib/libOPENFHEcore.so.%{version}
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%dir %{_includedir}/%{name}/
|
||||||
|
%{_includedir}/%{name}/*
|
||||||
|
%dir /usr/lib/OpenFHE
|
||||||
|
/usr/lib/OpenFHE/*.cmake
|
||||||
|
/usr/lib/libOPENFHEpke.so
|
||||||
|
/usr/lib/libOPENFHEbinfhe.so
|
||||||
|
/usr/lib/libOPENFHEcore.so
|
||||||
|
/usr/lib/libOPENFHEpke.so.1
|
||||||
|
/usr/lib/libOPENFHEbinfhe.so.1
|
||||||
|
/usr/lib/libOPENFHEcore.so.1
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user