-
Notifications
You must be signed in to change notification settings - Fork 5
/
twuewand.spec
38 lines (33 loc) · 1.03 KB
/
twuewand.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Name: twuewand
Version: 3.0.0
Release: 1%{?dist}
Summary: twuewand random number generator
License: MPLv2.0
URL: https://www.finnie.org/software/twuewand
Source0: https://www.finnie.org/software/%{name}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description
twuewand is software that creates hardware-generated random data. It
accomplishes this by exploiting the fact that the CPU clock and the
RTC (real-time clock) are physically separate, and that time and work
are not linked.
%prep
%autosetup
%build
%py3_build
make -C rndaddentropy
%install
%py3_install
make -C rndaddentropy install PREFIX=/usr DESTDIR=%{buildroot}
install -Dp -m 0644 doc/twuewand.1 %{buildroot}/%{_mandir}/man1
install -Dp -m 0644 doc/rndaddentropy.1 %{buildroot}/%{_mandir}/man1
%files
%doc README.md
%license COPYING.md
%{python3_sitelib}/*
%{_bindir}/%{name}
%{_bindir}/rndaddentropy
%{_mandir}/man1/%{name}.1*
%{_mandir}/man1/rndaddentropy.1*