############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = nettle version = 3.8.1 release = 2 groups = System/Libraries url = http://www.lysator.liu.se/~nisse/nettle/ license = LGPL summary = A low-level cryptographic library description Nettle is a cryptographic library that is designed to fit easily in more or less any context: In crypto toolkits for object-oriented languages (C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space. end source_dl = https://ftp.gnu.org/gnu/nettle/ build requires gmp-devel >= 5.0.0 m4 end configure_options += \ --enable-shared \ --enable-fat test make check end install_cmds # Fix library permissions. find %{BUILDROOT}%{libdir} -type f -exec chmod 755 {} \; end end packages package %{name} package %{name}-devel template DEVEL requires += gmp-devel >= 5.0.0 end package %{name}-debuginfo template DEBUGINFO end end