Name: guile-gnutls Version: 4.0.0 Release: 1%{?dist} Summary: Guile bindings for GnuTLS License: LGPL-2.1-or-later URL: https://gitlab.com/gnutls/guile/ Source0: https://ftp.gnu.org/gnu/gnutls/guile-gnutls-%{version}.tar.gz # USe Source from gitlab? BuildRequires: gcc, make BuildRequires: pkgconfig(guile-3.0), pkgconfig(gnutls) Requires: guile30 %global guile_site_dir %(pkg-config --variable sitedir guile-3.0) %global guile_ccache_dir %(pkg-config --variable siteccachedir guile-3.0) %global guile_extension_dir %(pkg-config --variable extensiondir guile-3.0) %description This package provides Guile bindings to GnuTLS, a library implementation the @acronym{TLS, Transport-Layer Security} protocol. It supersedes the Guile bindings that were formerly provided as part of GnuTLS. %prep %autosetup %build %configure \ GUILE=%{_bindir}/guile3.0 \ guile_snarf=%{_bindir}/guile-snarf3.0 %make_build %install %make_install %check # tests/list-pk-algorithms.scm: https://gitlab.com/gnutls/guile/-/issues/25 # tests/srp-base64.scm: gnutls is build without srp support on fedora 40 # building with --disable-src-authentication fails to build. %{__make} %{?_smp_mflags} check XFAIL_TESTS='tests/list-pk-algorithms.scm tests/srp-base64.scm ' %files # COPYING.LESSERv2 Not in tarball? # README list lgpl and gpl %license COPYING %doc AUTHORS ChangeLog NEWS README %{guile_site_dir}/gnutls.scm %{guile_ccache_dir}/gnutls.go %{guile_site_dir}/gnutls/extra.scm %{guile_ccache_dir}/gnutls/extra.go %{guile_extension_dir}/guile-gnutls-v-2.so* %{_infodir}/gnutls-guile.info.gz %exclude %{_infodir}/dir %changelog %autochangelog