]> git.pld-linux.org Git - packages/ceph.git/blame - ceph.spec
- obsolete outdated python2 module
[packages/ceph.git] / ceph.spec
CommitLineData
b6163d67 1# TODO:
682d6dd5
JB
2# - libzbd bluestore backend? (WITH_ZBD=ON, BR: libzbd-devel)
3# - bluefs? (WITH_BLUEFS=ON)
4# - QATZIP? (WITH_QATZIP=ON, BR: qatzip-devel)
5# - brotli? (WITH_BROTLI=ON, uses internal brotli as downloaded subproject)
bbcdc7ce
JB
6# - proper init scripts if non-systemd boot is too be supported
7# (upstream scripts seem overcomplicated and hardly useful)
8# - run as non-root user
b6163d67 9#
19c20e80
JR
10# Note on versioning: http://docs.ceph.com/docs/master/releases/
11#
714b93ed 12# Conditional build:
7f577810 13%bcond_without java # Java binding
1b11728e
JB
14%bcond_with cryptopp # use cryptopp instead of NSS crypto/SSL
15%bcond_with dpdk # DPDK messaging (requires cryptopp instead of nss)
d5cae1aa 16%bcond_with fcgi # RADOS Gateway FCGI frontend
682d6dd5
JB
17%bcond_with fio # FIO engines support (currently downloads fio as internal subproject)
18%bcond_with kerberos # GSSAPI/KRB5 support
1b11728e 19%bcond_without pmem # PMDK (persistent memory) support
682d6dd5 20%bcond_without rdma # RDMA transport support
1b11728e
JB
21%bcond_with spdk # Ceph SPDK support (DPDK based)
22%bcond_without system_rocksdb # system RocksDB storage support
d5cae1aa 23%bcond_with zfs # ZFS support [not ready for zfs 0.8.x]
7f577810
JB
24%bcond_without lttng # LTTng tracing
25%bcond_without babeltrace # Babeltrace traces support
26%bcond_without tcmalloc # tcmalloc allocator
c37aec31 27%bcond_with tests # build tests
6fce7056
JR
28
29%ifarch x32
30%undefine with_tcmalloc
31%endif
1b11728e
JB
32%ifnarch %{x8664} aarch64
33%undefine with_pmem
34%endif
35%if %{without cryptopp} && %{with dpdk}
36%error DPDK requires cryptopp
37%endif
714b93ed 38#
2a1a6301 39Summary: User space components of the Ceph file system
e5fc70df 40Summary(pl.UTF-8): Działające w przestrzeni użytkownika elementy systemu plików Ceph
2a1a6301 41Name: ceph
d5cae1aa 42Version: 16.2.7
370f7446 43Release: 2
9e1f65de 44License: LGPL v2.1 (libraries), GPL v2 (some programs)
2a1a6301 45Group: Base
4447516f 46Source0: http://download.ceph.com/tarballs/%{name}-%{version}.tar.gz
d5cae1aa 47# Source0-md5: 3cb3d259e59920b0d7145537f338aeec
b6163d67 48Source1: ceph.sysconfig
bbcdc7ce 49Source3: ceph.tmpfiles
f8bb146f
JR
50Patch0: %{name}-python.patch
51Patch1: %{name}-tcmalloc.patch
52Patch2: %{name}-fcgi.patch
53Patch3: string-includes.patch
54Patch4: no-virtualenvs.patch
55Patch5: system-zstd.patch
c8d4a223 56Patch6: types.patch
bbe36688
JR
57Patch7: use-provided-cpu-flag-values.patch
58Patch8: ix86-no-asm.patch
59Patch9: long-int-time_t.patch
b1c2f923 60Patch10: fuse3-api.patch
682d6dd5 61Patch11: %{name}-liburing.patch
e3919159 62URL: https://ceph.io/
7f577810 63%{?with_babeltrace:BuildRequires: babeltrace-devel}
682d6dd5
JB
64BuildRequires: boost-devel >= 1.72
65BuildRequires: boost-python3-devel >= 1.72
d5cae1aa 66BuildRequires: cmake >= 3.22.2
1b11728e 67%{?with_cryptopp:BuildRequires: cryptopp-devel}
682d6dd5 68BuildRequires: cryptsetup-devel >= 2.0.5
2a1a6301 69BuildRequires: curl-devel
1b11728e
JB
70%if %{with dpdk} || %{with spdk}
71BuildRequires: dpdk-devel
72%endif
682d6dd5 73BuildRequires: doxygen
714b93ed 74BuildRequires: expat-devel >= 1.95
1b11728e 75%{?with_fcgi:BuildRequires: fcgi-devel}
682d6dd5 76%{?with_fio:BuildRequires: fio-devel >= 3.15}
2a1a6301 77BuildRequires: gdbm-devel
682d6dd5
JB
78%{?with_tcmalloc:BuildRequires: gperftools-devel >= 2.6.2}
79%{?with_kerberos:BuildRequires: heimdal-devel}
7db8c214 80%if %{with java}
4f42482b 81BuildRequires: jdk
b5d07312 82BuildRequires: jre-X11
4f42482b 83%endif
2a1a6301 84BuildRequires: keyutils-devel
b44a3efd 85BuildRequires: leveldb-devel >= 1.23-2
714b93ed 86BuildRequires: libaio-devel
2a1a6301 87BuildRequires: libatomic_ops
548e0d3f 88BuildRequires: libblkid-devel >= 2.17
682d6dd5 89BuildRequires: libcap-ng-devel
714b93ed 90BuildRequires: libedit-devel >= 2.11
682d6dd5
JB
91BuildRequires: libfmt-devel >= 6.0.0
92BuildRequires: libfuse3-devel >= 3
93%{?with_rdma:BuildRequires: libibverbs-devel}
94BuildRequires: libicu-devel >= 52.0
2a1a6301 95BuildRequires: libltdl-devel
682d6dd5
JB
96BuildRequires: libnl-devel >= 3.2
97BuildRequires: librdkafka-devel >= 0.9.2
98%{?with_rdma:BuildRequires: librdmacm-devel}
99BuildRequires: libstdc++-devel >= 6:7
100%{?with_tcmalloc:BuildRequires: libtcmalloc-devel >= 2.6.2}
714b93ed 101BuildRequires: libtool >= 2:1.5
682d6dd5 102BuildRequires: liburing-devel
2a1a6301 103BuildRequires: libuuid-devel
bbcdc7ce 104BuildRequires: libxml2-devel >= 2.0
7f577810 105%{?with_lttng:BuildRequires: lttng-ust-devel}
682d6dd5 106BuildRequires: lua-devel >= 5.3
1b11728e 107BuildRequires: lz4-devel >= 1:1.7
682d6dd5 108BuildRequires: ncurses-devel
1b11728e 109%{!?with_cryptopp:BuildRequires: nss-devel >= 3}
d5cae1aa 110BuildRequires: oath-toolkit-devel
bbcdc7ce 111BuildRequires: openldap-devel
682d6dd5 112BuildRequires: openssl-devel >= 1.1
e5fc70df 113BuildRequires: perl-base
2a1a6301 114BuildRequires: pkgconfig
682d6dd5 115%{?with_pmem:BuildRequires: pmdk-devel >= 1.10}
62624566
JR
116BuildRequires: python3 >= 1:3.2
117BuildRequires: python3-devel >= 1:3.2
682d6dd5 118%{?with_tests:BuildRequires: python3-tox >= 2.9.1}
d5cae1aa 119BuildRequires: python3-Cython
682d6dd5
JB
120BuildRequires: rabbitmq-c-devel
121%{?with_system_rocksdb:BuildRequires: rocksdb-devel >= 5.14.0}
bef2a0ad 122BuildRequires: rpmbuild(macros) >= 1.671
e3919159 123BuildRequires: sed >= 4.0
f965be58 124BuildRequires: snappy-devel
f8bb146f 125BuildRequires: sphinx-pdg >= 3.0
682d6dd5 126BuildRequires: sqlite3-devel >= 3
548e0d3f 127BuildRequires: udev-devel
b1fa8ffe 128%{?with_dpdk:BuildRequires: xorg-lib-libpciaccess-devel}
fa260b6c 129BuildRequires: xfsprogs-devel
7db8c214
JB
130%ifarch %{x8664}
131BuildRequires: yasm
132%endif
101b8bdd 133%{?with_zfs:BuildRequires: zfs-devel >= 0.8.0}
bbcdc7ce 134BuildRequires: zlib-devel
2a1a6301
JR
135Requires(post,preun): /sbin/chkconfig
136Requires(preun): rc-scripts
137Requires: %{name}-libs = %{version}-%{release}
d5cae1aa 138Requires: python3-%{name} = %{version}-%{release}
bef2a0ad 139Requires: systemd-units >= 38
60d5543f 140Obsoletes: gcephtool
7db8c214 141Obsoletes: hadoop-cephfs
2a1a6301
JR
142BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
143
2d841236 144%define skip_post_check_so libceph_crypto_isal.so.* libceph_lz4.so.* libceph_snappy.so.* libceph_zlib.so.* libceph_zstd.so.* libcls_.*.so.* libec_.*.so.*
2a1a6301
JR
145
146%description
147Ceph is a distributed network file system designed to provide
148excellent performance, reliability, and scalability.
149
e5fc70df
JB
150%description -l pl.UTF-8
151Ceph to rozproszony sieciowy system plików zaprojektowany z myślą o
152dobrej wydajności, wiarygodności i skalowalności.
153
2a1a6301
JR
154%package libs
155Summary: Ceph shared libraries
e5fc70df 156Summary(pl.UTF-8): Biblioteki współdzielone Cepha
2a1a6301
JR
157Group: Libraries
158
159%description libs
160Ceph shared libraries.
161
e5fc70df
JB
162%description libs -l pl.UTF-8
163Biblioteki współdzielone Cepha.
2a1a6301
JR
164
165%package devel
e5fc70df
JB
166Summary: Ceph header files
167Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Cepha
96c29907 168License: LGPL v2.1
2a1a6301
JR
169Group: Development/Libraries
170Requires: %{name}-libs = %{version}-%{release}
682d6dd5 171Requires: boost-devel >= 1.72
bbcdc7ce
JB
172Requires: curl-devel
173Requires: expat-devel
174Requires: fcgi-devel
175Requires: nss-devel >= 3
b44a3efd 176Requires: leveldb-devel >= 1.23-2
96c29907 177Requires: libatomic_ops
bbcdc7ce 178Requires: libblkid-devel >= 2.17
682d6dd5 179Requires: libstdc++-devel >= 6:7
96c29907 180Requires: libuuid-devel
bbcdc7ce
JB
181%{?with_lttng:Requires: lttng-ust-devel}
182Requires: openldap-devel
1b11728e 183Obsoletes: ceph-static < 12
2a1a6301
JR
184
185%description devel
186This package contains the headers needed to develop programs that use
187Ceph.
188
e5fc70df
JB
189%description devel -l pl.UTF-8
190Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów
191wykorzystujących Cepha.
192
1b11728e
JB
193%package -n python3-ceph
194Summary: Ceph Python 3 bindings
195Summary(pl.UTF-8): Wiązania Pythona 3 do bibliotek Cepha
196Group: Development/Languages/Python
197Requires: %{name}-libs = %{version}-%{release}
ba10a6b0 198Obsoletes: python-ceph < 13
1b11728e
JB
199
200%description -n python3-ceph
201Ceph Python 3 bindings.
202
203%description -n python3-ceph -l pl.UTF-8
204Wiązania Pythona 3 do bibliotek Cepha.
e5fc70df 205
4f42482b
JB
206%package -n java-cephfs
207Summary: CephFS Java bindings
208Summary(pl.UTF-8): Wiązania Javy do biblioteki CephFS
209Group: Libraries/Java
210Requires: %{name}-libs = %{version}-%{release}
211
212%description -n java-cephfs
213CephFS Java bindings.
214
215%description -n java-cephfs -l pl.UTF-8
216Wiązania Javy do biblioteki CephFS.
217
e5fc70df
JB
218%package fuse
219Summary: Ceph FUSE-based client
220Summary(pl.UTF-8): Klient Cepha oparty na FUSE
221Group: Base
222Requires: %{name} = %{version}-%{release}
223
224%description fuse
225FUSE based client for Ceph distributed network file system.
226
227%description fuse -l pl.UTF-8
228Oparty na FUSE klient rozproszonego sieciowego systemu plików Ceph.
229
2a1a6301
JR
230%package radosgw
231Summary: rados REST gateway
e5fc70df
JB
232Summary(pl.UTF-8): Bramka REST-owa rados
233Group: Applications/System
2a1a6301
JR
234#Requires: apache-mod_fcgid
235
236%description radosgw
237radosgw is an S3 HTTP REST gateway for the RADOS object store. It is
238implemented as a FastCGI module using libfcgi, and can be used in
239conjunction with any FastCGI capable web server.
240
e5fc70df
JB
241%description radosgw -l pl.UTF-8
242radosgw to REST-owa bramka HTTP S3 do przechowalni obiektów RADOS.
243Jest zaimplementowana jako moduł FastCGI wykorzystujący libfcgi i może
244być używana w połączeniu z dowolnym serwerem WWW obsługującym FastCGI.
245
245cb856 246%package resource-agents
8029515d
JB
247Summary: OCF Resource Agents for Ceph processes
248Summary(pl.UTF-8): Agenci OCF do monitorowania procesów Cepha
249Group: Applications/System
250Requires: %{name} = %{version}-%{release}
251Requires: resource-agents
252
245cb856 253%description resource-agents
8029515d
JB
254OCF Resource Agents for Ceph processes.
255
245cb856 256%description resource-agents -l pl.UTF-8
8029515d
JB
257Agenci OCF do monitorowania procesów Cepha.
258
9911b50d
JP
259%package test
260Summary: Ceph benchmarks and test tools
261Summary(pl.UTF-8): Narzędzia testowe oraz do mierzenia wydajności dla Ceph
262Group: Applications/System
263Requires: %{name} = %{version}-%{release}
264
265%description test
266Ceph benchmarks and test tools.
267
268%description test -l pl.UTF-8
269Narzędzia testowe oraz do mierzenia wydajności dla Ceph.
270
79dc5cad
JB
271%package -n fio-ceph-objectstore
272Summary: FIO engine module for Ceph ObjectStore
273Summary(pl.UTF-8): Moduł silnika FIO do używania Ceph ObjectStore
274Group: Libraries
275Requires: %{name}-libs = %{version}-%{release}
101b8bdd 276%if %{with fio}
79dc5cad 277%requires_ge_to fio fio-devel
101b8bdd 278%endif
79dc5cad
JB
279
280%description -n fio-ceph-objectstore
281This FIO engine allows you to mount and use a ceph object store
282directly, without having to build a ceph cluster or start any daemons.
283
284%description -n fio-ceph-objectstore -l pl.UTF-8
285Ten silnik FIO pozwala na bezpośrednie montowanie i używanie
286przestrzeni obiektów ceph, bez potrzeby budowania klastra ceph czy
287uruchamiania demonów.
288
2a1a6301
JR
289%prep
290%setup -q
291%patch0 -p1
f8bb146f
JR
292#patch1 -p1
293%patch2 -p1
294%patch3 -p1
295%patch4 -p1
296%patch5 -p1
c8d4a223 297%patch6 -p1
c8d4a223 298%patch7 -p1
bbe36688 299%patch8 -p1
9d79249d 300%ifarch %{ix86}
bbe36688 301%patch9 -p1
9d79249d 302%endif
b1c2f923 303%patch10 -p1
682d6dd5 304%patch11 -p1
e3919159 305
370f7446
JR
306%{__sed} -E -i -e '1s,#!\s*/usr/bin/awk(\s|$),#!/bin/awk\1,' \
307 src/rgw/rgw-gap-list-comparator
308
2a1a6301 309%build
1b11728e
JB
310install -d build
311cd build
312%cmake .. \
bbe36688
JR
313%ifarch %{x8664} %{ix86} x32
314 -DHAVE_INTEL_SSE=1 \
315%endif
316%ifarch %{x8664} x32
317 -DHAVE_INTEL_SSE2=1 \
318 -DHAVE_INTEL_SSE3=1 \
319 -DHAVE_INTEL_SSSE3=1 \
320 -DHAVE_INTEL_PCLMUL=1 \
321 -DHAVE_INTEL_SSE4_1=1 \
322 -DHAVE_INTEL_SSE4_2=1 \
323%endif
1b11728e
JB
324 -DALLOCATOR="%{?with_tcmalloc:tcmalloc}%{!?with_tcmalloc:libc}" \
325 -DFIO_INCLUDE_DIR=/usr/include/fio \
d5cae1aa
JR
326 -DWITH_PYTHON3=%{py3_ver} \
327 -DPYTHON=%{__python3} \
f8bb146f 328 -DSPHINX_BUILD=/usr/bin/sphinx-build \
1b11728e 329 %{!?with_babeltrace:-DWITH_BABELTRACE=OFF} \
682d6dd5 330 %{?with_pmem:-DWITH_BLUESTORE_PMEM=ON} \
1b11728e 331 %{?with_java:-DWITH_CEPHFS_JAVA=ON} \
682d6dd5 332 %{?with_java:-DJAVA_HOME:PATH=%{java_home}} \
1b11728e
JB
333 %{?with_dpdk:-DWITH_DPDK=ON} \
334 %{?with_fio:-DWITH_FIO=ON} \
682d6dd5 335 %{?with_kerberos:-DWITH_GSSAPI=ON} \
1b11728e 336 %{!?with_lttng:-DWITH_LTTNG=OFF} \
d5cae1aa 337 -DLUA_INCLUDE_DIR=%{_includedir}/lua \
1b11728e
JB
338 -DWITH_LZ4=ON \
339 %{?with_cryptopp:-DWITH_NSS=OFF} \
340 -DWITH_OCF=ON \
1b11728e 341 %{?with_fcgi:-DWITH_RADOSGW_FCGI_FRONTEND=ON} \
f8bb146f 342 -DWITH_MGR_DASHBOARD_FRONTEND=OFF \
682d6dd5 343 %{!?with_rdma:-DWITH_RDMA=OFF} \
1b11728e
JB
344 %{?with_spdk:-DWITH_SPDK=ON} \
345 -DWITH_SYSTEM_BOOST=ON \
682d6dd5 346 -DWITH_SYSTEM_LIBURING=ON \
1b11728e
JB
347 %{?with_system_rocksdb:-DWITH_SYSTEM_ROCKSDB=ON} \
348 -DWITH_SYSTEMD=ON \
f73f6ee6 349 %{?with_zfs:-DWITH_ZFS=ON} \
c37aec31
JP
350 -DWITH_REENTRANT_STRSIGNAL=ON \
351 %{!?with_tests:-DWITH_TESTS=OFF}
1b11728e 352
f8bb146f 353%{__make}
2a1a6301
JR
354
355%install
356rm -rf $RPM_BUILD_ROOT
1b11728e
JB
357install -d $RPM_BUILD_ROOT%{_localstatedir}/{lib/ceph/{tmp,mon,osd,mds,mgr,radosgw,bootstrap-{osd,mds,rgw,mgr,rbd}},log/ceph/stat,run/ceph} \
358 $RPM_BUILD_ROOT%{_sysconfdir}/{ceph,bash_completion.d,logrotate.d,rc.d,sysconfig} \
359 $RPM_BUILD_ROOT{%{systemdunitdir},%{systemdtmpfilesdir},/etc/systemd/system/ceph.target.wants,/sbin}
4f42482b 360
1b11728e
JB
361%{__make} -C build install \
362 DESTDIR=$RPM_BUILD_ROOT
2a1a6301 363
1b11728e
JB
364# sanitize paths; no config options for cmake
365%{__mv} $RPM_BUILD_ROOT/etc/init.d $RPM_BUILD_ROOT/etc/rc.d
366%{__mv} $RPM_BUILD_ROOT%{_libexecdir}/systemd/system/* $RPM_BUILD_ROOT%{systemdunitdir}
367%{__mv} $RPM_BUILD_ROOT%{_sbindir}/mount.* $RPM_BUILD_ROOT/sbin
368
369cp -p src/logrotate.conf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ceph
2a1a6301 370
bbcdc7ce 371cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/ceph
b6163d67 372ln -sf /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/ceph.service
bbcdc7ce 373cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/ceph.conf
b6163d67 374
682d6dd5
JB
375%if %{without tests}
376%{__rm} $RPM_BUILD_ROOT%{_javadir}/libcephfs-test.jar
377%{__rm} -r $RPM_BUILD_ROOT%{py3_sitedir}/{ceph,ceph_volume}/tests
378%endif
379
1b11728e
JB
380%py3_comp $RPM_BUILD_ROOT%{py3_sitescriptdir}
381%py3_ocomp $RPM_BUILD_ROOT%{py3_sitescriptdir}
245cb856 382
1b11728e
JB
383# packaged as %doc
384%{__rm} $RPM_BUILD_ROOT%{_docdir}/sample.ceph.conf
bb30e67a
JR
385
386%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+bash(\s|$),#!/bin/bash\1,' \
387 $RPM_BUILD_ROOT%{_bindir}/{ceph-post-file,rbd-replay-many,rbdmap,rgw-gap-list,rgw-orphan-list}
2a1a6301
JR
388
389%clean
390rm -rf $RPM_BUILD_ROOT
391
392%post
393/sbin/chkconfig --add ceph
394%service ceph restart
395
bef2a0ad
JK
396# actual services are to be enabled on cluster deployment
397%systemd_post %{name}.target
398
2a1a6301
JR
399%preun
400if [ "$1" = "0" ] ; then
72daa1da
JR
401 %service ceph stop
402 /sbin/chkconfig --del ceph
2a1a6301 403fi
bef2a0ad
JK
404%systemd_preun %{name}.target
405
406%postun
407%systemd_reload
2a1a6301 408
e5fc70df
JB
409%post libs -p /sbin/ldconfig
410%postun libs -p /sbin/ldconfig
2a1a6301 411
4f42482b
JB
412%post -n java-cephfs -p /sbin/ldconfig
413%postun -n java-cephfs -p /sbin/ldconfig
414
2a1a6301
JR
415%files
416%defattr(644,root,root,755)
9e1f65de 417# COPYING specifies licenses of individual parts
bb30e67a 418%doc AUTHORS COPYING PendingReleaseNotes README.md src/sample.ceph.conf
2a1a6301 419%attr(754,root,root) /etc/rc.d/init.d/ceph
bef2a0ad
JK
420%config(noreplace) /etc/sysconfig/ceph
421%dir /etc/systemd/system/ceph.target.wants
bbcdc7ce
JB
422%{systemdunitdir}/ceph.service
423%{systemdunitdir}/ceph.target
bb30e67a
JR
424%{systemdunitdir}/ceph-crash.service
425%{systemdunitdir}/cephfs-mirror.target
426%{systemdunitdir}/cephfs-mirror@.service
1b11728e
JB
427%{systemdunitdir}/ceph-fuse.target
428%{systemdunitdir}/ceph-fuse@.service
bb30e67a
JR
429%{systemdunitdir}/ceph-immutable-object-cache.target
430%{systemdunitdir}/ceph-immutable-object-cache@.service
bbcdc7ce 431%{systemdunitdir}/ceph-mds.target
bef2a0ad 432%{systemdunitdir}/ceph-mds@.service
1b11728e
JB
433%{systemdunitdir}/ceph-mgr.target
434%{systemdunitdir}/ceph-mgr@.service
bbcdc7ce 435%{systemdunitdir}/ceph-mon.target
bef2a0ad 436%{systemdunitdir}/ceph-mon@.service
bbcdc7ce 437%{systemdunitdir}/ceph-osd.target
bef2a0ad 438%{systemdunitdir}/ceph-osd@.service
bbcdc7ce
JB
439%{systemdunitdir}/ceph-rbd-mirror.target
440%{systemdunitdir}/ceph-rbd-mirror@.service
1b11728e 441%{systemdunitdir}/ceph-volume@.service
bbcdc7ce 442%{systemdunitdir}/rbdmap.service
bef2a0ad 443%{systemdtmpfilesdir}/ceph.conf
2a1a6301
JR
444%dir %{_sysconfdir}/ceph
445%attr(755,root,root) %{_bindir}/ceph
8c5712e2 446%attr(755,root,root) %{_bindir}/ceph-authtool
1b11728e 447%attr(755,root,root) %{_bindir}/ceph-bluestore-tool
2a1a6301 448%attr(755,root,root) %{_bindir}/ceph-clsinfo
8c5712e2 449%attr(755,root,root) %{_bindir}/ceph-conf
bb30e67a 450%attr(755,root,root) %{_bindir}/ceph-crash
60d5543f 451%attr(755,root,root) %{_bindir}/ceph-dencoder
bb30e67a
JR
452%attr(755,root,root) %{_bindir}/ceph-diff-sorted
453%attr(755,root,root) %{_bindir}/ceph-erasure-code-tool
454%attr(755,root,root) %{_bindir}/cephfs-data-scan
455%attr(755,root,root) %{_bindir}/cephfs-journal-tool
456%attr(755,root,root) %{_bindir}/cephfs-mirror
457%attr(755,root,root) %{_bindir}/cephfs-table-tool
458%attr(755,root,root) %{_bindir}/cephfs-top
459%attr(755,root,root) %{_bindir}/ceph-immutable-object-cache
460%attr(755,root,root) %{_bindir}/ceph-kvstore-tool
2a1a6301 461%attr(755,root,root) %{_bindir}/ceph-mds
1b11728e 462%attr(755,root,root) %{_bindir}/ceph-mgr
8c5712e2 463%attr(755,root,root) %{_bindir}/ceph-mon
bb30e67a 464%attr(755,root,root) %{_bindir}/ceph-monstore-tool
7f577810 465%attr(755,root,root) %{_bindir}/ceph-objectstore-tool
2a1a6301 466%attr(755,root,root) %{_bindir}/ceph-osd
bb30e67a 467%attr(755,root,root) %{_bindir}/ceph-osdomap-tool
5e39e43e 468%attr(755,root,root) %{_bindir}/ceph-post-file
2a1a6301 469%attr(755,root,root) %{_bindir}/ceph-rbdnamer
8c5712e2
JB
470%attr(755,root,root) %{_bindir}/ceph-run
471%attr(755,root,root) %{_bindir}/ceph-syn
8c5712e2 472%attr(755,root,root) %{_bindir}/crushtool
2a1a6301 473%attr(755,root,root) %{_bindir}/librados-config
8c5712e2
JB
474%attr(755,root,root) %{_bindir}/monmaptool
475%attr(755,root,root) %{_bindir}/osdmaptool
2a1a6301
JR
476%attr(755,root,root) %{_bindir}/rados
477%attr(755,root,root) %{_bindir}/rbd
8c5712e2 478%attr(755,root,root) %{_bindir}/rbd-fuse
bb30e67a 479%attr(755,root,root) %{_bindir}/rbdmap
bbcdc7ce
JB
480%attr(755,root,root) %{_bindir}/rbd-mirror
481%attr(755,root,root) %{_bindir}/rbd-nbd
9a1a508c 482%attr(755,root,root) %{_bindir}/rbd-replay
7f577810 483%attr(755,root,root) %{_bindir}/rbd-replay-many
9a1a508c 484%attr(755,root,root) %{_bindir}/rbd-replay-prep
bb30e67a
JR
485%attr(755,root,root) %{_bindir}/rgw-gap-list
486%attr(755,root,root) %{_bindir}/rgw-gap-list-comparator
487%attr(755,root,root) %{_bindir}/rgw-orphan-list
1b11728e 488%attr(755,root,root) %{_sbindir}/ceph-create-keys
1b11728e
JB
489%attr(755,root,root) %{_sbindir}/ceph-volume
490%attr(755,root,root) %{_sbindir}/ceph-volume-systemd
4f42482b
JB
491%attr(755,root,root) /sbin/mount.ceph
492%attr(755,root,root) /sbin/mount.fuse.ceph
e3919159 493%if "%{_libexecdir}" != "%{_libdir}"
c1965bc2 494%dir %{_libexecdir}/ceph
e3919159 495%endif
a92d2e05 496%{_libexecdir}/ceph/ceph_common.sh
c1965bc2 497%attr(755,root,root) %{_libexecdir}/ceph/ceph-osd-prestart.sh
bbcdc7ce 498%dir %{_libdir}/ceph/compressor
1b11728e 499%attr(755,root,root) %{_libdir}/ceph/compressor/libceph_lz4.so*
bbcdc7ce
JB
500%attr(755,root,root) %{_libdir}/ceph/compressor/libceph_snappy.so*
501%attr(755,root,root) %{_libdir}/ceph/compressor/libceph_zlib.so*
1b11728e 502%attr(755,root,root) %{_libdir}/ceph/compressor/libceph_zstd.so*
d65c5c24 503%dir %{_libdir}/ceph/crypto
bb30e67a
JR
504%attr(755,root,root) %{_libdir}/ceph/crypto/libceph_crypto_openssl.so*
505%ifarch %{x8664}
d65c5c24
JB
506%attr(755,root,root) %{_libdir}/ceph/crypto/libceph_crypto_isal.so*
507%endif
c408d7b3 508%dir %{_libdir}/ceph/erasure-code
bb30e67a 509%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_clay.so*
58dc957f 510%ifarch %{x8664}
066d8601 511%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_isa.so*
6fce7056 512%endif
c408d7b3 513%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_jerasure.so*
0509a77e 514%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_jerasure_generic.so*
bbcdc7ce 515%ifarch %{arm}
7f577810
JB
516%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_jerasure_neon.so*
517%endif
518%ifarch %{ix86} %{x8664} x32
0509a77e
JB
519%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_jerasure_sse3.so*
520%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_jerasure_sse4.so*
bb30e67a
JR
521%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_shec_sse3.so*
522%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_shec_sse4.so*
7f577810 523%endif
9a1a508c 524%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_lrc.so*
b431df60 525%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_shec.so*
bbcdc7ce 526%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_shec_generic.so*
bb30e67a
JR
527%dir %{_libdir}/ceph/librbd
528%attr(755,root,root) %{_libdir}/ceph/librbd/libceph_librbd_parent_cache.so*
2a1a6301 529%dir %{_libdir}/rados-classes
bb30e67a
JR
530%attr(755,root,root) %{_libdir}/rados-classes/libcls_2pc_queue.so*
531%attr(755,root,root) %{_libdir}/rados-classes/libcls_cas.so*
1b11728e 532%attr(755,root,root) %{_libdir}/rados-classes/libcls_cephfs.so*
bb30e67a
JR
533%attr(755,root,root) %{_libdir}/rados-classes/libcls_cmpomap.so*
534%attr(755,root,root) %{_libdir}/rados-classes/libcls_fifo.so*
1b11728e
JB
535%attr(755,root,root) %{_libdir}/rados-classes/libcls_hello.so*
536%attr(755,root,root) %{_libdir}/rados-classes/libcls_journal.so*
537%attr(755,root,root) %{_libdir}/rados-classes/libcls_kvs.so*
538%attr(755,root,root) %{_libdir}/rados-classes/libcls_lock.so*
539%attr(755,root,root) %{_libdir}/rados-classes/libcls_log.so*
540%attr(755,root,root) %{_libdir}/rados-classes/libcls_lua.so*
541%attr(755,root,root) %{_libdir}/rados-classes/libcls_numops.so*
bb30e67a
JR
542%attr(755,root,root) %{_libdir}/rados-classes/libcls_otp.so*
543%attr(755,root,root) %{_libdir}/rados-classes/libcls_queue.so*
1b11728e
JB
544%attr(755,root,root) %{_libdir}/rados-classes/libcls_rbd.so*
545%attr(755,root,root) %{_libdir}/rados-classes/libcls_refcount.so*
bb30e67a 546%attr(755,root,root) %{_libdir}/rados-classes/libcls_rgw_gc.so*
1b11728e
JB
547%attr(755,root,root) %{_libdir}/rados-classes/libcls_rgw.so*
548%attr(755,root,root) %{_libdir}/rados-classes/libcls_sdk.so*
1b11728e
JB
549%attr(755,root,root) %{_libdir}/rados-classes/libcls_timeindex.so*
550%attr(755,root,root) %{_libdir}/rados-classes/libcls_user.so*
551%attr(755,root,root) %{_libdir}/rados-classes/libcls_version.so*
5e39e43e 552%{_datadir}/ceph
2a1a6301
JR
553%config(noreplace) /etc/logrotate.d/ceph
554%config(noreplace) %{_sysconfdir}/bash_completion.d/rados
555%config(noreplace) %{_sysconfdir}/bash_completion.d/ceph
556%config(noreplace) %{_sysconfdir}/bash_completion.d/rbd
557%{_mandir}/man8/ceph.8*
bb30e67a 558%{_mandir}/man8/cephadm.8*
2a1a6301 559%{_mandir}/man8/ceph-authtool.8*
1b11728e 560%{_mandir}/man8/ceph-bluestore-tool.8*
2a1a6301
JR
561%{_mandir}/man8/ceph-clsinfo.8*
562%{_mandir}/man8/ceph-conf.8*
63709ae0 563%{_mandir}/man8/ceph-create-keys.8*
60d5543f 564%{_mandir}/man8/ceph-dencoder.8*
7f577810 565%{_mandir}/man8/ceph-deploy.8*
bb30e67a
JR
566%{_mandir}/man8/ceph-diff-sorted.8*
567%{_mandir}/man8/cephfs-mirror.8*
568%{_mandir}/man8/cephfs-top.8*
569%{_mandir}/man8/ceph-immutable-object-cache.8*
570%{_mandir}/man8/ceph-kvstore-tool.8*
2a1a6301
JR
571%{_mandir}/man8/ceph-mds.8*
572%{_mandir}/man8/ceph-mon.8*
573%{_mandir}/man8/ceph-osd.8*
5e39e43e 574%{_mandir}/man8/ceph-post-file.8*
60d5543f 575%{_mandir}/man8/ceph-rbdnamer.8*
2a1a6301
JR
576%{_mandir}/man8/ceph-run.8*
577%{_mandir}/man8/ceph-syn.8*
1b11728e
JB
578%{_mandir}/man8/ceph-volume.8*
579%{_mandir}/man8/ceph-volume-systemd.8*
2a1a6301
JR
580%{_mandir}/man8/crushtool.8*
581%{_mandir}/man8/librados-config.8*
2a1a6301
JR
582%{_mandir}/man8/monmaptool.8*
583%{_mandir}/man8/mount.ceph.8*
bb30e67a 584%{_mandir}/man8/mount.fuse.ceph.8*
2a1a6301
JR
585%{_mandir}/man8/osdmaptool.8*
586%{_mandir}/man8/rados.8*
2a1a6301 587%{_mandir}/man8/rbd.8*
8c5712e2 588%{_mandir}/man8/rbd-fuse.8*
bb30e67a 589%{_mandir}/man8/rbdmap.8*
bbcdc7ce
JB
590%{_mandir}/man8/rbd-mirror.8*
591%{_mandir}/man8/rbd-nbd.8*
9a1a508c 592%{_mandir}/man8/rbd-replay.8*
7f577810 593%{_mandir}/man8/rbd-replay-many.8*
9a1a508c 594%{_mandir}/man8/rbd-replay-prep.8*
bb30e67a 595%{_mandir}/man8/rgw-orphan-list.8*
60d5543f 596
2a1a6301 597%dir %{_localstatedir}/lib/ceph
1b11728e
JB
598%dir %{_localstatedir}/lib/ceph/bootstrap-mds
599%dir %{_localstatedir}/lib/ceph/bootstrap-mgr
600%dir %{_localstatedir}/lib/ceph/bootstrap-osd
601%dir %{_localstatedir}/lib/ceph/bootstrap-rbd
602%dir %{_localstatedir}/lib/ceph/bootstrap-rgw
b6163d67 603%dir %{_localstatedir}/lib/ceph/mds
1b11728e 604%dir %{_localstatedir}/lib/ceph/mgr
b6163d67
JK
605%dir %{_localstatedir}/lib/ceph/mon
606%dir %{_localstatedir}/lib/ceph/osd
2a1a6301
JR
607%dir %{_localstatedir}/lib/ceph/tmp
608%dir %{_localstatedir}/log/ceph
bef2a0ad 609%dir %{_localstatedir}/run/ceph
2a1a6301
JR
610
611%files libs
612%defattr(644,root,root,755)
613%attr(755,root,root) %{_libdir}/libcephfs.so.*.*.*
1b11728e 614%attr(755,root,root) %ghost %{_libdir}/libcephfs.so.2
4447516f
JB
615%attr(755,root,root) %{_libdir}/libos_tp.so.*.*.*
616%attr(755,root,root) %ghost %{_libdir}/libos_tp.so.1
617%attr(755,root,root) %{_libdir}/libosd_tp.so.*.*.*
618%attr(755,root,root) %ghost %{_libdir}/libosd_tp.so.1
2a1a6301
JR
619%attr(755,root,root) %{_libdir}/librados.so.*.*.*
620%attr(755,root,root) %ghost %{_libdir}/librados.so.2
4447516f
JB
621%attr(755,root,root) %{_libdir}/librados_tp.so.*.*.*
622%attr(755,root,root) %ghost %{_libdir}/librados_tp.so.2
bb30e67a
JR
623%attr(755,root,root) %{_libdir}/libradosgw.so.*.*.*
624%attr(755,root,root) %ghost %{_libdir}/libradosgw.so.2
548e0d3f
JB
625%attr(755,root,root) %{_libdir}/libradosstriper.so.*.*.*
626%attr(755,root,root) %ghost %{_libdir}/libradosstriper.so.1
2a1a6301
JR
627%attr(755,root,root) %{_libdir}/librbd.so.*.*.*
628%attr(755,root,root) %ghost %{_libdir}/librbd.so.1
4447516f
JB
629%attr(755,root,root) %{_libdir}/librbd_tp.so.*.*.*
630%attr(755,root,root) %ghost %{_libdir}/librbd_tp.so.1
bbcdc7ce
JB
631%attr(755,root,root) %{_libdir}/librgw.so.*.*.*
632%attr(755,root,root) %ghost %{_libdir}/librgw.so.2
bb30e67a
JR
633%attr(755,root,root) %{_libdir}/librgw_op_tp.so.*.*.*
634%attr(755,root,root) %ghost %{_libdir}/librgw_op_tp.so.2
635%attr(755,root,root) %{_libdir}/librgw_rados_tp.so.*.*.*
636%attr(755,root,root) %ghost %{_libdir}/librgw_rados_tp.so.2
637%attr(755,root,root) %{_libdir}/libcephsqlite.so
5b8dadc9 638%dir %{_libdir}/ceph
bb30e67a 639%attr(755,root,root) %{_libdir}/ceph/libceph-common.so.2
2a1a6301 640
2a1a6301
JR
641%files devel
642%defattr(644,root,root,755)
2a1a6301 643%attr(755,root,root) %{_libdir}/libcephfs.so
4447516f
JB
644%attr(755,root,root) %{_libdir}/libos_tp.so
645%attr(755,root,root) %{_libdir}/libosd_tp.so
2a1a6301 646%attr(755,root,root) %{_libdir}/librados.so
4447516f 647%attr(755,root,root) %{_libdir}/librados_tp.so
bb30e67a 648%attr(755,root,root) %{_libdir}/libradosgw.so
548e0d3f 649%attr(755,root,root) %{_libdir}/libradosstriper.so
2a1a6301 650%attr(755,root,root) %{_libdir}/librbd.so
4447516f 651%attr(755,root,root) %{_libdir}/librbd_tp.so
bbcdc7ce 652%attr(755,root,root) %{_libdir}/librgw.so
bb30e67a
JR
653%attr(755,root,root) %{_libdir}/librgw_op_tp.so
654%attr(755,root,root) %{_libdir}/librgw_rados_tp.so
e5fc70df
JB
655%{_includedir}/cephfs
656%{_includedir}/rados
548e0d3f 657%{_includedir}/radosstriper
e5fc70df 658%{_includedir}/rbd
bb30e67a 659%{_includedir}/libcephsqlite.h
2a1a6301 660
1b11728e
JB
661%files -n python3-ceph
662%defattr(644,root,root,755)
682d6dd5
JB
663%dir %{py3_sitedir}/ceph
664%{py3_sitedir}/ceph/*.py
665%{py3_sitedir}/ceph/__pycache__
666%{py3_sitedir}/ceph/deployment
bb30e67a 667%{py3_sitedir}/ceph-1.0.0-py*.egg-info
1b11728e 668%attr(755,root,root) %{py3_sitedir}/cephfs.cpython-*.so
1b11728e 669%{py3_sitedir}/cephfs-2.0.0-py*.egg-info
bb30e67a 670%{py3_sitedir}/cephfs_top-0.0.1-py*.egg-info
682d6dd5
JB
671%dir %{py3_sitedir}/ceph_volume
672%{py3_sitedir}/ceph_volume/*.py
673%{py3_sitedir}/ceph_volume/__pycache__
674%{py3_sitedir}/ceph_volume/api
675%{py3_sitedir}/ceph_volume/devices
676%{py3_sitedir}/ceph_volume/drive_group
677%{py3_sitedir}/ceph_volume/inventory
678%{py3_sitedir}/ceph_volume/systemd
679%{py3_sitedir}/ceph_volume/util
bb30e67a
JR
680%{py3_sitedir}/ceph_volume-1.0.0-py*.egg-info
681%attr(755,root,root) %{py3_sitedir}/rados.cpython-*.so
1b11728e 682%{py3_sitedir}/rados-2.0.0-py*.egg-info
bb30e67a 683%attr(755,root,root) %{py3_sitedir}/rbd.cpython-*.so
1b11728e 684%{py3_sitedir}/rbd-2.0.0-py*.egg-info
bb30e67a 685%attr(755,root,root) %{py3_sitedir}/rgw.cpython-*.so
1b11728e
JB
686%{py3_sitedir}/rgw-2.0.0-py*.egg-info
687%{py3_sitescriptdir}/ceph_argparse.py
688%{py3_sitescriptdir}/ceph_daemon.py
689%{py3_sitescriptdir}/ceph_volume_client.py
690%{py3_sitescriptdir}/__pycache__/ceph_argparse.cpython-*.py[co]
691%{py3_sitescriptdir}/__pycache__/ceph_daemon.cpython-*.py[co]
692%{py3_sitescriptdir}/__pycache__/ceph_volume_client.cpython-*.py[co]
693
4f42482b
JB
694%if %{with java}
695%files -n java-cephfs
696%defattr(644,root,root,755)
697%attr(755,root,root) %{_libdir}/libcephfs_jni.so.*.*.*
698%attr(755,root,root) %ghost %{_libdir}/libcephfs_jni.so.1
699%attr(755,root,root) %{_libdir}/libcephfs_jni.so
700%{_javadir}/libcephfs.jar
701%endif
702
e5fc70df
JB
703%files fuse
704%defattr(644,root,root,755)
e5fc70df
JB
705%attr(755,root,root) %{_bindir}/ceph-fuse
706%{_mandir}/man8/ceph-fuse.8*
707
2a1a6301
JR
708%files radosgw
709%defattr(644,root,root,755)
710%attr(755,root,root) %{_bindir}/radosgw
711%attr(755,root,root) %{_bindir}/radosgw-admin
1b11728e 712%attr(755,root,root) %{_bindir}/radosgw-es
bbcdc7ce
JB
713%attr(755,root,root) %{_bindir}/radosgw-object-expirer
714%attr(755,root,root) %{_bindir}/radosgw-token
715%{systemdunitdir}/ceph-radosgw.target
716%{systemdunitdir}/ceph-radosgw@.service
2a1a6301 717%{_sysconfdir}/bash_completion.d/radosgw-admin
1b11728e
JB
718%dir %{_localstatedir}/lib/ceph/radosgw
719%{_mandir}/man8/radosgw.8*
720%{_mandir}/man8/radosgw-admin.8*
2a1a6301 721
245cb856 722%files resource-agents
8029515d
JB
723%defattr(644,root,root,755)
724%dir %{_prefix}/lib/ocf/resource.d/ceph
8029515d 725%attr(755,root,root) %{_prefix}/lib/ocf/resource.d/ceph/rbd
79dc5cad 726
bb30e67a 727%if %{with tests}
9911b50d
JP
728%files test
729%defattr(644,root,root,755)
730%attr(755,root,root) %{_bindir}/ceph-client-debug
731%attr(755,root,root) %{_bindir}/ceph-coverage
732%attr(755,root,root) %{_bindir}/ceph-debugpack
733%attr(755,root,root) %{_bindir}/ceph-kvstore-tool
734%attr(755,root,root) %{_bindir}/ceph-monstore-tool
735%attr(755,root,root) %{_bindir}/ceph-osdomap-tool
736%attr(755,root,root) %{_bindir}/ceph_bench_log
737%attr(755,root,root) %{_bindir}/ceph_erasure_code
738%attr(755,root,root) %{_bindir}/ceph_erasure_code_benchmark
739%attr(755,root,root) %{_bindir}/ceph_kvstorebench
740%attr(755,root,root) %{_bindir}/ceph_multi_stress_watch
741%attr(755,root,root) %{_bindir}/ceph_objectstore_bench
742%attr(755,root,root) %{_bindir}/ceph_omapbench
743%attr(755,root,root) %{_bindir}/ceph_perf_local
744%attr(755,root,root) %{_bindir}/ceph_perf_msgr_client
745%attr(755,root,root) %{_bindir}/ceph_perf_msgr_server
746%attr(755,root,root) %{_bindir}/ceph_perf_objectstore
747%attr(755,root,root) %{_bindir}/ceph_psim
748%attr(755,root,root) %{_bindir}/ceph_radosacl
749%attr(755,root,root) %{_bindir}/ceph_rgw_jsonparser
750%attr(755,root,root) %{_bindir}/ceph_rgw_multiparser
751%attr(755,root,root) %{_bindir}/ceph_scratchtool
752%attr(755,root,root) %{_bindir}/ceph_scratchtoolpp
753%attr(755,root,root) %{_bindir}/ceph_smalliobench
754%attr(755,root,root) %{_bindir}/ceph_smalliobenchdumb
755%attr(755,root,root) %{_bindir}/ceph_smalliobenchfs
756%attr(755,root,root) %{_bindir}/ceph_smalliobenchrbd
757%attr(755,root,root) %{_bindir}/ceph_test_*
758%attr(755,root,root) %{_bindir}/ceph_tpbench
759%attr(755,root,root) %{_bindir}/ceph_xattr_bench
760%attr(755,root,root) %{_libdir}/ceph/ceph-monstore-update-crush.sh
682d6dd5
JB
761%{py3_sitedir}/ceph/tests
762%{py3_sitedir}/ceph_volume/tests
763%if %{with java}
764%{_javadir}/libcephfs-test.jar
765%endif
9911b50d
JP
766%{_mandir}/man8/ceph-debugpack.8*
767%{_mandir}/man8/ceph-kvstore-tool.8*
768%endif
769
79dc5cad
JB
770%if %{with fio}
771%files -n fio-ceph-objectstore
772%defattr(644,root,root,755)
773%doc src/test/fio/{README.md,ceph-*.conf,ceph-*.fio}
774%attr(755,root,root) %{_libdir}/libfio_ceph_objectstore.so
775%endif
This page took 0.185785 seconds and 4 git commands to generate.