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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 797265 - (show annotations) (download)
Fri Nov 14 20:20:56 2014 UTC (4 years, 10 months ago) by luigiwalser
File size: 2256 byte(s)
1.3.9 (fixes CVE-2014-8627 and CVE-2014-8628)
1 %define major 7
2 %define libname %mklibname %{name} %{major}
3 %define develname %mklibname %{name} -d
4
5 Summary: An SSL library
6 Name: polarssl
7 Version: 1.3.9
8 Release: %mkrel 1
9 License: GPLv2+
10 Group: System/Libraries
11 URL: http://polarssl.org
12 Source0: http://polarssl.org/code/releases/%{name}-%{version}-gpl.tgz
13 BuildRequires: cmake
14 BuildRequires: doxygen
15 BuildRequires: pkcs11-helper-devel
16 BuildRequires: zlib-devel
17 BuildRequires: openssl-devel
18
19 %description
20 PolarSSL is an SSL library written in ANSI C. PolarSSL makes it easy
21 for developers to include cryptographic and SSL/TLS capabilities in their
22 (embedded) products with as little hassle as possible. It is designed to be
23 readable, documented, tested, loosely coupled and portable.
24
25 This package contains PolarSSL programs.
26
27 %package -n %{libname}
28 Summary: PolarSSL library
29 Group: System/Libraries
30
31 %description -n %{libname}
32 PolarSSL is an SSL library written in ANSI C. PolarSSL makes it easy
33 for developers to include cryptographic and SSL/TLS capabilities in their
34 (embedded) products with as little hassle as possible. It is designed to be
35 readable, documented, tested, loosely coupled and portable.
36
37 This package contains the library itself.
38
39 %package -n %{develname}
40 Summary: PolarSSL development files
41 Group: Development/C
42 Requires: %{libname} = %{version}
43 Provides: polarssl-devel = %{version}
44
45 %description -n %{develname}
46 PolarSSL is an SSL library written in ANSI C. PolarSSL makes it easy
47 for developers to include cryptographic and SSL/TLS capabilities in their
48 (embedded) products with as little hassle as possible. It is designed to be
49 readable, documented, tested, loosely coupled and portable.
50
51 This package contains development files.
52
53 %prep
54 %setup -q
55
56 %build
57 %cmake \
58 -DUSE_SHARED_POLARSSL_LIBRARY:BOOL=ON \
59 -DUSE_PKCS11_HELPER_LIBRARY:BOOL=ON
60 %make
61 %make apidoc
62
63 %check
64 %make check
65
66 %install
67
68 %makeinstall_std -C build
69
70 # prevent possible file clashes
71 pushd %{buildroot}%{_bindir}
72 for i in * ; do mv ${i} polarssl-${i}; done
73 popd
74
75 rm -f %{buildroot}%{_libdir}/*.a
76
77 %files
78 %doc ChangeLog README*
79 %{_bindir}/polarssl-*
80
81 %files -n %{libname}
82 %{_libdir}/*.so.%{major}*
83 %{_libdir}/*.so.%{version}
84
85 %files -n %{develname}
86 %doc apidoc/*
87 %{_libdir}/*.so
88 %{_includedir}/polarssl
89

  ViewVC Help
Powered by ViewVC 1.1.26