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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30