2007-01-16 00:28:17 +01:00
|
|
|
#
|
2011-03-30 11:49:22 +02:00
|
|
|
# spec file for package openssl-ibmca
|
2007-01-16 00:28:17 +01:00
|
|
|
#
|
2011-03-30 11:49:22 +02:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:28:17 +01:00
|
|
|
#
|
2009-01-09 01:43:14 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:28:17 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-10 15:18:46 +02:00
|
|
|
|
2007-01-16 00:28:17 +01:00
|
|
|
Name: openssl-ibmca
|
|
|
|
BuildRequires: libica openssl-devel
|
|
|
|
Summary: The IBMCA OpenSSL dynamic engine
|
|
|
|
Version: 1.0.0
|
2011-03-30 11:49:22 +02:00
|
|
|
Release: 154
|
2010-02-09 22:41:12 +01:00
|
|
|
License: IBM PL
|
2007-01-16 00:28:17 +01:00
|
|
|
Group: Hardware/Other
|
|
|
|
Source: openssl-ibmca-1.0.0-rc2.tar.bz2
|
2010-02-09 22:41:12 +01:00
|
|
|
Source2: baselibs.conf
|
2007-01-16 00:28:17 +01:00
|
|
|
Patch: ibmca-configure.patch
|
|
|
|
Patch1: openssl-ibmca-README.patch
|
2007-02-13 14:31:49 +01:00
|
|
|
Patch2: ibmca-segfault.fix.patch
|
|
|
|
Patch3: ibmca-sw-fix.patch
|
|
|
|
Patch4: openssl-ibmca-1.0.0.rc2-memset-fix.patch
|
2008-04-10 15:18:46 +02:00
|
|
|
Url: http://sourceforge.net/projects/opencryptoki
|
2007-01-16 00:28:17 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
PreReq: %fillup_prereq %insserv_prereq
|
|
|
|
Requires: openssl libica
|
2009-01-09 01:43:14 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: openssl-ibmca-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-01-16 00:28:17 +01:00
|
|
|
%define ibmca_64bit_arch s390x ppc64
|
|
|
|
%define ibmca_32bit_arch %ix86 s390 ppc %arm
|
2008-04-10 15:18:46 +02:00
|
|
|
ExclusiveArch: %ibmca_32bit_arch %ibmca_64bit_arch
|
2007-01-16 00:28:17 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains a shared object OpenSSL dynamic engine for the
|
|
|
|
IBM eServer Cryptographic Accelerator (ICA).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Mike Halcrow <mhalcrow@us.ibm.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n openssl-ibmca-1.0.0-rc2
|
|
|
|
%patch -p1
|
|
|
|
%patch1
|
2007-02-13 14:31:49 +01:00
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
|
|
|
%patch4 -p1
|
2007-01-16 00:28:17 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf --force --install
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
export CPPFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
./configure --with-engines-dir=%_libdir/engines --libdir=%_libdir/engines
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
2011-03-30 11:49:22 +02:00
|
|
|
#(cd $RPM_BUILD_ROOT; libtool --finish ./%_libdir/engines)
|
2007-01-16 00:28:17 +01:00
|
|
|
rm ${RPM_BUILD_ROOT}%{_libdir}/engines/libibmca.la
|
|
|
|
|
|
|
|
%post
|
|
|
|
%run_ldconfig
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc README
|
|
|
|
%doc openssl.cnf.sample
|
2010-12-20 16:24:49 +01:00
|
|
|
%dir %{_libdir}/engines
|
2007-01-16 00:28:17 +01:00
|
|
|
%{_libdir}/engines/libibmca.*
|
|
|
|
|
2008-04-10 15:18:46 +02:00
|
|
|
%changelog
|