/[packages]/cauldron/gnutls/current/SPECS/gnutls.spec
ViewVC logotype

Annotation of /cauldron/gnutls/current/SPECS/gnutls.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 74054 - (hide annotations) (download)
Fri Mar 18 07:54:05 2011 UTC (13 years ago) by wally
File size: 2716 byte(s)
- new version 2.10.5
- drop buildroot definition

1 ahmad 6531 # older opencdk forgot to bundle m4 file
2     %define opencdk_version 0.6.0
3     %define libgcrypt_version 1.2.4
4    
5     %define major 26
6     %define libname %mklibname %{name} %{major}
7     %define libname_orig lib%{name}
8     %define develname %mklibname %{name} -d
9    
10     Summary: Library providing a secure layer (SSL)
11     Name: gnutls
12 wally 74054 Version: 2.10.5
13     Release: %mkrel 1
14 ahmad 6531 License: GPLv2+ and LGPLv2+
15     Group: System/Libraries
16     URL: http://www.gnutls.org
17     Source0: http://ftp.gnu.org/pub/gnu/gnutls/%{name}-%{version}.tar.bz2
18     Source1: %{SOURCE0}.sig
19     BuildRequires: opencdk-devel >= %{opencdk_version}
20     BuildRequires: liblzo-devel
21     BuildRequires: libgcrypt-devel >= %{libgcrypt_version}
22     BuildRequires: libtasn1-devel >= 0.3.4
23     %ifnarch %arm %mips
24     BuildRequires: valgrind
25     %endif
26    
27     %description
28     GnuTLS is a project that aims to develop a library which provides
29     a secure layer, over a reliable transport layer.
30    
31     %package -n %{libname}
32     Summary: Library providing a secure layer (SSL)
33     Group: System/Libraries
34     Provides: %{libname_orig} = %{version}-%{release}
35    
36     %description -n %{libname}
37     GnuTLS is a project that aims to develop a library which provides
38     a secure layer, over a reliable transport layer.
39    
40     %package -n %{develname}
41     Summary: Development files for %{name}
42     Group: Development/C
43     Requires: %{name} = %{version}-%{release}
44     Requires: %{libname} = %{version}-%{release}
45     Provides: %{libname_orig}-devel = %{version}-%{release}
46     Provides: %{name}-devel = %{version}-%{release}
47     Requires: opencdk-devel >= %{opencdk_version}
48     Requires: libgcrypt-devel >= %{libgcrypt_version}
49     Obsoletes: %mklibname %{name} 13 -d
50    
51     %description -n %{develname}
52     GnuTLS is a project that aims to develop a library which provides
53     a secure layer, over a reliable transport layer.
54    
55     This package contains all necessary files to compile or develop
56     programs/libraries that use %{name}.
57    
58     %prep
59     %setup -q
60    
61     %build
62     %configure2_5x \
63     --with-included-libtasn1=no \
64     --with-included-libcfg=yes \
65     --with-lzo \
66     --with-libz-prefix=%{_prefix} \
67     --with-libgcrypt \
68     --with-libgcrypt-prefix=%{_prefix} \
69     --with-libtasn1-prefix=%{_prefix} \
70     %ifnarch %arm %mips
71     --enable-valgrind-tests \
72     %endif
73     --disable-rpath \
74     --disable-guile
75    
76     %make
77    
78     %check
79     make check
80    
81     %install
82     rm -rf %{buildroot}
83     %makeinstall_std
84    
85     %{find_lang} %{name} %{name} libgnutls
86    
87     %clean
88     rm -rf %{buildroot}
89    
90     %post
91     %_install_info gnutls.info
92    
93     %postun
94     %_remove_install_info gnutls.info
95    
96     %files -f %{name}.lang
97     %defattr(-,root,root)
98     %doc NEWS README
99     %{_bindir}/[cgs]*
100     %{_bindir}/psktool
101     %{_mandir}/man?/*
102     %{_infodir}/gnutls*
103    
104     %files -n %{libname}
105     %defattr(-,root,root)
106     %{_libdir}/lib*.so.%{major}*
107    
108     %files -n %{develname}
109     %defattr(-,root,root)
110     %{_libdir}/*.so
111     %{_libdir}/*.a
112     %{_libdir}/*.la
113     %{_libdir}/pkgconfig/*.pc
114     %{_includedir}/gnutls

  ViewVC Help
Powered by ViewVC 1.1.30