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