Группа :: Система/Ядро и оборудование
Пакет: jitterentropy
Главная Изменения Спек Патчи Sources Загрузить 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
…
Полный changelog можно просмотреть здесь
%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
…
Полный changelog можно просмотреть здесь