Пакет rng-tools: Specfile
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 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | %define _unpackaged_files_terminate_build 1 %def_with check Name: rng-tools Version: 6.14 Release: alt1.git82f665c4 Summary: Random number generator related utilities License: GPLv2+ Group: System/Kernel and hardware URL: https://github.com/nhorman/rng-tools #Git: https://github.com/nhorman/rng-tools.git Source0: %name-%version.tar Source1: %name.init Source2: %name.default Source3: %name.service Patch0: %name-%version.patch # Automatically added by buildreq on Wed Apr 03 2019 # optimized out: glibc-kernheaders-generic glibc-kernheaders-x86 gnu-config # libsasl2-3 libssl-devel perl pkg-config python-base sh4 BuildRequires: libcurl-devel BuildRequires: libxml2-devel BuildRequires: libp11-devel BuildRequires: jitterentropy-devel BuildRequires: libjansson-devel BuildRequires: rtl-sdr-devel %if_with check BuildRequires: /proc %endif Obsoletes: kernel-utils %description Hardware random number generation tool. It monitors a set of entropy sources, and supplies entropy from them to the system kernel's /dev/random machinery. %prep %setup %patch0 -p1 %build ./autogen.sh %configure %make_build %install %makeinstall_std mkdir -p %buildroot{%_initdir,%_sysconfdir/sysconfig,%_unitdir} install -m755 %SOURCE1 %buildroot%_initdir/rngd install -m644 %SOURCE2 %buildroot%_sysconfdir/sysconfig/rngd install -m644 %SOURCE3 %buildroot%_unitdir/rngd.service %check make check %post %post_service rngd %preun %preun_service rngd %files %config(noreplace) %_sysconfdir/sysconfig/rngd %_initdir/rngd %_unitdir/rngd.service %_bindir/rngtest %_bindir/randstat %_sbindir/rngd %_man1dir/rngtest.1* %_man8dir/rngd.8* %changelog * Mon Sep 20 2021 Nikolai Kostrigin <nickel@altlinux.org> 6.14-alt1.git82f665c4 - Version 6.14 plus latest upstream fixes + pack new randstat utility - spec: add /proc to BR: due to test scripts requirement + add check handle * Fri Jun 18 2021 Nikolai Kostrigin <nickel@altlinux.org> 6.13-alt1 - Version 6.13 * Thu Mar 11 2021 Nikolai Kostrigin <nickel@altlinux.org> 6.12-alt1 - Version 6.12 - remove BR: libsysfs-devel (according to upstream code changes) * Fri Jan 08 2021 Nikolai Kostrigin <nickel@altlinux.org> 6.11-alt1 - Version 6.11 * Mon Jun 01 2020 Nikolai Kostrigin <nickel@altlinux.org> 6.10-alt1 - Version 6.10 - add new BR: libjansson-devel, rtl-sdr-devel (add rtlsdr radio entropy source) - remove BR: libgcrypt (all entropy sources now use openssl instead of gcrypt) * Tue Dec 17 2019 Nikolai Kostrigin <nickel@altlinux.org> 6.9-alt1 - Version 6.9 - remove obsolete patches * Tue May 28 2019 Nikolai Kostrigin <nickel@altlinux.org> 6.7-alt3 - add upstream patch skipping periodical urandom test failures * Thu Apr 04 2019 Nikolai Kostrigin <nickel@altlinux.org> 6.7-alt2 - add libgcrypt-devel to BR - switch auto tests on * Wed Apr 03 2019 Nikolai Kostrigin <nickel@altlinux.org> 6.7-alt1 - Version 6.7 - rearrange package git repo * Sat Sep 01 2018 Sergey Y. Afonin <asy@altlinux.ru> 5-alt1 - Version 5 - added LSB init header to init script - added example with /dev/urandom to /etc/sysconfig/rngd - do not pack deprecated modutils.d/rng-tools * Mon Apr 15 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 3-alt1.qa1 - NMU: rebuilt for debuginfo. * Mon Oct 25 2010 Victor Forsiuk <force@altlinux.org> 3-alt1 - Version 3. * Thu Feb 02 2006 LAKostis <lakostis at altlinux.org> 2.0-alt2 - add some improvements from debian package (init.d script, defaults). * Thu Feb 02 2006 LAKostis <lakostis at altlinux.org> 2.0-alt1 - rebuild for ALTLinux. * Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com> - rebuilt for new gcj * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> - rebuilt * Wed Apr 13 2005 Florian La Roche <laroche@redhat.com> - remove empty scripts * Tue Mar 1 2005 Dave Jones <davej@redhat.com> - Rebuild for gcc4 * Wed Feb 9 2005 Dave Jones <davej@redhat.com> - Use $RPM_OPT_FLAGS * Sat Dec 18 2004 Dave Jones <davej@redhat.com> - Initial packaging, based upon kernel-utils. |