]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: add support for ceph-smb-ctl entrypoint script
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 22 Apr 2026 18:06:20 +0000 (14:06 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 2 Jun 2026 14:43:33 +0000 (10:43 -0400)
This package is conditional on the new `pypkg` packaging mode.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
ceph.spec.in

index 780889d5e738d876dfecc728dba58b50c4fc119e..3ec089b66202b44a06366411c59b82296e0f0353 100644 (file)
@@ -1251,6 +1251,9 @@ descriptions, and submitting the command to the appropriate daemon.
 Summary:       Python 3 utility libraries for Ceph
 %if 0%{?fedora} || 0%{?rhel} >= 8 || 0%{?openEuler}
 Requires:       python%{python3_pkgversion}-pyyaml
+%if %{with pypkg}
+Recommends:     python%{python3_pkgversion}-ceph-smb-ctl
+%endif
 %endif
 %if 0%{?suse_version}
 Requires:       python%{python3_pkgversion}-PyYAML
@@ -1397,6 +1400,22 @@ Group:          System/Monitoring
 %description node-proxy
 This package provides a Ceph hardware monitoring agent.
 
+%if %{with pypkg}
+%package -n python%{python3_pkgversion}-ceph-smb-ctl
+Summary:        Ceph SMB Service Remote-Control Client
+BuildArch:      noarch
+%if 0%{?suse_version}
+Group:          System/Filesystems
+%endif
+Requires:       python%{python3_pkgversion}-ceph-common = %{_epoch_prefix}%{version}-%{release}
+Requires:       python%{python3_pkgversion}-grpcio
+Requires:       python%{python3_pkgversion}-grpcio-reflection
+%description -n python%{python3_pkgversion}-ceph-smb-ctl
+This package provides a tool to interact with Ceph's SMB Service Remote-Control
+gRPC API as a client.
+%endif
+%dnl end package python%{python3_pkgversion}-ceph-smb-ctl
+
 #################################################################################
 # common
 #################################################################################
@@ -2788,4 +2807,9 @@ exit 0
 %{python3_sitelib}/ceph_node_proxy/*
 %{python3_sitelib}/ceph_node_proxy-*
 
+%if %{with pypkg}
+%files -n python%{python3_pkgversion}-ceph-smb-ctl
+%{_bindir}/ceph-smb-ctl
+%endif
+
 %changelog