]> git.pld-linux.org Git - packages/ceph.git/blame - ceph.spec
- require leveldb with rtti
[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}
198
199%description -n python3-ceph
200Ceph Python 3 bindings.
201
202%description -n python3-ceph -l pl.UTF-8
203Wiązania Pythona 3 do bibliotek Cepha.
e5fc70df 204
4f42482b
JB
205%package -n java-cephfs
206Summary: CephFS Java bindings
207Summary(pl.UTF-8): Wiązania Javy do biblioteki CephFS
208Group: Libraries/Java
209Requires: %{name}-libs = %{version}-%{release}
210
211%description -n java-cephfs
212CephFS Java bindings.
213
214%description -n java-cephfs -l pl.UTF-8
215Wiązania Javy do biblioteki CephFS.
216
e5fc70df
JB
217%package fuse
218Summary: Ceph FUSE-based client
219Summary(pl.UTF-8): Klient Cepha oparty na FUSE
220Group: Base
221Requires: %{name} = %{version}-%{release}
222
223%description fuse
224FUSE based client for Ceph distributed network file system.
225
226%description fuse -l pl.UTF-8
227Oparty na FUSE klient rozproszonego sieciowego systemu plików Ceph.
228
2a1a6301
JR
229%package radosgw
230Summary: rados REST gateway
e5fc70df
JB
231Summary(pl.UTF-8): Bramka REST-owa rados
232Group: Applications/System
2a1a6301
JR
233#Requires: apache-mod_fcgid
234
235%description radosgw
236radosgw is an S3 HTTP REST gateway for the RADOS object store. It is
237implemented as a FastCGI module using libfcgi, and can be used in
238conjunction with any FastCGI capable web server.
239
e5fc70df
JB
240%description radosgw -l pl.UTF-8
241radosgw to REST-owa bramka HTTP S3 do przechowalni obiektów RADOS.
242Jest zaimplementowana jako moduł FastCGI wykorzystujący libfcgi i może
243być używana w połączeniu z dowolnym serwerem WWW obsługującym FastCGI.
244
245cb856 245%package resource-agents
8029515d
JB
246Summary: OCF Resource Agents for Ceph processes
247Summary(pl.UTF-8): Agenci OCF do monitorowania procesów Cepha
248Group: Applications/System
249Requires: %{name} = %{version}-%{release}
250Requires: resource-agents
251
245cb856 252%description resource-agents
8029515d
JB
253OCF Resource Agents for Ceph processes.
254
245cb856 255%description resource-agents -l pl.UTF-8
8029515d
JB
256Agenci OCF do monitorowania procesów Cepha.
257
9911b50d
JP
258%package test
259Summary: Ceph benchmarks and test tools
260Summary(pl.UTF-8): Narzędzia testowe oraz do mierzenia wydajności dla Ceph
261Group: Applications/System
262Requires: %{name} = %{version}-%{release}
263
264%description test
265Ceph benchmarks and test tools.
266
267%description test -l pl.UTF-8
268Narzędzia testowe oraz do mierzenia wydajności dla Ceph.
269
79dc5cad
JB
270%package -n fio-ceph-objectstore
271Summary: FIO engine module for Ceph ObjectStore
272Summary(pl.UTF-8): Moduł silnika FIO do używania Ceph ObjectStore
273Group: Libraries
274Requires: %{name}-libs = %{version}-%{release}
101b8bdd 275%if %{with fio}
79dc5cad 276%requires_ge_to fio fio-devel
101b8bdd 277%endif
79dc5cad
JB
278
279%description -n fio-ceph-objectstore
280This FIO engine allows you to mount and use a ceph object store
281directly, without having to build a ceph cluster or start any daemons.
282
283%description -n fio-ceph-objectstore -l pl.UTF-8
284Ten silnik FIO pozwala na bezpośrednie montowanie i używanie
285przestrzeni obiektów ceph, bez potrzeby budowania klastra ceph czy
286uruchamiania demonów.
287
2a1a6301
JR
288%prep
289%setup -q
290%patch0 -p1
f8bb146f
JR
291#patch1 -p1
292%patch2 -p1
293%patch3 -p1
294%patch4 -p1
295%patch5 -p1
c8d4a223 296%patch6 -p1
c8d4a223 297%patch7 -p1
bbe36688 298%patch8 -p1
9d79249d 299%ifarch %{ix86}
bbe36688 300%patch9 -p1
9d79249d 301%endif
b1c2f923 302%patch10 -p1
682d6dd5 303%patch11 -p1
e3919159 304
370f7446
JR
305%{__sed} -E -i -e '1s,#!\s*/usr/bin/awk(\s|$),#!/bin/awk\1,' \
306 src/rgw/rgw-gap-list-comparator
307
2a1a6301 308%build
1b11728e
JB
309install -d build
310cd build
311%cmake .. \
bbe36688
JR
312%ifarch %{x8664} %{ix86} x32
313 -DHAVE_INTEL_SSE=1 \
314%endif
315%ifarch %{x8664} x32
316 -DHAVE_INTEL_SSE2=1 \
317 -DHAVE_INTEL_SSE3=1 \
318 -DHAVE_INTEL_SSSE3=1 \
319 -DHAVE_INTEL_PCLMUL=1 \
320 -DHAVE_INTEL_SSE4_1=1 \
321 -DHAVE_INTEL_SSE4_2=1 \
322%endif
1b11728e
JB
323 -DALLOCATOR="%{?with_tcmalloc:tcmalloc}%{!?with_tcmalloc:libc}" \
324 -DFIO_INCLUDE_DIR=/usr/include/fio \
d5cae1aa
JR
325 -DWITH_PYTHON3=%{py3_ver} \
326 -DPYTHON=%{__python3} \
f8bb146f 327 -DSPHINX_BUILD=/usr/bin/sphinx-build \
1b11728e 328 %{!?with_babeltrace:-DWITH_BABELTRACE=OFF} \
682d6dd5 329 %{?with_pmem:-DWITH_BLUESTORE_PMEM=ON} \
1b11728e 330 %{?with_java:-DWITH_CEPHFS_JAVA=ON} \
682d6dd5 331 %{?with_java:-DJAVA_HOME:PATH=%{java_home}} \
1b11728e
JB
332 %{?with_dpdk:-DWITH_DPDK=ON} \
333 %{?with_fio:-DWITH_FIO=ON} \
682d6dd5 334 %{?with_kerberos:-DWITH_GSSAPI=ON} \
1b11728e 335 %{!?with_lttng:-DWITH_LTTNG=OFF} \
d5cae1aa 336 -DLUA_INCLUDE_DIR=%{_includedir}/lua \
1b11728e
JB
337 -DWITH_LZ4=ON \
338 %{?with_cryptopp:-DWITH_NSS=OFF} \
339 -DWITH_OCF=ON \
1b11728e 340 %{?with_fcgi:-DWITH_RADOSGW_FCGI_FRONTEND=ON} \
f8bb146f 341 -DWITH_MGR_DASHBOARD_FRONTEND=OFF \
682d6dd5 342 %{!?with_rdma:-DWITH_RDMA=OFF} \
1b11728e
JB
343 %{?with_spdk:-DWITH_SPDK=ON} \
344 -DWITH_SYSTEM_BOOST=ON \
682d6dd5 345 -DWITH_SYSTEM_LIBURING=ON \
1b11728e
JB
346 %{?with_system_rocksdb:-DWITH_SYSTEM_ROCKSDB=ON} \
347 -DWITH_SYSTEMD=ON \
f73f6ee6 348 %{?with_zfs:-DWITH_ZFS=ON} \
c37aec31
JP
349 -DWITH_REENTRANT_STRSIGNAL=ON \
350 %{!?with_tests:-DWITH_TESTS=OFF}
1b11728e 351
f8bb146f 352%{__make}
2a1a6301
JR
353
354%install
355rm -rf $RPM_BUILD_ROOT
1b11728e
JB
356install -d $RPM_BUILD_ROOT%{_localstatedir}/{lib/ceph/{tmp,mon,osd,mds,mgr,radosgw,bootstrap-{osd,mds,rgw,mgr,rbd}},log/ceph/stat,run/ceph} \
357 $RPM_BUILD_ROOT%{_sysconfdir}/{ceph,bash_completion.d,logrotate.d,rc.d,sysconfig} \
358 $RPM_BUILD_ROOT{%{systemdunitdir},%{systemdtmpfilesdir},/etc/systemd/system/ceph.target.wants,/sbin}
4f42482b 359
1b11728e
JB
360%{__make} -C build install \
361 DESTDIR=$RPM_BUILD_ROOT
2a1a6301 362
1b11728e
JB
363# sanitize paths; no config options for cmake
364%{__mv} $RPM_BUILD_ROOT/etc/init.d $RPM_BUILD_ROOT/etc/rc.d
365%{__mv} $RPM_BUILD_ROOT%{_libexecdir}/systemd/system/* $RPM_BUILD_ROOT%{systemdunitdir}
366%{__mv} $RPM_BUILD_ROOT%{_sbindir}/mount.* $RPM_BUILD_ROOT/sbin
367
368cp -p src/logrotate.conf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ceph
2a1a6301 369
bbcdc7ce 370cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/ceph
b6163d67 371ln -sf /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/ceph.service
bbcdc7ce 372cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/ceph.conf
b6163d67 373
682d6dd5
JB
374%if %{without tests}
375%{__rm} $RPM_BUILD_ROOT%{_javadir}/libcephfs-test.jar
376%{__rm} -r $RPM_BUILD_ROOT%{py3_sitedir}/{ceph,ceph_volume}/tests
377%endif
378
1b11728e
JB
379%py3_comp $RPM_BUILD_ROOT%{py3_sitescriptdir}
380%py3_ocomp $RPM_BUILD_ROOT%{py3_sitescriptdir}
245cb856 381
1b11728e
JB
382# packaged as %doc
383%{__rm} $RPM_BUILD_ROOT%{_docdir}/sample.ceph.conf
bb30e67a
JR
384
385%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+bash(\s|$),#!/bin/bash\1,' \
386 $RPM_BUILD_ROOT%{_bindir}/{ceph-post-file,rbd-replay-many,rbdmap,rgw-gap-list,rgw-orphan-list}
2a1a6301
JR
387
388%clean
389rm -rf $RPM_BUILD_ROOT
390
391%post
392/sbin/chkconfig --add ceph
393%service ceph restart
394
bef2a0ad
JK
395# actual services are to be enabled on cluster deployment
396%systemd_post %{name}.target
397
2a1a6301
JR
398%preun
399if [ "$1" = "0" ] ; then
72daa1da
JR
400 %service ceph stop
401 /sbin/chkconfig --del ceph
2a1a6301 402fi
bef2a0ad
JK
403%systemd_preun %{name}.target
404
405%postun
406%systemd_reload
2a1a6301 407
e5fc70df
JB
408%post libs -p /sbin/ldconfig
409%postun libs -p /sbin/ldconfig
2a1a6301 410
4f42482b
JB
411%post -n java-cephfs -p /sbin/ldconfig
412%postun -n java-cephfs -p /sbin/ldconfig
413
2a1a6301
JR
414%files
415%defattr(644,root,root,755)
9e1f65de 416# COPYING specifies licenses of individual parts
bb30e67a 417%doc AUTHORS COPYING PendingReleaseNotes README.md src/sample.ceph.conf
2a1a6301 418%attr(754,root,root) /etc/rc.d/init.d/ceph
bef2a0ad
JK
419%config(noreplace) /etc/sysconfig/ceph
420%dir /etc/systemd/system/ceph.target.wants
bbcdc7ce
JB
421%{systemdunitdir}/ceph.service
422%{systemdunitdir}/ceph.target
bb30e67a
JR
423%{systemdunitdir}/ceph-crash.service
424%{systemdunitdir}/cephfs-mirror.target
425%{systemdunitdir}/cephfs-mirror@.service
1b11728e
JB
426%{systemdunitdir}/ceph-fuse.target
427%{systemdunitdir}/ceph-fuse@.service
bb30e67a
JR
428%{systemdunitdir}/ceph-immutable-object-cache.target
429%{systemdunitdir}/ceph-immutable-object-cache@.service
bbcdc7ce 430%{systemdunitdir}/ceph-mds.target
bef2a0ad 431%{systemdunitdir}/ceph-mds@.service
1b11728e
JB
432%{systemdunitdir}/ceph-mgr.target
433%{systemdunitdir}/ceph-mgr@.service
bbcdc7ce 434%{systemdunitdir}/ceph-mon.target
bef2a0ad 435%{systemdunitdir}/ceph-mon@.service
bbcdc7ce 436%{systemdunitdir}/ceph-osd.target
bef2a0ad 437%{systemdunitdir}/ceph-osd@.service
bbcdc7ce
JB
438%{systemdunitdir}/ceph-rbd-mirror.target
439%{systemdunitdir}/ceph-rbd-mirror@.service
1b11728e 440%{systemdunitdir}/ceph-volume@.service
bbcdc7ce 441%{systemdunitdir}/rbdmap.service
bef2a0ad 442%{systemdtmpfilesdir}/ceph.conf
2a1a6301
JR
443%dir %{_sysconfdir}/ceph
444%attr(755,root,root) %{_bindir}/ceph
8c5712e2 445%attr(755,root,root) %{_bindir}/ceph-authtool
1b11728e 446%attr(755,root,root) %{_bindir}/ceph-bluestore-tool
2a1a6301 447%attr(755,root,root) %{_bindir}/ceph-clsinfo
8c5712e2 448%attr(755,root,root) %{_bindir}/ceph-conf
bb30e67a 449%attr(755,root,root) %{_bindir}/ceph-crash
60d5543f 450%attr(755,root,root) %{_bindir}/ceph-dencoder
bb30e67a
JR
451%attr(755,root,root) %{_bindir}/ceph-diff-sorted
452%attr(755,root,root) %{_bindir}/ceph-erasure-code-tool
453%attr(755,root,root) %{_bindir}/cephfs-data-scan
454%attr(755,root,root) %{_bindir}/cephfs-journal-tool
455%attr(755,root,root) %{_bindir}/cephfs-mirror
456%attr(755,root,root) %{_bindir}/cephfs-table-tool
457%attr(755,root,root) %{_bindir}/cephfs-top
458%attr(755,root,root) %{_bindir}/ceph-immutable-object-cache
459%attr(755,root,root) %{_bindir}/ceph-kvstore-tool
2a1a6301 460%attr(755,root,root) %{_bindir}/ceph-mds
1b11728e 461%attr(755,root,root) %{_bindir}/ceph-mgr
8c5712e2 462%attr(755,root,root) %{_bindir}/ceph-mon
bb30e67a 463%attr(755,root,root) %{_bindir}/ceph-monstore-tool
7f577810 464%attr(755,root,root) %{_bindir}/ceph-objectstore-tool
2a1a6301 465%attr(755,root,root) %{_bindir}/ceph-osd
bb30e67a 466%attr(755,root,root) %{_bindir}/ceph-osdomap-tool
5e39e43e 467%attr(755,root,root) %{_bindir}/ceph-post-file
2a1a6301 468%attr(755,root,root) %{_bindir}/ceph-rbdnamer
8c5712e2
JB
469%attr(755,root,root) %{_bindir}/ceph-run
470%attr(755,root,root) %{_bindir}/ceph-syn
8c5712e2 471%attr(755,root,root) %{_bindir}/crushtool
2a1a6301 472%attr(755,root,root) %{_bindir}/librados-config
8c5712e2
JB
473%attr(755,root,root) %{_bindir}/monmaptool
474%attr(755,root,root) %{_bindir}/osdmaptool
2a1a6301
JR
475%attr(755,root,root) %{_bindir}/rados
476%attr(755,root,root) %{_bindir}/rbd
8c5712e2 477%attr(755,root,root) %{_bindir}/rbd-fuse
bb30e67a 478%attr(755,root,root) %{_bindir}/rbdmap
bbcdc7ce
JB
479%attr(755,root,root) %{_bindir}/rbd-mirror
480%attr(755,root,root) %{_bindir}/rbd-nbd
9a1a508c 481%attr(755,root,root) %{_bindir}/rbd-replay
7f577810 482%attr(755,root,root) %{_bindir}/rbd-replay-many
9a1a508c 483%attr(755,root,root) %{_bindir}/rbd-replay-prep
bb30e67a
JR
484%attr(755,root,root) %{_bindir}/rgw-gap-list
485%attr(755,root,root) %{_bindir}/rgw-gap-list-comparator
486%attr(755,root,root) %{_bindir}/rgw-orphan-list
1b11728e 487%attr(755,root,root) %{_sbindir}/ceph-create-keys
1b11728e
JB
488%attr(755,root,root) %{_sbindir}/ceph-volume
489%attr(755,root,root) %{_sbindir}/ceph-volume-systemd
4f42482b
JB
490%attr(755,root,root) /sbin/mount.ceph
491%attr(755,root,root) /sbin/mount.fuse.ceph
e3919159 492%if "%{_libexecdir}" != "%{_libdir}"
c1965bc2 493%dir %{_libexecdir}/ceph
e3919159 494%endif
a92d2e05 495%{_libexecdir}/ceph/ceph_common.sh
c1965bc2 496%attr(755,root,root) %{_libexecdir}/ceph/ceph-osd-prestart.sh
bbcdc7ce 497%dir %{_libdir}/ceph/compressor
1b11728e 498%attr(755,root,root) %{_libdir}/ceph/compressor/libceph_lz4.so*
bbcdc7ce
JB
499%attr(755,root,root) %{_libdir}/ceph/compressor/libceph_snappy.so*
500%attr(755,root,root) %{_libdir}/ceph/compressor/libceph_zlib.so*
1b11728e 501%attr(755,root,root) %{_libdir}/ceph/compressor/libceph_zstd.so*
d65c5c24 502%dir %{_libdir}/ceph/crypto
bb30e67a
JR
503%attr(755,root,root) %{_libdir}/ceph/crypto/libceph_crypto_openssl.so*
504%ifarch %{x8664}
d65c5c24
JB
505%attr(755,root,root) %{_libdir}/ceph/crypto/libceph_crypto_isal.so*
506%endif
c408d7b3 507%dir %{_libdir}/ceph/erasure-code
bb30e67a 508%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_clay.so*
58dc957f 509%ifarch %{x8664}
066d8601 510%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_isa.so*
6fce7056 511%endif
c408d7b3 512%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_jerasure.so*
0509a77e 513%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_jerasure_generic.so*
bbcdc7ce 514%ifarch %{arm}
7f577810
JB
515%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_jerasure_neon.so*
516%endif
517%ifarch %{ix86} %{x8664} x32
0509a77e
JB
518%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_jerasure_sse3.so*
519%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_jerasure_sse4.so*
bb30e67a
JR
520%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_shec_sse3.so*
521%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_shec_sse4.so*
7f577810 522%endif
9a1a508c 523%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_lrc.so*
b431df60 524%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_shec.so*
bbcdc7ce 525%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_shec_generic.so*
bb30e67a
JR
526%dir %{_libdir}/ceph/librbd
527%attr(755,root,root) %{_libdir}/ceph/librbd/libceph_librbd_parent_cache.so*
2a1a6301 528%dir %{_libdir}/rados-classes
bb30e67a
JR
529%attr(755,root,root) %{_libdir}/rados-classes/libcls_2pc_queue.so*
530%attr(755,root,root) %{_libdir}/rados-classes/libcls_cas.so*
1b11728e 531%attr(755,root,root) %{_libdir}/rados-classes/libcls_cephfs.so*
bb30e67a
JR
532%attr(755,root,root) %{_libdir}/rados-classes/libcls_cmpomap.so*
533%attr(755,root,root) %{_libdir}/rados-classes/libcls_fifo.so*
1b11728e
JB
534%attr(755,root,root) %{_libdir}/rados-classes/libcls_hello.so*
535%attr(755,root,root) %{_libdir}/rados-classes/libcls_journal.so*
536%attr(755,root,root) %{_libdir}/rados-classes/libcls_kvs.so*
537%attr(755,root,root) %{_libdir}/rados-classes/libcls_lock.so*
538%attr(755,root,root) %{_libdir}/rados-classes/libcls_log.so*
539%attr(755,root,root) %{_libdir}/rados-classes/libcls_lua.so*
540%attr(755,root,root) %{_libdir}/rados-classes/libcls_numops.so*
bb30e67a
JR
541%attr(755,root,root) %{_libdir}/rados-classes/libcls_otp.so*
542%attr(755,root,root) %{_libdir}/rados-classes/libcls_queue.so*
1b11728e
JB
543%attr(755,root,root) %{_libdir}/rados-classes/libcls_rbd.so*
544%attr(755,root,root) %{_libdir}/rados-classes/libcls_refcount.so*
bb30e67a 545%attr(755,root,root) %{_libdir}/rados-classes/libcls_rgw_gc.so*
1b11728e
JB
546%attr(755,root,root) %{_libdir}/rados-classes/libcls_rgw.so*
547%attr(755,root,root) %{_libdir}/rados-classes/libcls_sdk.so*
1b11728e
JB
548%attr(755,root,root) %{_libdir}/rados-classes/libcls_timeindex.so*
549%attr(755,root,root) %{_libdir}/rados-classes/libcls_user.so*
550%attr(755,root,root) %{_libdir}/rados-classes/libcls_version.so*
5e39e43e 551%{_datadir}/ceph
2a1a6301
JR
552%config(noreplace) /etc/logrotate.d/ceph
553%config(noreplace) %{_sysconfdir}/bash_completion.d/rados
554%config(noreplace) %{_sysconfdir}/bash_completion.d/ceph
555%config(noreplace) %{_sysconfdir}/bash_completion.d/rbd
556%{_mandir}/man8/ceph.8*
bb30e67a 557%{_mandir}/man8/cephadm.8*
2a1a6301 558%{_mandir}/man8/ceph-authtool.8*
1b11728e 559%{_mandir}/man8/ceph-bluestore-tool.8*
2a1a6301
JR
560%{_mandir}/man8/ceph-clsinfo.8*
561%{_mandir}/man8/ceph-conf.8*
63709ae0 562%{_mandir}/man8/ceph-create-keys.8*
60d5543f 563%{_mandir}/man8/ceph-dencoder.8*
7f577810 564%{_mandir}/man8/ceph-deploy.8*
bb30e67a
JR
565%{_mandir}/man8/ceph-diff-sorted.8*
566%{_mandir}/man8/cephfs-mirror.8*
567%{_mandir}/man8/cephfs-top.8*
568%{_mandir}/man8/ceph-immutable-object-cache.8*
569%{_mandir}/man8/ceph-kvstore-tool.8*
2a1a6301
JR
570%{_mandir}/man8/ceph-mds.8*
571%{_mandir}/man8/ceph-mon.8*
572%{_mandir}/man8/ceph-osd.8*
5e39e43e 573%{_mandir}/man8/ceph-post-file.8*
60d5543f 574%{_mandir}/man8/ceph-rbdnamer.8*
2a1a6301
JR
575%{_mandir}/man8/ceph-run.8*
576%{_mandir}/man8/ceph-syn.8*
1b11728e
JB
577%{_mandir}/man8/ceph-volume.8*
578%{_mandir}/man8/ceph-volume-systemd.8*
2a1a6301
JR
579%{_mandir}/man8/crushtool.8*
580%{_mandir}/man8/librados-config.8*
2a1a6301
JR
581%{_mandir}/man8/monmaptool.8*
582%{_mandir}/man8/mount.ceph.8*
bb30e67a 583%{_mandir}/man8/mount.fuse.ceph.8*
2a1a6301
JR
584%{_mandir}/man8/osdmaptool.8*
585%{_mandir}/man8/rados.8*
2a1a6301 586%{_mandir}/man8/rbd.8*
8c5712e2 587%{_mandir}/man8/rbd-fuse.8*
bb30e67a 588%{_mandir}/man8/rbdmap.8*
bbcdc7ce
JB
589%{_mandir}/man8/rbd-mirror.8*
590%{_mandir}/man8/rbd-nbd.8*
9a1a508c 591%{_mandir}/man8/rbd-replay.8*
7f577810 592%{_mandir}/man8/rbd-replay-many.8*
9a1a508c 593%{_mandir}/man8/rbd-replay-prep.8*
bb30e67a 594%{_mandir}/man8/rgw-orphan-list.8*
60d5543f 595
2a1a6301 596%dir %{_localstatedir}/lib/ceph
1b11728e
JB
597%dir %{_localstatedir}/lib/ceph/bootstrap-mds
598%dir %{_localstatedir}/lib/ceph/bootstrap-mgr
599%dir %{_localstatedir}/lib/ceph/bootstrap-osd
600%dir %{_localstatedir}/lib/ceph/bootstrap-rbd
601%dir %{_localstatedir}/lib/ceph/bootstrap-rgw
b6163d67 602%dir %{_localstatedir}/lib/ceph/mds
1b11728e 603%dir %{_localstatedir}/lib/ceph/mgr
b6163d67
JK
604%dir %{_localstatedir}/lib/ceph/mon
605%dir %{_localstatedir}/lib/ceph/osd
2a1a6301
JR
606%dir %{_localstatedir}/lib/ceph/tmp
607%dir %{_localstatedir}/log/ceph
bef2a0ad 608%dir %{_localstatedir}/run/ceph
2a1a6301
JR
609
610%files libs
611%defattr(644,root,root,755)
612%attr(755,root,root) %{_libdir}/libcephfs.so.*.*.*
1b11728e 613%attr(755,root,root) %ghost %{_libdir}/libcephfs.so.2
4447516f
JB
614%attr(755,root,root) %{_libdir}/libos_tp.so.*.*.*
615%attr(755,root,root) %ghost %{_libdir}/libos_tp.so.1
616%attr(755,root,root) %{_libdir}/libosd_tp.so.*.*.*
617%attr(755,root,root) %ghost %{_libdir}/libosd_tp.so.1
2a1a6301
JR
618%attr(755,root,root) %{_libdir}/librados.so.*.*.*
619%attr(755,root,root) %ghost %{_libdir}/librados.so.2
4447516f
JB
620%attr(755,root,root) %{_libdir}/librados_tp.so.*.*.*
621%attr(755,root,root) %ghost %{_libdir}/librados_tp.so.2
bb30e67a
JR
622%attr(755,root,root) %{_libdir}/libradosgw.so.*.*.*
623%attr(755,root,root) %ghost %{_libdir}/libradosgw.so.2
548e0d3f
JB
624%attr(755,root,root) %{_libdir}/libradosstriper.so.*.*.*
625%attr(755,root,root) %ghost %{_libdir}/libradosstriper.so.1
2a1a6301
JR
626%attr(755,root,root) %{_libdir}/librbd.so.*.*.*
627%attr(755,root,root) %ghost %{_libdir}/librbd.so.1
4447516f
JB
628%attr(755,root,root) %{_libdir}/librbd_tp.so.*.*.*
629%attr(755,root,root) %ghost %{_libdir}/librbd_tp.so.1
bbcdc7ce
JB
630%attr(755,root,root) %{_libdir}/librgw.so.*.*.*
631%attr(755,root,root) %ghost %{_libdir}/librgw.so.2
bb30e67a
JR
632%attr(755,root,root) %{_libdir}/librgw_op_tp.so.*.*.*
633%attr(755,root,root) %ghost %{_libdir}/librgw_op_tp.so.2
634%attr(755,root,root) %{_libdir}/librgw_rados_tp.so.*.*.*
635%attr(755,root,root) %ghost %{_libdir}/librgw_rados_tp.so.2
636%attr(755,root,root) %{_libdir}/libcephsqlite.so
5b8dadc9 637%dir %{_libdir}/ceph
bb30e67a 638%attr(755,root,root) %{_libdir}/ceph/libceph-common.so.2
2a1a6301 639
2a1a6301
JR
640%files devel
641%defattr(644,root,root,755)
2a1a6301 642%attr(755,root,root) %{_libdir}/libcephfs.so
4447516f
JB
643%attr(755,root,root) %{_libdir}/libos_tp.so
644%attr(755,root,root) %{_libdir}/libosd_tp.so
2a1a6301 645%attr(755,root,root) %{_libdir}/librados.so
4447516f 646%attr(755,root,root) %{_libdir}/librados_tp.so
bb30e67a 647%attr(755,root,root) %{_libdir}/libradosgw.so
548e0d3f 648%attr(755,root,root) %{_libdir}/libradosstriper.so
2a1a6301 649%attr(755,root,root) %{_libdir}/librbd.so
4447516f 650%attr(755,root,root) %{_libdir}/librbd_tp.so
bbcdc7ce 651%attr(755,root,root) %{_libdir}/librgw.so
bb30e67a
JR
652%attr(755,root,root) %{_libdir}/librgw_op_tp.so
653%attr(755,root,root) %{_libdir}/librgw_rados_tp.so
e5fc70df
JB
654%{_includedir}/cephfs
655%{_includedir}/rados
548e0d3f 656%{_includedir}/radosstriper
e5fc70df 657%{_includedir}/rbd
bb30e67a 658%{_includedir}/libcephsqlite.h
2a1a6301 659
1b11728e
JB
660%files -n python3-ceph
661%defattr(644,root,root,755)
682d6dd5
JB
662%dir %{py3_sitedir}/ceph
663%{py3_sitedir}/ceph/*.py
664%{py3_sitedir}/ceph/__pycache__
665%{py3_sitedir}/ceph/deployment
bb30e67a 666%{py3_sitedir}/ceph-1.0.0-py*.egg-info
1b11728e 667%attr(755,root,root) %{py3_sitedir}/cephfs.cpython-*.so
1b11728e 668%{py3_sitedir}/cephfs-2.0.0-py*.egg-info
bb30e67a 669%{py3_sitedir}/cephfs_top-0.0.1-py*.egg-info
682d6dd5
JB
670%dir %{py3_sitedir}/ceph_volume
671%{py3_sitedir}/ceph_volume/*.py
672%{py3_sitedir}/ceph_volume/__pycache__
673%{py3_sitedir}/ceph_volume/api
674%{py3_sitedir}/ceph_volume/devices
675%{py3_sitedir}/ceph_volume/drive_group
676%{py3_sitedir}/ceph_volume/inventory
677%{py3_sitedir}/ceph_volume/systemd
678%{py3_sitedir}/ceph_volume/util
bb30e67a
JR
679%{py3_sitedir}/ceph_volume-1.0.0-py*.egg-info
680%attr(755,root,root) %{py3_sitedir}/rados.cpython-*.so
1b11728e 681%{py3_sitedir}/rados-2.0.0-py*.egg-info
bb30e67a 682%attr(755,root,root) %{py3_sitedir}/rbd.cpython-*.so
1b11728e 683%{py3_sitedir}/rbd-2.0.0-py*.egg-info
bb30e67a 684%attr(755,root,root) %{py3_sitedir}/rgw.cpython-*.so
1b11728e
JB
685%{py3_sitedir}/rgw-2.0.0-py*.egg-info
686%{py3_sitescriptdir}/ceph_argparse.py
687%{py3_sitescriptdir}/ceph_daemon.py
688%{py3_sitescriptdir}/ceph_volume_client.py
689%{py3_sitescriptdir}/__pycache__/ceph_argparse.cpython-*.py[co]
690%{py3_sitescriptdir}/__pycache__/ceph_daemon.cpython-*.py[co]
691%{py3_sitescriptdir}/__pycache__/ceph_volume_client.cpython-*.py[co]
692
4f42482b
JB
693%if %{with java}
694%files -n java-cephfs
695%defattr(644,root,root,755)
696%attr(755,root,root) %{_libdir}/libcephfs_jni.so.*.*.*
697%attr(755,root,root) %ghost %{_libdir}/libcephfs_jni.so.1
698%attr(755,root,root) %{_libdir}/libcephfs_jni.so
699%{_javadir}/libcephfs.jar
700%endif
701
e5fc70df
JB
702%files fuse
703%defattr(644,root,root,755)
e5fc70df
JB
704%attr(755,root,root) %{_bindir}/ceph-fuse
705%{_mandir}/man8/ceph-fuse.8*
706
2a1a6301
JR
707%files radosgw
708%defattr(644,root,root,755)
709%attr(755,root,root) %{_bindir}/radosgw
710%attr(755,root,root) %{_bindir}/radosgw-admin
1b11728e 711%attr(755,root,root) %{_bindir}/radosgw-es
bbcdc7ce
JB
712%attr(755,root,root) %{_bindir}/radosgw-object-expirer
713%attr(755,root,root) %{_bindir}/radosgw-token
714%{systemdunitdir}/ceph-radosgw.target
715%{systemdunitdir}/ceph-radosgw@.service
2a1a6301 716%{_sysconfdir}/bash_completion.d/radosgw-admin
1b11728e
JB
717%dir %{_localstatedir}/lib/ceph/radosgw
718%{_mandir}/man8/radosgw.8*
719%{_mandir}/man8/radosgw-admin.8*
2a1a6301 720
245cb856 721%files resource-agents
8029515d
JB
722%defattr(644,root,root,755)
723%dir %{_prefix}/lib/ocf/resource.d/ceph
8029515d 724%attr(755,root,root) %{_prefix}/lib/ocf/resource.d/ceph/rbd
79dc5cad 725
bb30e67a 726%if %{with tests}
9911b50d
JP
727%files test
728%defattr(644,root,root,755)
729%attr(755,root,root) %{_bindir}/ceph-client-debug
730%attr(755,root,root) %{_bindir}/ceph-coverage
731%attr(755,root,root) %{_bindir}/ceph-debugpack
732%attr(755,root,root) %{_bindir}/ceph-kvstore-tool
733%attr(755,root,root) %{_bindir}/ceph-monstore-tool
734%attr(755,root,root) %{_bindir}/ceph-osdomap-tool
735%attr(755,root,root) %{_bindir}/ceph_bench_log
736%attr(755,root,root) %{_bindir}/ceph_erasure_code
737%attr(755,root,root) %{_bindir}/ceph_erasure_code_benchmark
738%attr(755,root,root) %{_bindir}/ceph_kvstorebench
739%attr(755,root,root) %{_bindir}/ceph_multi_stress_watch
740%attr(755,root,root) %{_bindir}/ceph_objectstore_bench
741%attr(755,root,root) %{_bindir}/ceph_omapbench
742%attr(755,root,root) %{_bindir}/ceph_perf_local
743%attr(755,root,root) %{_bindir}/ceph_perf_msgr_client
744%attr(755,root,root) %{_bindir}/ceph_perf_msgr_server
745%attr(755,root,root) %{_bindir}/ceph_perf_objectstore
746%attr(755,root,root) %{_bindir}/ceph_psim
747%attr(755,root,root) %{_bindir}/ceph_radosacl
748%attr(755,root,root) %{_bindir}/ceph_rgw_jsonparser
749%attr(755,root,root) %{_bindir}/ceph_rgw_multiparser
750%attr(755,root,root) %{_bindir}/ceph_scratchtool
751%attr(755,root,root) %{_bindir}/ceph_scratchtoolpp
752%attr(755,root,root) %{_bindir}/ceph_smalliobench
753%attr(755,root,root) %{_bindir}/ceph_smalliobenchdumb
754%attr(755,root,root) %{_bindir}/ceph_smalliobenchfs
755%attr(755,root,root) %{_bindir}/ceph_smalliobenchrbd
756%attr(755,root,root) %{_bindir}/ceph_test_*
757%attr(755,root,root) %{_bindir}/ceph_tpbench
758%attr(755,root,root) %{_bindir}/ceph_xattr_bench
759%attr(755,root,root) %{_libdir}/ceph/ceph-monstore-update-crush.sh
682d6dd5
JB
760%{py3_sitedir}/ceph/tests
761%{py3_sitedir}/ceph_volume/tests
762%if %{with java}
763%{_javadir}/libcephfs-test.jar
764%endif
9911b50d
JP
765%{_mandir}/man8/ceph-debugpack.8*
766%{_mandir}/man8/ceph-kvstore-tool.8*
767%endif
768
79dc5cad
JB
769%if %{with fio}
770%files -n fio-ceph-objectstore
771%defattr(644,root,root,755)
772%doc src/test/fio/{README.md,ceph-*.conf,ceph-*.fio}
773%attr(755,root,root) %{_libdir}/libfio_ceph_objectstore.so
774%endif
This page took 0.212713 seconds and 4 git commands to generate.