forked from opencryptoki/openssl-ibmca
-
Notifications
You must be signed in to change notification settings - Fork 0
/
openssl-ibmca.spec
79 lines (58 loc) · 2.15 KB
/
openssl-ibmca.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
%global enginesdir %(pkg-config --variable=enginesdir libcrypto)
Name: openssl-ibmca
Version: 2.0.0
Release: 1%{?dist}
Summary: An IBMCA OpenSSL dynamic engine
License: ASL 2.0
URL: https://github.com/opencryptoki/openssl-ibmca
Source0: https://github.com/opencryptoki/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
Requires: openssl >= 0.9.8 libica >= 3.3.0
BuildRequires: openssl-devel >= 0.9.8 libica-devel >= 3.3.0
BuildRequires: autoconf automake libtool
ExclusiveArch: s390 s390x
%description
This package contains a shared object OpenSSL dynamic engine which interfaces
to libica, a library enabling the IBM s390/x CPACF crypto instructions.
%prep
%setup -q -n %{name}-%{version}
./bootstrap.sh
%build
%configure --libdir=%{enginesdir}
%make_build
%install
%make_install
rm -f $RPM_BUILD_ROOT%{enginesdir}/ibmca.la
pushd src
sed -e 's|/usr/local/lib|%{_libdir}/openssl/engines|' openssl.cnf.sample > openssl.cnf.sample.%{_arch}
popd
%files
%license LICENSE
%doc ChangeLog README.md src/openssl.cnf.sample.%{_arch}
%{enginesdir}/ibmca.so
%{_mandir}/man5/ibmca.5*
%changelog
* Wed Jun 06 2018 Eduardo Barretto <[email protected]> 2.0.0
- Update Version
- Update libica version required for building ibmca
* Wed Feb 21 2018 Eduardo Barretto <[email protected]> 1.4.1
- Updated to 1.4.1
* Thu Jan 25 2018 Eduardo Barretto <[email protected]>
- Update engine filename
- Spec cleanup
* Thu Oct 26 2017 Patrick Steuer <[email protected]>
- Fix build warning about comma and newlines
- Remove INSTALL file from doc
- Fix README name on doc
* Fri Sep 8 2017 Paulo Vital <[email protected]> 1.4.0
- Update new License
- Update Source and URL pointing to GitHub
- Added support to AES-GCM
- Fix bugs/issues
* Fri Feb 17 2017 Paulo Vital <[email protected]> 1.3.1
- Support OpenSSL-1.1 and older versions
* Tue Dec 1 2015 Claudio Carvalho <[email protected]> 1.3.0
- openssl-ibmca-1.3.0 release
* Mon May 2 2011 Kent Yoder <[email protected]> 1.2.0
- updates for s390 MSA4 features, engine version 1.2
* Fri Mar 17 2006 Michael A. Halcrow <[email protected]> 1.0.0
- initial version