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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 215798 - (show annotations) (download)
Tue Feb 28 06:58:08 2012 UTC (12 years, 1 month ago) by fwang
File size: 3183 byte(s)
new version 3.0.14
1 %define major 28
2 %define sslmajor 27
3 %define libname %mklibname %{name} %{major}
4 %define libssl %mklibname %{name}-ssl %{sslmajor}
5 %define libname_orig lib%{name}
6 %define develname %mklibname %{name} -d
7
8 Summary: Library providing a secure layer (SSL)
9 Name: gnutls
10 Version: 3.0.14
11 Release: %mkrel 1
12 License: GPLv3+ and LGPLv3+
13 Group: System/Libraries
14 URL: http://www.gnutls.org
15 Source0: http://ftp.gnu.org/pub/gnu/gnutls/%{name}-%{version}.tar.xz
16 Source1: http://ftp.gnu.org/pub/gnu/gnutls/%{name}-%{version}.tar.xz.sig
17 BuildRequires: liblzo-devel
18 BuildRequires: nettle-devel >= 2.4
19 BuildRequires: libtasn1-devel >= 0.3.4
20 BuildRequires: pkgconfig(p11-kit-1) >= 0.2
21 %ifnarch %arm %mips
22 BuildRequires: valgrind
23 %endif
24 BuildRequires: opencdk-devel
25
26 %description
27 GnuTLS is a project that aims to develop a library which provides
28 a secure layer, over a reliable transport layer.
29
30 %package -n %{libname}
31 Summary: Library providing a secure layer (SSL)
32 Group: System/Libraries
33 Provides: %{libname_orig} = %{version}-%{release}
34
35 %description -n %{libname}
36 GnuTLS is a project that aims to develop a library which provides
37 a secure layer, over a reliable transport layer.
38
39 %package -n %{libssl}
40 Summary: Library providing a secure layer (SSL)
41 Group: System/Libraries
42 Provides: %{libname} = %{version}-%{release}
43
44 %description -n %{libssl}
45 GnuTLS is a project that aims to develop a library which provides
46 a secure layer, over a reliable transport layer.
47
48 %package -n %{develname}
49 Summary: Development files for %{name}
50 Group: Development/C
51 Requires: %{name} = %{version}-%{release}
52 Requires: %{libname} = %{version}-%{release}
53 Requires: %{libssl} = %{version}-%{release}
54 Provides: %{libname_orig}-devel = %{version}-%{release}
55 Provides: %{name}-devel = %{version}-%{release}
56 Obsoletes: %mklibname %{name} 13 -d
57
58 %description -n %{develname}
59 GnuTLS is a project that aims to develop a library which provides
60 a secure layer, over a reliable transport layer.
61
62 This package contains all necessary files to compile or develop
63 programs/libraries that use %{name}.
64
65 %prep
66 %setup -q
67
68 %build
69 %configure2_5x \
70 --disable-static \
71 --with-included-libtasn1=no \
72 --with-included-libcfg=yes \
73 --with-libz-prefix=%{_prefix} \
74 --with-libtasn1-prefix=%{_prefix} \
75 --with-packager="%_vendor" \
76 --with-packager-version="%product_version" \
77 --with-packager-bug-reports="https://bugs.mageia.org" \
78 --disable-gtk-doc-html \
79 %ifnarch %arm %mips
80 --enable-valgrind-tests \
81 %endif
82 --disable-rpath \
83 --disable-guile
84
85 %make
86
87 %check
88 make check
89
90 %install
91 rm -rf %{buildroot}
92 %makeinstall_std
93
94 %{find_lang} %{name} %{name} libgnutls
95
96 rm -f %{buildroot}%{_libdir}/*.la
97
98 %clean
99 rm -rf %{buildroot}
100
101 %post
102 %_install_info gnutls.info
103
104 %postun
105 %_remove_install_info gnutls.info
106
107 %files -f %{name}.lang
108 %defattr(-,root,root)
109 %doc NEWS README
110 %{_bindir}/[cgs]*
111 %{_bindir}/psktool
112 %{_bindir}/p11tool
113 %{_mandir}/man?/*
114 %{_infodir}/*
115
116 %files -n %{libname}
117 %defattr(-,root,root)
118 %{_libdir}/lib*.so.%{major}*
119
120 %files -n %{libssl}
121 %defattr(-,root,root)
122 %{_libdir}/lib*.so.%{sslmajor}*
123
124 %files -n %{develname}
125 %defattr(-,root,root)
126 %{_libdir}/*.so
127 %{_libdir}/pkgconfig/*.pc
128 %{_includedir}/gnutls

  ViewVC Help
Powered by ViewVC 1.1.30