8 |
Summary: Library providing a secure layer (SSL) |
Summary: Library providing a secure layer (SSL) |
9 |
Name: gnutls |
Name: gnutls |
10 |
Version: 2.12.7 |
Version: 2.12.7 |
11 |
Release: %mkrel 1 |
Release: %mkrel 2 |
12 |
License: GPLv2+ and LGPLv2+ |
License: GPLv2+ and LGPLv2+ |
13 |
Group: System/Libraries |
Group: System/Libraries |
14 |
URL: http://www.gnutls.org |
URL: http://www.gnutls.org |
15 |
Source0: http://ftp.gnu.org/pub/gnu/gnutls/%{name}-%{version}.tar.bz2 |
Source0: http://ftp.gnu.org/pub/gnu/gnutls/%{name}-%{version}.tar.bz2 |
16 |
Source1: http://ftp.gnu.org/pub/gnu/gnutls/%{name}-%{version}.tar.bz2.sig |
Source1: http://ftp.gnu.org/pub/gnu/gnutls/%{name}-%{version}.tar.bz2.sig |
17 |
BuildRequires: liblzo-devel |
BuildRequires: liblzo-devel |
18 |
BuildRequires: nettle-devel |
#BuildRequires: nettle-devel |
19 |
|
BuildRequires: libgcrypt-devel |
20 |
BuildRequires: libtasn1-devel >= 0.3.4 |
BuildRequires: libtasn1-devel >= 0.3.4 |
21 |
|
%ifnarch %arm %mips |
22 |
BuildRequires: valgrind |
BuildRequires: valgrind |
23 |
|
%endif |
24 |
|
BuildRequires: opencdk-devel |
25 |
|
# Skip tests that are expected to fail on libgcrypt build |
26 |
|
Patch0: gnutls-2.12.7-dsa-skiptests.patch |
27 |
%description |
%description |
28 |
GnuTLS is a project that aims to develop a library which provides |
GnuTLS is a project that aims to develop a library which provides |
29 |
a secure layer, over a reliable transport layer. |
a secure layer, over a reliable transport layer. |
65 |
|
|
66 |
%prep |
%prep |
67 |
%setup -q |
%setup -q |
68 |
|
%apply_patches |
69 |
|
|
70 |
%build |
%build |
71 |
%configure2_5x \ |
%configure2_5x \ |
74 |
--with-lzo \ |
--with-lzo \ |
75 |
--with-libz-prefix=%{_prefix} \ |
--with-libz-prefix=%{_prefix} \ |
76 |
--with-libtasn1-prefix=%{_prefix} \ |
--with-libtasn1-prefix=%{_prefix} \ |
77 |
|
%ifnarch %arm %mips |
78 |
--enable-valgrind-tests \ |
--enable-valgrind-tests \ |
79 |
|
%endif |
80 |
--disable-rpath \ |
--disable-rpath \ |
81 |
|
--with-libgcrypt \ |
82 |
|
--with-libgcrypt-prefix=%{_prefix} \ |
83 |
--disable-guile |
--disable-guile |
84 |
|
|
85 |
%make |
%make |