---- gnutls-3.1.5/po/pl.po.orig 2012-11-24 18:06:01.000000000 +0100
-+++ gnutls-3.1.5/po/pl.po 2012-11-25 17:05:46.901906105 +0100
-@@ -5,10 +5,10 @@
+--- gnutls-3.1.6/po/pl.po.orig 2013-01-01 21:05:59.000000000 +0100
++++ gnutls-3.1.6/po/pl.po 2013-01-02 21:14:16.388022896 +0100
+@@ -1,14 +1,14 @@
+ # Polish translation for gnutls.
+ # Copyright (C) 2006, 2007, 2008, 2009, 2011, 2012 Free Software Foundation, Inc.
+ # This file is distributed under the same license as the libgnutls package.
+-# Jakub Bogusz <qboosh@pld-linux.org>, 2006-2012.
++# Jakub Bogusz <qboosh@pld-linux.org>, 2006-2013.
#
msgid ""
msgstr ""
-"Project-Id-Version: libgnutls-3.0.12\n"
-+"Project-Id-Version: libgnutls-3.1.5\n"
++"Project-Id-Version: libgnutls-3.1.6\n"
"Report-Msgid-Bugs-To: bug-gnutls@gnu.org\n"
- "POT-Creation-Date: 2012-11-24 18:05+0100\n"
+ "POT-Creation-Date: 2013-01-01 21:05+0100\n"
-"PO-Revision-Date: 2012-01-20 20:45+0100\n"
-+"PO-Revision-Date: 2012-11-25 17:02+0100\n"
++"PO-Revision-Date: 2013-01-02 21:12+0100\n"
"Last-Translator: Jakub Bogusz <qboosh@pld-linux.org>\n"
"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
"Language: pl\n"
msgid "Public Key Information:\n"
-msgstr "Inne informacje:\n"
-
--#~ msgid "\tSubject Public Key Algorithm: %s\n"
--#~ msgstr "\tAlgorytm klucza publicznego: %s\n"
--
-#~ msgid "PKCS #11 error in PIN."
-#~ msgstr "B³±d PKCS #11 w PIN-ie."
-
-#~ msgid "PKCS #11 PIN should be saved."
-#~ msgstr "PIN PKCS #11 powinien byæ zapisany."
+-
+-#~ msgid "\tSubject Public Key Algorithm: %s\n"
+-#~ msgstr "\tAlgorytm klucza publicznego: %s\n"
+msgstr "Informacje o kluczu publicznym:\n"
# Conditional build:
%bcond_with gcrypt # use gcrypt crypto backend instead of nettle (withdrawn?)
%bcond_without dane # libdane (DANE with DNSSEC certificate verification)
+%bcond_with tpm # TPM support in gnutls (cannot be used with GPL programs)
#
Summary: The GNU Transport Layer Security Library
Summary(pl.UTF-8): Biblioteka GNU TLS (Transport Layer Security)
Name: gnutls
-Version: 3.1.5
+Version: 3.1.6
Release: 1
License: LGPL v3+ (libgnutls), GPL v3+ (openssl library and tools)
Group: Libraries
Source0: ftp://ftp.gnutls.org/gcrypt/gnutls/v3.1/%{name}-%{version}.tar.lz
-# Source0-md5: 0bc1a96efe34fe7adca7318664ca2922
+# Source0-md5: 770d3ed5adfb67b075b5b398f13f484c
Patch0: %{name}-info.patch
Patch1: %{name}-link.patch
Patch2: %{name}-pl.po-update.patch
+Patch3: %{name}-am.patch
URL: http://www.gnutls.org/
BuildRequires: autoconf >= 2.61
BuildRequires: automake >= 1:1.11.3
BuildRequires: sed >= 4.0
BuildRequires: tar >= 1:1.22
BuildRequires: texinfo >= 4.8
-BuildRequires: trousers-devel
+%{?with_tpm:BuildRequires: trousers-devel}
%{?with_dane:BuildRequires: unbound-devel}
BuildRequires: zlib-devel
Requires(post,postun): /sbin/ldconfig
%{!?with_gcrypt:Requires: nettle-devel >= 2.5}
#Requires: opencdk-devel >= 0.6.6
Requires: p11-kit-devel >= 0.11
+%{?with_tpm:Requires: trousers-devel}
%{?with_dane:Requires: unbound-devel}
Requires: zlib-devel
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%{__rm} po/stamp-po
%configure \
--disable-silent-rules \
--with-default-trust-store-file=/etc/certs/ca-certificates.crt \
- %{?with_gcrypt:--with-libgcrypt}
+ %{?with_gcrypt:--with-libgcrypt} \
+ %{?with_tpm:--with-tpm}
# docs build is broken with -jN
%{__make} -j1
%attr(755,root,root) %{_bindir}/p11tool
%attr(755,root,root) %{_bindir}/psktool
%attr(755,root,root) %{_bindir}/srptool
-%attr(755,root,root) %{_bindir}/tpmtool
+%{?with_tpm:%attr(755,root,root) %{_bindir}/tpmtool}
%attr(755,root,root) %{_libdir}/libgnutls.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libgnutls.so.28
%if %{with dane}