diff options
author | Xavi Hernandez <xhernandez@gmail.com> | 2024-07-03 17:19:21 +0200 |
---|---|---|
committer | Xavi Hernandez <xhernandez@gmail.com> | 2024-09-26 12:14:14 +0200 |
commit | b524c4c14277514773205d5f256318c7029fd6dc (patch) | |
tree | 946367887c74b70d9ccdef4663d2350ffe208bde | |
parent | Initial version of the libcephfs proxy (diff) | |
download | ceph-b524c4c14277514773205d5f256318c7029fd6dc.tar.xz ceph-b524c4c14277514773205d5f256318c7029fd6dc.zip |
proxy: Add the proxy to the rpm builds
Signed-off-by: Xavi Hernandez <xhernandez@gmail.com>
-rw-r--r-- | ceph.spec.in | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/ceph.spec.in b/ceph.spec.in index 14c1420af40..5faf8e67321 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -1186,18 +1186,40 @@ Obsoletes: libcephfs1 < %{_epoch_prefix}%{version}-%{release} Obsoletes: ceph-libs < %{_epoch_prefix}%{version}-%{release} Obsoletes: ceph-libcephfs < %{_epoch_prefix}%{version}-%{release} %endif +Recommends: libcephfs-proxy2 = %{_epoch_prefix}%{version}-%{release} %description -n libcephfs2 Ceph is a distributed network file system designed to provide excellent performance, reliability, and scalability. This is a shared library allowing applications to access a Ceph distributed file system via a POSIX-like interface. +%package -n libcephfs-proxy2 +Summary: Proxy for libcephfs +%if 0%{?suse_version} +Group: System/Libraries +%endif +Recommends: libcephfs-daemon = %{_epoch_prefix}%{version}-%{release} +%description -n libcephfs-proxy2 +This package contains the libcephfs_proxy.so library that allow applications +to share cephfs mounts to reduce resource consumption. + +%package -n libcephfs-daemon +Summary: Deamon for the libcephfs proxy +%if 0%{?suse_version} +Group: System/Filesystems +%endif +Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release} +%description -n libcephfs-daemon +This package contains the libcephfsd daemon that allows applications to share +cephfs mounts to reduce resource consumption. + %package -n libcephfs-devel Summary: Ceph distributed file system headers %if 0%{?suse_version} Group: Development/Libraries/C and C++ %endif Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release} +Requires: libcephfs-proxy2 = %{_epoch_prefix}%{version}-%{release} Requires: librados-devel = %{_epoch_prefix}%{version}-%{release} Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release} Provides: libcephfs2-devel = %{_epoch_prefix}%{version}-%{release} @@ -2523,6 +2545,16 @@ fi %postun -n libcephfs2 -p /sbin/ldconfig +%files -n libcephfs-proxy2 +%{_libdir}/libcephfs_proxy.so.* + +%post -n libcephfs-proxy2 -p /sbin/ldconfig + +%postun -n libcephfs-proxy2 -p /sbin/ldconfig + +%files -n libcephfs-daemon +%{_sbindir}/libcephfsd + %files -n libcephfs-devel %dir %{_includedir}/cephfs %{_includedir}/cephfs/libcephfs.h @@ -2531,6 +2563,7 @@ fi %dir %{_includedir}/cephfs/metrics %{_includedir}/cephfs/metrics/Types.h %{_libdir}/libcephfs.so +%{_libdir}/libcephfs_proxy.so %files -n python%{python3_pkgversion}-cephfs %{python3_sitearch}/cephfs.cpython*.so |