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