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