forked from pool/libp11
Accepting request 510911 from home:scarabeus_iv:branches:security:chipcard
- Version update to 0.4.7: * Added OpenSSL-style engine error reporting (Michał Trojnara) * Added the FORCE_LOGIN engine ctrl command (Michał Trojnara) * Implemented the QUIET engine ctrl command (Michał Trojnara) * Modified CKU_CONTEXT_SPECIFIC PIN requests to be based on the CKA_ALWAYS_AUTHENTICATE attribute rather than the CKR_USER_NOT_LOGGED_IN error (Michał Trojnara) * Fixed printing hex values (Michał Trojnara) * Fixed build error with OPENSSL_NO_EC (Kai Kang) OBS-URL: https://build.opensuse.org/request/show/510911 OBS-URL: https://build.opensuse.org/package/show/security:chipcard/libp11?expand=0&rev=21
This commit is contained in:
26
libp11.spec
26
libp11.spec
@@ -16,8 +16,9 @@
|
||||
#
|
||||
|
||||
|
||||
%define libname libp11-2
|
||||
Name: libp11
|
||||
Version: 0.4.6
|
||||
Version: 0.4.7
|
||||
Release: 0
|
||||
Summary: Library Implementing a Small Layer on Top of PKCS#11 API
|
||||
License: LGPL-2.1+
|
||||
@@ -44,11 +45,11 @@ Libp11 source code includes the official header files (version 2.20)
|
||||
and thus is "derived from the RSA Security Inc. PKCS #11 Cryptographic
|
||||
Token Interface (Cryptoki)".
|
||||
|
||||
%package -n libp11-2
|
||||
%package -n %{libname}
|
||||
Summary: Library Implementing a Small Layer on Top of PKCS#11 API
|
||||
Group: Productivity/Security
|
||||
|
||||
%description -n libp11-2
|
||||
%description -n %{libname}
|
||||
Libp11 is a library implementing a small layer on top of PKCS#11 API to
|
||||
make using PKCS#11 implementations easier.
|
||||
|
||||
@@ -77,7 +78,7 @@ Token Interface (Cryptoki)".
|
||||
%package devel
|
||||
Summary: Library Implementing a Small Layer on Top of PKCS#11 API
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libp11-2 = %{version}
|
||||
Requires: %{libname} = %{version}
|
||||
Requires: openssl-devel
|
||||
|
||||
%description devel
|
||||
@@ -100,33 +101,30 @@ Token Interface (Cryptoki)".
|
||||
--disable-silent-rules \
|
||||
--with-pic \
|
||||
--enable-doc\
|
||||
--docdir=%{_docdir}/libp11-2
|
||||
--docdir=%{_docdir}/%{libname}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name} %{buildroot}%{_docdir}/libp11-2
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name} %{buildroot}%{_docdir}/%{libname}
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%fdupes %{buildroot}%{_docdir}
|
||||
|
||||
%post -n libp11-2 -p /sbin/ldconfig
|
||||
%postun -n libp11-2 -p /sbin/ldconfig
|
||||
%post -n %{libname} -p /sbin/ldconfig
|
||||
%postun -n %{libname} -p /sbin/ldconfig
|
||||
|
||||
%files -n libp11-2
|
||||
%defattr (-, root, root)
|
||||
%doc %{_docdir}/libp11-2
|
||||
%files -n %{libname}
|
||||
%doc %{_docdir}/%{libname}
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files -n openssl-engine-%{name}
|
||||
%defattr (-, root, root)
|
||||
%if 0%{?suse_version} > 1325
|
||||
%{_libdir}/openssl-?_?_?/engines
|
||||
%{_libdir}/engines-?.?
|
||||
%else
|
||||
%{_libdir}/engines
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%defattr (-, root, root)
|
||||
%{_includedir}/*.h
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
Reference in New Issue
Block a user