Summary: The GNU Transport Layer Security Library
Summary(pl.UTF-8): Biblioteka GNU TLS (Transport Layer Security)
Name: gnutls
-Version: 3.0.11
-Release: 2
+Version: 3.0.18
+Release: 1
License: LGPL v3+ (libgnutls), GPL v3+ (openssl library and tools)
Group: Libraries
-Source0: ftp://ftp.gnutls.org/pub/gnutls/%{name}-%{version}.tar.xz
-# Source0-md5: ca3370b39f7910538a0d6c02bec7a142
+Source0: ftp://ftp.gnutls.org/pub/gnutls/%{name}-%{version}.tar.lz
+# Source0-md5: c18ed079fb80d86e9e514320dd21674d
Patch0: %{name}-info.patch
Patch1: %{name}-link.patch
Patch2: %{name}-pl.po-update.patch
%{?with_gcrypt:BuildRequires: libgcrypt-devel >= 1.4.0}
BuildRequires: libidn-devel
BuildRequires: libstdc++-devel
-BuildRequires: libtasn1-devel >= 2.10
+BuildRequires: libtasn1-devel >= 2.12
BuildRequires: libtool >= 2:1.5
+BuildRequires: lzip
%{!?with_gcrypt:BuildRequires: nettle-devel >= 2.4}
# miniopencdk is included in sources and currently maintained
# as part of gnutls, not external package
#BuildRequires: opencdk-devel >= 0.6.6
-BuildRequires: p11-kit-devel >= 0.4
+BuildRequires: p11-kit-devel >= 0.11
BuildRequires: pkgconfig
BuildRequires: readline-devel
BuildRequires: rpmbuild(macros) >= 1.383
BuildRequires: tar >= 1:1.22
BuildRequires: texinfo >= 4.8
-BuildRequires: xz
BuildRequires: zlib-devel
Requires(post,postun): /sbin/ldconfig
%{?with_gcrypt:Requires: libgcrypt >= 1.4.0}
-Requires: libtasn1 >= 2.10
+Requires: libtasn1 >= 2.12
%{!?with_gcrypt:Requires: nettle >= 2.4}
#Requires: opencdk >= 0.6.6
+Requires: p11-kit >= 0.11
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%{?with_gcrypt:Requires: libgcrypt-devel >= 1.4.0}
-Requires: libtasn1-devel >= 2.10
+Requires: libtasn1-devel >= 2.12
%{!?with_gcrypt:Requires: nettle-devel >= 2.4}
#Requires: opencdk-devel >= 0.6.6
-Requires: p11-kit-devel >= 0.4
+Requires: p11-kit-devel >= 0.11
Requires: zlib-devel
%description devel
%build
%{__libtoolize}
-%{__aclocal} -I m4 -I gl/m4
+%{__aclocal} -I m4 -I gl/m4 -I src/libopts/m4
%{__autoconf}
%{__autoheader}
%{__automake}
--disable-silent-rules \
%{?with_gcrypt:--with-libgcrypt}
-%{__make}
+# docs build is broken with -jN
+%{__make} -j1
%install
rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_bindir}/certtool
%attr(755,root,root) %{_bindir}/crywrap
%attr(755,root,root) %{_bindir}/gnutls-*
+%attr(755,root,root) %{_bindir}/ocsptool
%attr(755,root,root) %{_bindir}/p11tool
%attr(755,root,root) %{_bindir}/psktool
%attr(755,root,root) %{_bindir}/srptool
%attr(755,root,root) %ghost %{_libdir}/libgnutls-openssl.so.27
%{_mandir}/man1/certtool.1*
%{_mandir}/man1/gnutls-*.1*
+%{_mandir}/man1/ocsptool.1*
%{_mandir}/man1/p11tool.1*
%{_mandir}/man1/psktool.1*
%{_mandir}/man1/srptool.1*