2021-09-24 15:38:17 +02:00
|
|
|
#
|
2021-09-29 09:21:30 +02:00
|
|
|
# spec file for package jitterentropy
|
2021-09-24 15:38:17 +02:00
|
|
|
#
|
2022-08-03 18:01:03 +02:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2021-09-24 15:38:17 +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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: jitterentropy
|
|
|
|
Summary: A userspace library for jitter entropy generation
|
2021-09-29 09:21:30 +02:00
|
|
|
License: BSD-3-Clause OR GPL-2.0-or-later
|
2021-09-24 15:38:17 +02:00
|
|
|
Group: Development/Tools/Other
|
2022-09-12 09:11:53 +02:00
|
|
|
Version: 3.4.1
|
2021-09-24 15:38:17 +02:00
|
|
|
Release: 0
|
2021-09-29 09:21:30 +02:00
|
|
|
URL: https://github.com/smuellerDD/jitterentropy-library
|
2021-09-24 15:38:17 +02:00
|
|
|
Source0: https://github.com/smuellerDD/jitterentropy-library/archive/refs/tags/v%{version}.tar.gz
|
2021-09-29 09:21:30 +02:00
|
|
|
Source1: baselibs.conf
|
2021-09-24 15:38:17 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Jitter RNG provides a noise source using the CPU execution
|
2021-09-29 09:21:30 +02:00
|
|
|
timing jitter. It depends on a high-resolution time stamp.
|
2021-09-24 15:38:17 +02:00
|
|
|
|
2021-09-29 09:21:30 +02:00
|
|
|
The design of this RNG is given in the documentation found at
|
2021-09-24 15:38:17 +02:00
|
|
|
http://www.chronox.de/jent.html . This documentation also covers the full
|
|
|
|
assessment of the SP800-90B compliance as well as all required test code.
|
|
|
|
|
|
|
|
%package -n libjitterentropy3
|
2021-09-29 09:21:30 +02:00
|
|
|
Summary: Jitter entropy generator shared library
|
|
|
|
Group: System/Libraries
|
2021-09-24 15:38:17 +02:00
|
|
|
|
|
|
|
%description -n libjitterentropy3
|
|
|
|
The Jitter RNG provides a noise source using the CPU execution
|
2021-09-29 09:21:30 +02:00
|
|
|
timing jitter. It depends on a high-resolution time stamp.
|
2021-09-24 15:38:17 +02:00
|
|
|
|
|
|
|
This package contains the shared library.
|
|
|
|
|
|
|
|
%package devel
|
2021-09-29 09:21:30 +02:00
|
|
|
Summary: Jitter entropy generator development header and library
|
2021-09-24 15:38:17 +02:00
|
|
|
Group: Development/Tools/Other
|
2021-09-29 09:21:30 +02:00
|
|
|
Requires: libjitterentropy3 = %{version}
|
2021-09-24 15:38:17 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The Jitter RNG provides a noise source using the CPU execution
|
2021-09-29 09:21:30 +02:00
|
|
|
timing jitter. It depends on a high-resolution time stamp.
|
2021-09-24 15:38:17 +02:00
|
|
|
|
|
|
|
This package contains the development header and library.
|
|
|
|
|
2022-08-03 18:01:03 +02:00
|
|
|
%package devel-static
|
|
|
|
Summary: Jitter entropy generator static library
|
|
|
|
Group: Development/Tools/Other
|
|
|
|
|
|
|
|
%description devel-static
|
|
|
|
The Jitter RNG provides a noise source using the CPU execution
|
|
|
|
timing jitter. It depends on a high-resolution time stamp.
|
|
|
|
|
|
|
|
This package contains the static library.
|
|
|
|
|
2021-09-24 15:38:17 +02:00
|
|
|
%prep
|
2021-09-29 09:21:30 +02:00
|
|
|
%autosetup -n jitterentropy-library-%version
|
2021-09-24 15:38:17 +02:00
|
|
|
|
|
|
|
%build
|
2021-09-29 09:21:30 +02:00
|
|
|
%make_build PREFIX="%_prefix" LIBDIR="%_lib"
|
2021-09-24 15:38:17 +02:00
|
|
|
|
|
|
|
%install
|
2022-08-03 18:01:03 +02:00
|
|
|
%make_install PREFIX="%_prefix" LIBDIR="%_lib" all install-static
|
2021-09-24 15:38:17 +02:00
|
|
|
|
|
|
|
%post -n libjitterentropy3 -p /sbin/ldconfig
|
|
|
|
%postun -n libjitterentropy3 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%license LICENSE.gplv2 LICENSE LICENSE.bsd
|
2021-09-29 09:21:30 +02:00
|
|
|
%_includedir/jitterentropy-base-user.h
|
|
|
|
%_includedir/jitterentropy.h
|
2021-09-24 15:38:17 +02:00
|
|
|
%_libdir/libjitterentropy.so
|
|
|
|
%_mandir/man3/jitterentropy.3*
|
|
|
|
|
2022-08-03 18:01:03 +02:00
|
|
|
%files devel-static
|
|
|
|
%license LICENSE.gplv2 LICENSE LICENSE.bsd
|
|
|
|
%_libdir/libjitterentropy.a
|
|
|
|
|
2021-09-24 15:38:17 +02:00
|
|
|
%files -n libjitterentropy3
|
|
|
|
%license LICENSE.gplv2 LICENSE LICENSE.bsd
|
|
|
|
%_libdir/libjitterentropy.so.3
|
2022-08-03 18:01:03 +02:00
|
|
|
%_libdir/libjitterentropy.so.3.4.0
|
2021-09-24 15:38:17 +02:00
|
|
|
|
|
|
|
%changelog
|