openssl-ibmca/openssl-ibmca.spec
2009-07-11 20:35:31 +00:00

64 lines
1.6 KiB
RPMSpec

Summary: A dynamic OpenSSL engine for IBMCA
Name: openssl-ibmca
Version: 1.0.0
Release: 1%{?dist}
License: OpenSSL
Group: System Environment/Libraries
URL: http://sourceforge.net/projects/opencryptoki
Source0: http://downloads.sourceforge.net/opencryptoki/%{name}-%{version}.tar.bz2
Patch0: openssl-ibmca-1.0.0-make.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: openssl >= 0.9.8
BuildRequires: libica-devel automake libtool
ExclusiveArch: s390 s390x
%description
A dynamic OpenSSL engine for IBMCA crypto hardware on IBM zSeries machines.
%prep
%setup -q
%patch0 -p1 -b .make
autoreconf -i -f
%build
%configure --with-openssl=%{_prefix} --with-engines-dir=%{_libdir}/openssl/engines
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT/%{_libdir}/openssl/engines/libibmca.la
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README openssl.cnf.sample
%{_libdir}/openssl/engines/libibmca.so
%changelog
* Thu Jul 9 2009 Dan Horak <dan[at]danny.cz - 1.0.0-1
- update to final 1.0.0
- spec file cleanup
* Thu Jun 21 2007 Phil Knirsch <pknirsch@redhat.com> - 1.0.0rc2-1.el5.4
- Fixed several issues with failure of using ibmca engine (#227644)
* Tue Dec 12 2006 Phil Knirsch <pknirsch@redhat.com> - 1.0.0rc2-1.el5.3
- Added missing symlinks for libs (#215735)
- Added samle config file (#215735)
* Thu Nov 23 2006 Phil Knirsch <pknirsch@redhat.com> - 1.0.0rc2-1.el5.2
- Necessary fix so openssl finds the module properly (#215735)
* Thu May 11 2006 Phil Knirsch <pknirsch@redhat.com> - 1.0.0rc2
- Initial package.