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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 658533 - (show annotations) (download)
Thu Jul 31 11:23:07 2014 UTC (9 years, 7 months ago) by oden
File size: 2222 byte(s)
- 1.3.8 (CVE-2014-4911)
- new major (7)
- drop the make_check_fixes patch, fixed upstream

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.8
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 %files
76 %doc ChangeLog README*
77 %{_bindir}/polarssl-*
78
79 %files -n %{libname}
80 %{_libdir}/*.so.%{major}*
81 %{_libdir}/*.so.%{version}
82
83 %files -n %{develname}
84 %doc apidoc/*
85 %{_libdir}/*.so
86 %{_includedir}/polarssl
87

  ViewVC Help
Powered by ViewVC 1.1.30