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