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