]> git.ipfire.org Git - ipfire-3.x.git/blob - rhash/rhash.nm
kernel: Update to 5.3.7
[ipfire-3.x.git] / rhash / rhash.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = rhash
7 version = 1.3.8
8 release = 1
9 thisapp = RHash-%{version}
10
11 groups = Development/Tools
12 url = http://rhash.sf.net/
13 license = BSD
14 summary = Great utility for computing hash sums
15
16 description
17 RHash (Recursive Hasher) is a console utility for calculation and
18 verification of magnet links and various hash sums, including CRC32,
19 CRC32C, MD4, MD5, SHA1, SHA256, SHA512, SHA3, AICH, ED2K, DC++ TTH,
20 BitTorrent BTIH, Tiger, GOST R 34.11-94, GOST R 34.11-2012, RIPEMD-160,
21 HAS-160, EDON-R, and Whirlpool.
22
23 Hash sums are used to ensure and verify integrity of large volumes of
24 data for a long-term storing or transferring.
25 end
26
27 source_dl = https://github.com/rhash/RHash/archive/v%{version}.tar.gz#/
28
29 build
30 requires
31 gettext
32 openssl-devel
33 end
34
35 # This package uses a non-standard configure script
36 configure_options = \
37 --target="%{DISTRO_ARCH}-linux" \
38 --prefix="%{prefix}" \
39 --sysconfdir="%{sysconfdir}" \
40 --libdir="%{libdir}" \
41 --disable-static \
42 --extra-cflags="%{CFLAGS}" \
43 --extra-ldflags="%{LDFLAGS}"
44
45 test
46 make test test-lib
47 end
48
49 install
50 # Install rhash command
51 make install DESTDIR=%{BUILDROOT}
52
53 # Install library
54 make -C librhash DESTDIR=%{BUILDROOT} \
55 install-lib-headers install-lib-shared install-so-link
56 end
57 end
58
59 packages
60 package %{name}
61
62 package %{name}-devel
63 template DEVEL
64 end
65
66 package %{name}-debuginfo
67 template DEBUGINFO
68 end
69 end