Browse Source

Update spec file

Signed-off-by: Eduardo Barretto <ebarretto@linux.vnet.ibm.com>
master
Eduardo Barretto 5 years ago
committed by Eduardo Barretto
parent
commit
b9ec9c6949
1 changed files with 8 additions and 24 deletions
  1. +8
    -24
      rpm/ibmpkcs11.spec

+ 8
- 24
rpm/ibmpkcs11.spec View File

@ -1,50 +1,34 @@
#
# spec file for the IBM PKCS#11 openssl engine package
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Copyright (c) 2010,2011 IBM Corp.
#
Name: openssl-ibmpkcs11
Summary: An IBM PKCS#11 OpenSSL dynamic engine
Version: 1.0.0
Release: 0
License: Other License(s), see package, IBM Public License
Group: Hardware/Other
Source: %{name}-%{version}.tar.bz2
URL: http://sourceforge.net/projects/opencryptoki
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: openssl-devel
Release: 1%{?dist}
License: OpenSSL
Group: System Environment/Base
Source: https://github.com/opencryptoki/%{name}/archive/v%{version}.tar.gz
URL: https://github.com/opencryptoki/%{name}
BuildRequires: openssl-devel >= 0.9.8, autoconf, automake, libtool
Requires: openssl >= 0.9.8, opencryptoki >= 3.5.0
%description
This package contains a shared object OpenSSL dynamic engine for the use
with a PKCS#11 implementation such as openCryptoki.
%prep
%setup -n %{name}-%{version}
%setup -q
%build
autoreconf --force --install
export CFLAGS="$RPM_OPT_FLAGS"
export CPPFLAGS="$RPM_OPT_FLAGS"
%configure --libdir=%{_libdir}/openssl/engines
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc README ChangeLog openssl.cnf.sample
%{_libdir}/openssl/engines/libibmpkcs11.*


Loading…
Cancel
Save