]> git.pld-linux.org Git - packages/gnutls.git/blobdiff - gnutls.spec
- updated to 3.0.19
[packages/gnutls.git] / gnutls.spec
index 06b74cf8d627595dd1326202390387a8cef68489..64e6eb5d80f0cab95be18cfebae53d056410ad9d 100644 (file)
@@ -5,44 +5,46 @@
 Summary:       The GNU Transport Layer Security Library
 Summary(pl.UTF-8):     Biblioteka GNU TLS (Transport Layer Security)
 Name:          gnutls
-Version:       3.0.8
+Version:       3.0.19
 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: bce40a4e9bec343b266707eb9819132b
+Source0:       ftp://ftp.gnutls.org/pub/gnutls/%{name}-%{version}.tar.lz
+# Source0-md5: a1307837e12d4317b136eb23fbf987f2
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-link.patch
 Patch2:                %{name}-pl.po-update.patch
 URL:           http://www.gnu.org/software/gnutls/
 BuildRequires: autoconf >= 2.61
 BuildRequires: automake >= 1:1.11
-BuildRequires: gettext-devel >= 0.17
+BuildRequires: gettext-devel >= 0.18
 BuildRequires: gtk-doc >= 1.1
 BuildRequires: guile-devel >= 5:2.0
 BuildRequires: libcfg+-devel
 %{?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: sed >= 4.0
 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
@@ -64,10 +66,10 @@ License:    LGPL v2.1+ (libgnutls), GPL v3+ (openssl library)
 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
@@ -152,9 +154,13 @@ Wiązania Guile do GnuTLS.
 
 %{__rm} po/stamp-po
 
+# remove it when "linking libtool libraries using a non-POSIX archiver ..." warning is gone
+# (after gnutls or libtool change)
+%{__sed} -i -e '/AM_INIT_AUTOMAKE/s/-Werror//' configure.ac
+
 %build
 %{__libtoolize}
-%{__aclocal} -I m4 -I gl/m4
+%{__aclocal} -I m4 -I gl/m4 -I src/libopts/m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
@@ -162,7 +168,8 @@ Wiązania Guile do GnuTLS.
        --disable-silent-rules \
        %{?with_gcrypt:--with-libgcrypt}
 
-%{__make}
+# docs build is broken with -jN
+%{__make} -j1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -203,6 +210,7 @@ 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
@@ -212,6 +220,7 @@ rm -rf $RPM_BUILD_ROOT
 %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*
@@ -228,6 +237,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/gnutls
 %exclude %{_includedir}/gnutls/gnutlsxx.h
 %{_pkgconfigdir}/gnutls.pc
+%{_mandir}/man3/gnutls_*.3*
 
 %files static
 %defattr(644,root,root,755)
This page took 0.515068 seconds and 4 git commands to generate.