]> git.pld-linux.org Git - SPECS.git/blob - hmaccalc.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / hmaccalc.spec
1 #
2 # TODO: disable non-FIPS (md*), currently fails with "Error ensuring FIPS mode."
3 #
4 Summary:        Tools for computing and checking HMAC values for files
5 Name:           hmaccalc
6 Version:        0.9.14
7 Release:        2
8 License:        BSD
9 Group:          Base
10 Source0:        https://fedorahosted.org/released/hmaccalc/%{name}-%{version}.tar.gz
11 # Source0-md5:  93cde34427cfbedfbdf8a468cfa65d20
12 URL:            https://fedorahosted.org/hmaccalc/
13 Patch0:         no-md4.patch
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  nss-devel
17 BuildRequires:  pkgconfig
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 The hmaccalc package contains tools which can calculate HMAC
22 (hash-based message authentication code) values for files. The names
23 and interfaces are meant to mimic the sha*sum tools provided by the
24 coreutils package.
25
26 %prep
27 %setup -q
28 %patch0 -p1
29
30 %build
31 %{__aclocal}
32 %{__automake}
33 %{__autoconf}
34 %configure \
35         --enable-sum-directory=%{_libdir}/%{name} \
36         --enable-non-fips
37
38 %{__make}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %{__make} install \
44         DESTDIR=$RPM_BUILD_ROOT
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc README
52 %attr(755,root,root) %{_bindir}/md2hmac
53 %attr(755,root,root) %{_bindir}/md5hmac
54 %attr(755,root,root) %{_bindir}/sha1hmac
55 %attr(755,root,root) %{_bindir}/sha256hmac
56 %attr(755,root,root) %{_bindir}/sha384hmac
57 %attr(755,root,root) %{_bindir}/sha512hmac
58 %dir %{_libdir}/%{name}
59 %{_libdir}/%{name}/md2hmac.hmac
60 %{_libdir}/%{name}/md5hmac.hmac
61 %{_libdir}/%{name}/sha1hmac.hmac
62 %{_libdir}/%{name}/sha256hmac.hmac
63 %{_libdir}/%{name}/sha384hmac.hmac
64 %{_libdir}/%{name}/sha512hmac.hmac
65 %{_mandir}/man8/*hmac.8*
This page took 1.490229 seconds and 3 git commands to generate.