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