From: Michael Tremer Date: Sun, 21 Jun 2015 14:50:42 +0000 (+0200) Subject: compat-libgcrypt: New package X-Git-Url: http://git.ipfire.org/?p=people%2Famarx%2Fipfire-3.x.git;a=commitdiff_plain;h=9b93424f5834b7581914b305dd030ef9f9f2a805 compat-libgcrypt: New package Signed-off-by: Michael Tremer --- diff --git a/compat-libgcrypt/compat-libgcrypt.nm b/compat-libgcrypt/compat-libgcrypt.nm new file mode 100644 index 000000000..32a4374a5 --- /dev/null +++ b/compat-libgcrypt/compat-libgcrypt.nm @@ -0,0 +1,60 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = compat-libgcrypt +version = 1.5.4 +release = 1 +thisapp = libgcrypt-%{version} + +groups = System/Libraries +url = http://www.gnupg.org/ +license = LGPLv2.1+ +summary = A general-purpose cryptography library + +description + Libgcrypt is a general purpose crypto library based on the code used + in GNU Privacy Guard. +end + +source_dl = ftp://ftp.gnupg.org/gcrypt/libgcrypt/ +sources = %{thisapp}.tar.bz2 + +build + requires + gcc-c++ + libgpg-error-devel + end + + configure_options += \ + --enable-noexecstack + + test + make check + end + + install + # Install just the library and no headers. + mkdir -pv %{BUILDROOT}%{libdir} + + install -m 755 src/.libs/libgcrypt.so.11.8.3 %{BUILDROOT}%{libdir} + ln -svf libgcrypt.so.11.8.3 %{BUILDROOT}%{libdir}/libgcrypt.so.11 + end +end + +packages + package %{name} + provides + libgcrypt = %{thisver} + end + + obsoletes + libgcrypt <= %{thisver} + end + end + + package %{name}-debuginfo + template DEBUGINFO + end +end