/[packages]/updates/3/gnutls/current/SPECS/gnutls.spec
ViewVC logotype

Diff of /updates/3/gnutls/current/SPECS/gnutls.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 113217 by mikala, Fri Jun 24 15:48:17 2011 UTC revision 145486 by fwang, Mon Sep 19 14:37:10 2011 UTC
# Line 1  Line 1 
1  %define major 26  %define major 28
2  %define sslmajor 27  %define sslmajor 27
3  %define libname %mklibname %{name} %{major}  %define libname %mklibname %{name} %{major}
4  %define libssl %mklibname %{name}-ssl %{sslmajor}  %define libssl %mklibname %{name}-ssl %{sslmajor}
# Line 7  Line 7 
7    
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:        3.0.3
11  Release:        %mkrel 2  Release:        %mkrel 1
12  License:        GPLv2+ and LGPLv2+  License:        GPLv3+ and LGPLv3+
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.xz
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.xz.sig
17  BuildRequires:  liblzo-devel  BuildRequires:  liblzo-devel
18  #BuildRequires: nettle-devel  BuildRequires:  nettle-devel >= 2.2
 BuildRequires:  libgcrypt-devel  
19  BuildRequires:  libtasn1-devel >= 0.3.4  BuildRequires:  libtasn1-devel >= 0.3.4
20    BuildRequires:  pkgconfig(p11-kit-1) >= 0.2
21  %ifnarch %arm %mips  %ifnarch %arm %mips
22  BuildRequires:  valgrind  BuildRequires:  valgrind
23  %endif  %endif
24  BuildRequires:  opencdk-devel  BuildRequires:  opencdk-devel
25  # Skip tests that are expected to fail on libgcrypt build  
 Patch0:         gnutls-2.12.7-dsa-skiptests.patch  
26  %description  %description
27  GnuTLS is a project that aims to develop a library which provides  GnuTLS is a project that aims to develop a library which provides
28  a secure layer, over a reliable transport layer.  a secure layer, over a reliable transport layer.
# Line 65  programs/libraries that use %{name}. Line 64  programs/libraries that use %{name}.
64    
65  %prep  %prep
66  %setup -q  %setup -q
 %apply_patches  
67    
68  %build  %build
69  %configure2_5x \  %configure2_5x \
70            --disable-static \
71          --with-included-libtasn1=no \          --with-included-libtasn1=no \
72          --with-included-libcfg=yes \          --with-included-libcfg=yes \
         --with-lzo \  
73          --with-libz-prefix=%{_prefix} \          --with-libz-prefix=%{_prefix} \
74          --with-libtasn1-prefix=%{_prefix} \          --with-libtasn1-prefix=%{_prefix} \
75  %ifnarch %arm %mips  %ifnarch %arm %mips
76          --enable-valgrind-tests \          --enable-valgrind-tests \
77  %endif  %endif
78          --disable-rpath \          --disable-rpath \
         --with-libgcrypt \  
         --with-libgcrypt-prefix=%{_prefix} \  
79          --disable-guile          --disable-guile
80    
81  %make  %make
# Line 93  rm -rf %{buildroot} Line 89  rm -rf %{buildroot}
89    
90  %{find_lang} %{name} %{name} libgnutls  %{find_lang} %{name} %{name} libgnutls
91    
92    rm -f %{buildroot}%{_libdir}/*.la
93    
94  %clean  %clean
95  rm -rf %{buildroot}  rm -rf %{buildroot}
96    
# Line 122  rm -rf %{buildroot} Line 120  rm -rf %{buildroot}
120  %files -n %{develname}  %files -n %{develname}
121  %defattr(-,root,root)  %defattr(-,root,root)
122  %{_libdir}/*.so  %{_libdir}/*.so
 %{_libdir}/*.a  
 %{_libdir}/*.la  
123  %{_libdir}/pkgconfig/*.pc  %{_libdir}/pkgconfig/*.pc
124  %{_includedir}/gnutls  %{_includedir}/gnutls

Legend:
Removed from v.113217  
changed lines
  Added in v.145486

  ViewVC Help
Powered by ViewVC 1.1.30