Version: 0.1.23
Release: 1
Group: Security/Secure Storage
-License: Apache-2.0 and BSL-1.0 and BSD-3-Clause
+License: Apache-2.0 and BSD-3-Clause
Source0: %{name}-%{version}.tar.gz
Source1001: key-manager-pam-plugin.manifest
Source1002: libkey-manager-client.manifest
%package -n libkey-manager-common
Summary: Central Key Manager (common libraries)
Group: Security/Libraries
+License: Apache-2.0
Requires(post): %{sbin_dir}/ldconfig
Requires(postun): %{sbin_dir}/ldconfig
%package -n libkey-manager-client
Summary: Central Key Manager (client)
Group: Security/Libraries
+License: Apache-2.0
Requires: key-manager = %{version}-%{release}
Requires: libkey-manager-common = %{version}-%{release}
Requires(post): %{sbin_dir}/ldconfig
%package -n libkey-manager-client-devel
Summary: Central Key Manager (client-devel)
Group: Security/Development
+License: Apache-2.0
BuildRequires: pkgconfig(capi-base-common)
Requires: pkgconfig(capi-base-common)
Requires: libkey-manager-client = %{version}-%{release}
%package -n key-manager-tests
Summary: Internal test for key-manager
Group: Security/Testing
+License: Apache-2.0 and BSL-1.0
BuildRequires: pkgconfig(libxml-2.0)
Requires: boost-test
Requires: key-manager = %{version}-%{release}
%package -n key-manager-pam-plugin
Summary: CKM login/password module to PAM
Group: Security/Libraries
+License: Apache-2.0
BuildRequires: pam-devel
Requires: key-manager = %{version}-%{release}
Requires(post): %{sbin_dir}/ldconfig
%files -n key-manager
%manifest key-manager.manifest
%license LICENSE
-%license LICENSE.BSL-1.0
%license LICENSE.BSD-3-Clause
%{bin_dir}/key-manager
%{_unitdir}/multi-user.target.wants/central-key-manager.service
%files -n key-manager-pam-plugin
%manifest key-manager-pam-plugin.manifest
+%license LICENSE
%{_libdir}/security/pam_key_manager_plugin.so*
%files -n libkey-manager-common
%manifest libkey-manager-common.manifest
+%license LICENSE
%{_libdir}/libkey-manager-common.so.*
%files -n libkey-manager-client
%files -n libkey-manager-client-devel
%manifest libkey-manager-client-devel.manifest
+%license LICENSE
%{_libdir}/libkey-manager-client.so
%{_libdir}/libkey-manager-control-client.so
%{_libdir}/libkey-manager-common.so
%files -n key-manager-tests
%manifest key-manager-tests.manifest
+%license LICENSE
+%license LICENSE.BSL-1.0
%{bin_dir}/ckm-tests-internal
%{bin_dir}/ckm_so_loader
%{bin_dir}/ckm_db_tool