Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37417472
en ru br
ALT Linux repos
S:3.3.1-alt1

Group :: System/Kernel and hardware
RPM: jitterentropy

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define soname 3

Name: jitterentropy
Version: 3.3.0
Release: alt1

Summary: Library implementing the jitter entropy source
License: BSD or GPLv2
Group: System/Kernel and hardware

Url: https://github.com/smuellerDD/jitterentropy-library
Source: %name-%version.tar

# build with debug info and do not strip early

Patch: jitterentropy-3.2.0-alt-nostrip.patch

%description
Library implementing the CPU jitter entropy source

%package devel
Summary: Development headers for jitterentropy library
Group: Development/C
Requires: %name = %version-%release

%description devel
Development headers and libraries for jitterentropy

%prep
%setup
%patch -p1
%ifarch %e2k
# strip UTF-8 BOM for lcc < 1.24
find -type f -name '*.cpp' -o -name '*.hpp' -o -name '*.h' |
xargs -r sed -ri 's,^\xEF\xBB\xBF,,'
%endif

%build
%make_build

%install
mkdir -p %buildroot%_includedir
%makeinstall_std PREFIX=%_usr LIBDIR=%_lib

%files
%doc README* LICENSE* CHANGES*
%_libdir/libjitterentropy.so.%{soname}*

%files devel
%_includedir/*
%_libdir/libjitterentropy.so
%_man3dir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin