]> git.ipfire.org Git - ipfire-3.x.git/blame - rhash/rhash.nm
kernel: Update to 5.3.7
[ipfire-3.x.git] / rhash / rhash.nm
CommitLineData
554cdd8d
MT
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = rhash
7version = 1.3.8
8release = 1
9thisapp = RHash-%{version}
10
11groups = Development/Tools
12url = http://rhash.sf.net/
13license = BSD
14summary = Great utility for computing hash sums
15
16description
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.
25end
26
27source_dl = https://github.com/rhash/RHash/archive/v%{version}.tar.gz#/
28
29build
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
57end
58
59packages
60 package %{name}
61
62 package %{name}-devel
63 template DEVEL
64 end
65
66 package %{name}-debuginfo
67 template DEBUGINFO
68 end
69end