diff --git a/p11-kit.spec b/p11-kit.spec index 7b14a8b..e8f0092 100644 --- a/p11-kit.spec +++ b/p11-kit.spec @@ -1,6 +1,6 @@ Name: p11-kit Version: 0.23.20 -Release: 4 +Release: 5 Summary: Provides a way to load and enumerate PKCS#11 modules. License: BSD URL: http://p11-glue.freedesktop.org/p11-kit.html @@ -19,9 +19,6 @@ Patch6: backport-rpc-server-Disable-parsing-CKF_ARRAY_ATTRIBUTE.patch BuildRequires: gcc libtasn1-devel >= 2.3 libffi-devel gtk-doc systemd-devel pkgconfig(glib-2.0) libxslt BuildRequires: bash-completion -Provides: p11-kit-server = %{version}-%{release} -Obsoletes: p11-kit-server < %{version}-%{release} - %description Provides a way to load and enumerate PKCS#11 modules. Provides a standard configuration setup for installing @@ -46,6 +43,15 @@ Conflicts: nss < 3.14.3-9 %description trust This package contains PKCS#11 trust policy module. +%package server +Summary:Server and client commands for %{name} +Requires:%{name} = %{version}-%{release} + +%description server +The %{name}-server package contains command line tools that enable to +export PKCS#11 modules through a Unix domain socket. Note that this +feature is still experimental. + %package help Summary: Help infomation of %{name} Requires: %{name} = %{version}-%{release} @@ -98,13 +104,15 @@ fi %{_bindir}/p11-kit %{_libdir}/libp11-kit.so.* %{_libdir}/p11-kit-proxy.so -%{_libdir}/pkcs11/p11-kit-client.so %{_libexecdir}/p11-kit/p11-kit-remote -%{_libexecdir}/p11-kit/p11-kit-server +%{_datadir}/bash-completion/completions/p11-kit + +%files server +%{_libdir}/pkcs11/p11-kit-client.so %{_userunitdir}/p11-kit-client.service +%{_libexecdir}/p11-kit/p11-kit-server %{_userunitdir}/p11-kit-server.service %{_userunitdir}/p11-kit-server.socket -%{_datadir}/bash-completion/completions/p11-kit %files help %doc AUTHORS NEWS README @@ -130,6 +138,9 @@ fi %{_datadir}/bash-completion/completions/trust %changelog +* Wed Jul 6 2022 Hugel - 0.23.20-5 +- add subpackage server + * Mon Dec 27 2021 panxiaohe - 0.23.20-4 - rpc-server: Disable parsing CKF_ARRAY_ATTRIBUTE