File openssl-ibmpkcs11.spec of Package openssl-ibmpkcs11

#
# spec file for package openssl-ibmpkcs11
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           openssl-ibmpkcs11
Url:            http://sourceforge.net/projects/opencryptoki/
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  libtool
BuildRequires:  openssl-devel
Version:        1.0.2
Release:        0
Summary:        OpenSSL Dynamic PKCS #11 Engine
License:        OpenSSL
Group:          Productivity/Networking/Security
Source:         %{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This package contains a shared object OpenSSL Dynamic PKCS #11 Engine

%prep
%setup

%build
sh bootstrap.sh
%configure --libdir=/%{_lib}/engines
make

%install
make install DESTDIR=${RPM_BUILD_ROOT}
rm -f ${RPM_BUILD_ROOT}/%{_lib}/engines/*.la

%clean
rm -fr ${RPM_BUILD_ROOT}

%files
%defattr(-,root,root)
%doc LICENSE ChangeLog README openssl.cnf.sample
/%{_lib}/engines/ibmpkcs11.so

%changelog
openSUSE Build Service is sponsored by