]> git.pld-linux.org Git - packages/hmaccalc.git/blob - hmaccalc.spec
up to 0.9.14
[packages/hmaccalc.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:        1
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 Suggests:       prelink
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 The hmaccalc package contains tools which can calculate HMAC
23 (hash-based message authentication code) values for files. The names
24 and interfaces are meant to mimic the sha*sum tools provided by the
25 coreutils package.
26
27 %prep
28 %setup -q
29 %patch0 -p1
30
31 %build
32 %{__aclocal}
33 %{__automake}
34 %{__autoconf}
35 PRELINK_CMD=/usr/sbin/prelink \
36 %configure \
37         --enable-sum-directory=%{_libdir}/%{name} \
38         --enable-non-fips
39
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc README
54 %attr(755,root,root) %{_bindir}/md2hmac
55 %attr(755,root,root) %{_bindir}/md5hmac
56 %attr(755,root,root) %{_bindir}/sha1hmac
57 %attr(755,root,root) %{_bindir}/sha256hmac
58 %attr(755,root,root) %{_bindir}/sha384hmac
59 %attr(755,root,root) %{_bindir}/sha512hmac
60 %dir %{_libdir}/%{name}
61 %{_libdir}/%{name}/md2hmac.hmac
62 %{_libdir}/%{name}/md5hmac.hmac
63 %{_libdir}/%{name}/sha1hmac.hmac
64 %{_libdir}/%{name}/sha256hmac.hmac
65 %{_libdir}/%{name}/sha384hmac.hmac
66 %{_libdir}/%{name}/sha512hmac.hmac
67 %{_mandir}/man8/*hmac.8*
This page took 0.065694 seconds and 4 git commands to generate.