1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
9 thisapp = RHash-%{version}
11 groups = Development/Tools
12 url = http://rhash.sf.net/
14 summary = Great utility for computing hash sums
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.
23 Hash sums are used to ensure and verify integrity of large volumes of
24 data for a long-term storing or transferring.
27 source_dl = https://github.com/rhash/RHash/archive/v%{version}.tar.gz#/
35 # This package uses a non-standard configure script
37 --target="%{DISTRO_ARCH}-linux" \
38 --prefix="%{prefix}" \
39 --sysconfdir="%{sysconfdir}" \
40 --libdir="%{libdir}" \
42 --extra-cflags="%{CFLAGS}" \
43 --extra-ldflags="%{LDFLAGS}"
50 # Install rhash command
51 make install DESTDIR=%{BUILDROOT}
54 make -C librhash DESTDIR=%{BUILDROOT} \
55 install-lib-headers install-lib-shared install-so-link
66 package %{name}-debuginfo