]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
3 | %bcond_without java # Java binding | |
4 | %bcond_with kinetic # Kinetic storage support [needs update for internal API changes] | |
5 | %bcond_with rocksdb # RocksDB storage support [needs update for internal API changes] | |
6 | %bcond_with zfs # ZFS support | |
7 | %bcond_without lttng # LTTng tracing | |
8 | %bcond_without babeltrace # Babeltrace traces support | |
9 | %bcond_without tcmalloc # tcmalloc allocator | |
10 | ||
11 | %ifarch x32 | |
12 | %undefine with_tcmalloc | |
13 | %endif | |
14 | # | |
15 | Summary: User space components of the Ceph file system | |
16 | Summary(pl.UTF-8): Działające w przestrzeni użytkownika elementy systemu plików Ceph | |
17 | Name: ceph | |
18 | Version: 0.92 | |
19 | Release: 2 | |
20 | License: LGPL v2.1 (libraries), GPL v2 (some programs) | |
21 | Group: Base | |
22 | Source0: http://ceph.com/download/%{name}-%{version}.tar.bz2 | |
23 | # Source0-md5: e8385508ee9a54f1cf56c1bcc1ec2b77 | |
24 | Patch0: %{name}-init-fix.patch | |
25 | Patch1: %{name}.logrotate.patch | |
26 | Patch2: %{name}-link.patch | |
27 | URL: http://ceph.com/ | |
28 | BuildRequires: autoconf >= 2.59 | |
29 | BuildRequires: automake | |
30 | %{?with_babeltrace:BuildRequires: babeltrace-devel} | |
31 | BuildRequires: boost-devel >= 1.34 | |
32 | BuildRequires: curl-devel | |
33 | BuildRequires: expat-devel >= 1.95 | |
34 | BuildRequires: fcgi-devel | |
35 | BuildRequires: gdbm-devel | |
36 | %if %{with java} | |
37 | BuildRequires: jdk | |
38 | %endif | |
39 | BuildRequires: keyutils-devel | |
40 | %{?with_kinetic:BuildRequires: kinetic-cpp-client} | |
41 | BuildRequires: leveldb-devel >= 1.2 | |
42 | BuildRequires: libaio-devel | |
43 | BuildRequires: libatomic_ops | |
44 | BuildRequires: libblkid-devel >= 2.17 | |
45 | BuildRequires: libedit-devel >= 2.11 | |
46 | BuildRequires: libfuse-devel | |
47 | BuildRequires: libltdl-devel | |
48 | BuildRequires: libs3-devel | |
49 | BuildRequires: libstdc++-devel | |
50 | %{?with_tcmalloc:BuildRequires: libtcmalloc-devel} | |
51 | BuildRequires: libtool >= 2:1.5 | |
52 | BuildRequires: libuuid-devel | |
53 | %{?with_lttng:BuildRequires: lttng-ust-devel} | |
54 | BuildRequires: nss-devel | |
55 | BuildRequires: perl-base | |
56 | BuildRequires: pkgconfig | |
57 | BuildRequires: python >= 1:2.4 | |
58 | %{?with_rocksdb:BuildRequires: rocksdb-devel} | |
59 | BuildRequires: rpmbuild(macros) >= 1.228 | |
60 | BuildRequires: snappy-devel | |
61 | BuildRequires: udev-devel | |
62 | BuildRequires: xfsprogs-devel | |
63 | %ifarch %{x8664} | |
64 | BuildRequires: yasm | |
65 | %endif | |
66 | %{?with_zfs:BuildRequires: zfs-devel} | |
67 | Requires(post,preun): /sbin/chkconfig | |
68 | Requires(preun): rc-scripts | |
69 | Requires: %{name}-libs = %{version}-%{release} | |
70 | Obsoletes: gcephtool | |
71 | Obsoletes: hadoop-cephfs | |
72 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
73 | ||
74 | %define skip_post_check_so libcls_.*.so.* libec_.*.so.* | |
75 | ||
76 | %description | |
77 | Ceph is a distributed network file system designed to provide | |
78 | excellent performance, reliability, and scalability. | |
79 | ||
80 | %description -l pl.UTF-8 | |
81 | Ceph to rozproszony sieciowy system plików zaprojektowany z myślą o | |
82 | dobrej wydajności, wiarygodności i skalowalności. | |
83 | ||
84 | %package libs | |
85 | Summary: Ceph shared libraries | |
86 | Summary(pl.UTF-8): Biblioteki współdzielone Cepha | |
87 | Group: Libraries | |
88 | ||
89 | %description libs | |
90 | Ceph shared libraries. | |
91 | ||
92 | %description libs -l pl.UTF-8 | |
93 | Biblioteki współdzielone Cepha. | |
94 | ||
95 | %package devel | |
96 | Summary: Ceph header files | |
97 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Cepha | |
98 | License: LGPL v2.1 | |
99 | Group: Development/Libraries | |
100 | Requires: %{name}-libs = %{version}-%{release} | |
101 | Requires: boost-devel >= 1.34 | |
102 | Requires: nss-devel | |
103 | Requires: leveldb-devel | |
104 | Requires: libatomic_ops | |
105 | Requires: libuuid-devel | |
106 | ||
107 | %description devel | |
108 | This package contains the headers needed to develop programs that use | |
109 | Ceph. | |
110 | ||
111 | %description devel -l pl.UTF-8 | |
112 | Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów | |
113 | wykorzystujących Cepha. | |
114 | ||
115 | %package static | |
116 | Summary: Ceph static libraries | |
117 | Summary(pl.UTF-8): Biblioteki statyczne Cepha | |
118 | License: LGPL v2.1 | |
119 | Group: Development/Libraries | |
120 | Requires: %{name}-devel = %{version}-%{release} | |
121 | ||
122 | %description static | |
123 | This package contains static Ceph libraries. | |
124 | ||
125 | %description static -l pl.UTF-8 | |
126 | Ten pakiet zawiera biblioteki statyczne Cepha. | |
127 | ||
128 | %package -n python-ceph | |
129 | Summary: Ceph Python bindings | |
130 | Summary(pl.UTF-8): Wiązania Pythona do bibliotek Cepha | |
131 | Group: Development/Languages/Python | |
132 | Requires: %{name}-libs = %{version}-%{release} | |
133 | ||
134 | %description -n python-ceph | |
135 | Ceph Python bindings. | |
136 | ||
137 | %description -n python-ceph -l pl.UTF-8 | |
138 | Wiązania Pythona do bibliotek Cepha. | |
139 | ||
140 | %package -n java-cephfs | |
141 | Summary: CephFS Java bindings | |
142 | Summary(pl.UTF-8): Wiązania Javy do biblioteki CephFS | |
143 | Group: Libraries/Java | |
144 | Requires: %{name}-libs = %{version}-%{release} | |
145 | ||
146 | %description -n java-cephfs | |
147 | CephFS Java bindings. | |
148 | ||
149 | %description -n java-cephfs -l pl.UTF-8 | |
150 | Wiązania Javy do biblioteki CephFS. | |
151 | ||
152 | %package fuse | |
153 | Summary: Ceph FUSE-based client | |
154 | Summary(pl.UTF-8): Klient Cepha oparty na FUSE | |
155 | Group: Base | |
156 | Requires: %{name} = %{version}-%{release} | |
157 | ||
158 | %description fuse | |
159 | FUSE based client for Ceph distributed network file system. | |
160 | ||
161 | %description fuse -l pl.UTF-8 | |
162 | Oparty na FUSE klient rozproszonego sieciowego systemu plików Ceph. | |
163 | ||
164 | %package radosgw | |
165 | Summary: rados REST gateway | |
166 | Summary(pl.UTF-8): Bramka REST-owa rados | |
167 | Group: Applications/System | |
168 | #Requires: apache-mod_fcgid | |
169 | ||
170 | %description radosgw | |
171 | radosgw is an S3 HTTP REST gateway for the RADOS object store. It is | |
172 | implemented as a FastCGI module using libfcgi, and can be used in | |
173 | conjunction with any FastCGI capable web server. | |
174 | ||
175 | %description radosgw -l pl.UTF-8 | |
176 | radosgw to REST-owa bramka HTTP S3 do przechowalni obiektów RADOS. | |
177 | Jest zaimplementowana jako moduł FastCGI wykorzystujący libfcgi i może | |
178 | być używana w połączeniu z dowolnym serwerem WWW obsługującym FastCGI. | |
179 | ||
180 | %package resource-agents | |
181 | Summary: OCF Resource Agents for Ceph processes | |
182 | Summary(pl.UTF-8): Agenci OCF do monitorowania procesów Cepha | |
183 | Group: Applications/System | |
184 | Requires: %{name} = %{version}-%{release} | |
185 | Requires: resource-agents | |
186 | ||
187 | %description resource-agents | |
188 | OCF Resource Agents for Ceph processes. | |
189 | ||
190 | %description resource-agents -l pl.UTF-8 | |
191 | Agenci OCF do monitorowania procesów Cepha. | |
192 | ||
193 | %prep | |
194 | %setup -q | |
195 | %patch0 -p1 | |
196 | %patch1 -p1 | |
197 | %patch2 -p1 | |
198 | ||
199 | %build | |
200 | %{__libtoolize} | |
201 | %{__aclocal} -I m4 | |
202 | %{__autoconf} | |
203 | %{__autoheader} | |
204 | %{__automake} | |
205 | # ac_cv_prog_uudecode_base64=no is a hack to compile Test.class instead of | |
206 | # using included one which fails with Sun/Oracle JDK 1.6 | |
207 | %configure \ | |
208 | %{?with_java:JAVAC=/usr/bin/javac} \ | |
209 | %{?with_zfs:LIBZFS_CFLAGS="-I/usr/include/libzfs -I/usr/include/libspl"} \ | |
210 | ac_cv_prog_uudecode_base64=no \ | |
211 | --sbindir=/sbin \ | |
212 | %{!?with_babeltrace:--without-babeltrace} \ | |
213 | --without-cryptopp \ | |
214 | --with-nss \ | |
215 | %{!?with_tcmalloc:--without-tcmalloc} \ | |
216 | %{?with_kinetic:--with-kinetic} \ | |
217 | %{?with_rocksdb:--with-librocksdb} \ | |
218 | %{?with_zfs:--with-libzfs} \ | |
219 | %{!?with_lttng:--without-lttng} \ | |
220 | --with-ocf \ | |
221 | --with-radosgw \ | |
222 | --with-system-leveldb \ | |
223 | --with-system-libs3 \ | |
224 | %{?with_java:--enable-cephfs-java --with-jdk-dir=%{_jvmdir}/java} \ | |
225 | --disable-silent-rules | |
226 | ||
227 | %{__make} | |
228 | ||
229 | %install | |
230 | rm -rf $RPM_BUILD_ROOT | |
231 | install -d $RPM_BUILD_ROOT%{_localstatedir}/{lib/ceph/tmp,log/ceph/stat} \ | |
232 | $RPM_BUILD_ROOT%{_sysconfdir}/{ceph,bash_completion.d,logrotate.d,rc.d/init.d} | |
233 | ||
234 | %{__make} install \ | |
235 | DESTDIR=$RPM_BUILD_ROOT \ | |
236 | javadir=%{_javadir} | |
237 | ||
238 | install -p src/init-ceph $RPM_BUILD_ROOT/etc/rc.d/init.d/ceph | |
239 | install -p src/logrotate.conf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ceph | |
240 | ||
241 | # loadable modules | |
242 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/ceph/erasure-code/*.{a,la} | |
243 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/rados-classes/*.{a,la} | |
244 | %if %{with java} | |
245 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libcephfs_jni.{la,a} | |
246 | %endif | |
247 | ||
248 | # packaged as %doc | |
249 | %{__rm} $RPM_BUILD_ROOT%{_docdir}/ceph/sample.{ceph.conf,fetch_config} | |
250 | ||
251 | %py_postclean | |
252 | ||
253 | %clean | |
254 | rm -rf $RPM_BUILD_ROOT | |
255 | ||
256 | %post | |
257 | /sbin/chkconfig --add ceph | |
258 | %service ceph restart | |
259 | ||
260 | %preun | |
261 | if [ "$1" = "0" ] ; then | |
262 | %service ceph stop | |
263 | /sbin/chkconfig --del ceph | |
264 | fi | |
265 | ||
266 | %post libs -p /sbin/ldconfig | |
267 | %postun libs -p /sbin/ldconfig | |
268 | ||
269 | %post -n java-cephfs -p /sbin/ldconfig | |
270 | %postun -n java-cephfs -p /sbin/ldconfig | |
271 | ||
272 | %files | |
273 | %defattr(644,root,root,755) | |
274 | # COPYING specifies licenses of individual parts | |
275 | %doc AUTHORS COPYING README src/sample.ceph.conf src/sample.fetch_config | |
276 | %attr(754,root,root) /etc/rc.d/init.d/ceph | |
277 | %dir %{_sysconfdir}/ceph | |
278 | %attr(755,root,root) %{_bindir}/ceph | |
279 | %attr(755,root,root) %{_bindir}/ceph-authtool | |
280 | %attr(755,root,root) %{_bindir}/ceph-brag | |
281 | %attr(755,root,root) %{_bindir}/ceph-clsinfo | |
282 | %attr(755,root,root) %{_bindir}/ceph-conf | |
283 | %attr(755,root,root) %{_bindir}/ceph-coverage | |
284 | %attr(755,root,root) %{_bindir}/ceph-crush-location | |
285 | %attr(755,root,root) %{_bindir}/ceph-debugpack | |
286 | %attr(755,root,root) %{_bindir}/ceph-dencoder | |
287 | %attr(755,root,root) %{_bindir}/ceph-mds | |
288 | %attr(755,root,root) %{_bindir}/ceph-mon | |
289 | %attr(755,root,root) %{_bindir}/ceph-objectstore-tool | |
290 | %attr(755,root,root) %{_bindir}/ceph-osd | |
291 | %attr(755,root,root) %{_bindir}/ceph-post-file | |
292 | %attr(755,root,root) %{_bindir}/ceph-rbdnamer | |
293 | %attr(755,root,root) %{_bindir}/ceph-rest-api | |
294 | %attr(755,root,root) %{_bindir}/ceph-run | |
295 | %attr(755,root,root) %{_bindir}/ceph-syn | |
296 | %attr(755,root,root) %{_bindir}/ceph_mon_store_converter | |
297 | %attr(755,root,root) %{_bindir}/cephfs | |
298 | %attr(755,root,root) %{_bindir}/cephfs-journal-tool | |
299 | %attr(755,root,root) %{_bindir}/crushtool | |
300 | %attr(755,root,root) %{_bindir}/librados-config | |
301 | %attr(755,root,root) %{_bindir}/monmaptool | |
302 | %attr(755,root,root) %{_bindir}/osdmaptool | |
303 | %attr(755,root,root) %{_bindir}/rados | |
304 | %attr(755,root,root) %{_bindir}/rbd | |
305 | %attr(755,root,root) %{_bindir}/rbd-fuse | |
306 | %attr(755,root,root) %{_bindir}/rbd-replay | |
307 | %attr(755,root,root) %{_bindir}/rbd-replay-many | |
308 | %attr(755,root,root) %{_bindir}/rbd-replay-prep | |
309 | %attr(755,root,root) /sbin/ceph-create-keys | |
310 | %attr(755,root,root) /sbin/ceph-disk | |
311 | %attr(755,root,root) /sbin/ceph-disk-activate | |
312 | %attr(755,root,root) /sbin/ceph-disk-prepare | |
313 | %attr(755,root,root) /sbin/ceph-disk-udev | |
314 | %attr(755,root,root) /sbin/mount.ceph | |
315 | %attr(755,root,root) /sbin/mount.fuse.ceph | |
316 | %dir %{_libdir}/ceph | |
317 | %attr(755,root,root) %{_libdir}/ceph/ceph-osd-prestart.sh | |
318 | %{_libdir}/ceph/ceph_common.sh | |
319 | %dir %{_libdir}/ceph/erasure-code | |
320 | %attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_example.so* | |
321 | %attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_fail_to_initialize.so* | |
322 | %attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_fail_to_register.so* | |
323 | %attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_hangs.so* | |
324 | %ifarch %{x8664} | |
325 | %attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_isa.so* | |
326 | %endif | |
327 | %attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_jerasure.so* | |
328 | %attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_jerasure_generic.so* | |
329 | %ifarch arm | |
330 | %attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_jerasure_neon.so* | |
331 | %endif | |
332 | %ifarch %{ix86} %{x8664} x32 | |
333 | %attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_jerasure_sse3.so* | |
334 | %endif | |
335 | %ifarch %{x8664} x32 | |
336 | %attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_jerasure_sse4.so* | |
337 | %endif | |
338 | %attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_lrc.so* | |
339 | %attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_missing_entry_point.so* | |
340 | %attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_missing_version.so* | |
341 | %attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_test_jerasure_generic.so* | |
342 | %attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_test_jerasure_neon.so* | |
343 | %attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_test_jerasure_sse3.so* | |
344 | %attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_test_jerasure_sse4.so* | |
345 | %dir %{_libdir}/rados-classes | |
346 | %attr(755,root,root) %{_libdir}/rados-classes/libcls_hello.so* | |
347 | %attr(755,root,root) %{_libdir}/rados-classes/libcls_kvs.so* | |
348 | %attr(755,root,root) %{_libdir}/rados-classes/libcls_lock.so* | |
349 | %attr(755,root,root) %{_libdir}/rados-classes/libcls_log.so* | |
350 | %attr(755,root,root) %{_libdir}/rados-classes/libcls_rbd.so* | |
351 | %attr(755,root,root) %{_libdir}/rados-classes/libcls_refcount.so* | |
352 | %attr(755,root,root) %{_libdir}/rados-classes/libcls_replica_log.so* | |
353 | %attr(755,root,root) %{_libdir}/rados-classes/libcls_rgw.so* | |
354 | %attr(755,root,root) %{_libdir}/rados-classes/libcls_statelog.so* | |
355 | %attr(755,root,root) %{_libdir}/rados-classes/libcls_user.so* | |
356 | %attr(755,root,root) %{_libdir}/rados-classes/libcls_version.so* | |
357 | %{_datadir}/ceph | |
358 | %config(noreplace) /etc/logrotate.d/ceph | |
359 | %config(noreplace) %{_sysconfdir}/bash_completion.d/rados | |
360 | %config(noreplace) %{_sysconfdir}/bash_completion.d/ceph | |
361 | %config(noreplace) %{_sysconfdir}/bash_completion.d/rbd | |
362 | %{_mandir}/man8/ceph.8* | |
363 | %{_mandir}/man8/ceph-authtool.8* | |
364 | %{_mandir}/man8/ceph-clsinfo.8* | |
365 | %{_mandir}/man8/ceph-conf.8* | |
366 | %{_mandir}/man8/ceph-debugpack.8* | |
367 | %{_mandir}/man8/ceph-dencoder.8* | |
368 | %{_mandir}/man8/ceph-deploy.8* | |
369 | %{_mandir}/man8/ceph-disk.8* | |
370 | %{_mandir}/man8/ceph-mds.8* | |
371 | %{_mandir}/man8/ceph-mon.8* | |
372 | %{_mandir}/man8/ceph-osd.8* | |
373 | %{_mandir}/man8/ceph-post-file.8* | |
374 | %{_mandir}/man8/ceph-rbdnamer.8* | |
375 | %{_mandir}/man8/ceph-rest-api.8* | |
376 | %{_mandir}/man8/ceph-run.8* | |
377 | %{_mandir}/man8/ceph-syn.8* | |
378 | %{_mandir}/man8/cephfs.8* | |
379 | %{_mandir}/man8/crushtool.8* | |
380 | %{_mandir}/man8/librados-config.8* | |
381 | %{_mandir}/man8/monmaptool.8* | |
382 | %{_mandir}/man8/mount.ceph.8* | |
383 | %{_mandir}/man8/osdmaptool.8* | |
384 | %{_mandir}/man8/rados.8* | |
385 | %{_mandir}/man8/radosgw.8* | |
386 | %{_mandir}/man8/radosgw-admin.8* | |
387 | %{_mandir}/man8/rbd.8* | |
388 | %{_mandir}/man8/rbd-fuse.8* | |
389 | %{_mandir}/man8/rbd-replay.8* | |
390 | %{_mandir}/man8/rbd-replay-many.8* | |
391 | %{_mandir}/man8/rbd-replay-prep.8* | |
392 | ||
393 | %dir %{_localstatedir}/lib/ceph | |
394 | %dir %{_localstatedir}/lib/ceph/tmp | |
395 | %dir %{_localstatedir}/log/ceph | |
396 | ||
397 | %files libs | |
398 | %defattr(644,root,root,755) | |
399 | %attr(755,root,root) %{_libdir}/libcephfs.so.*.*.* | |
400 | %attr(755,root,root) %ghost %{_libdir}/libcephfs.so.1 | |
401 | %attr(755,root,root) %{_libdir}/librados.so.*.*.* | |
402 | %attr(755,root,root) %ghost %{_libdir}/librados.so.2 | |
403 | %attr(755,root,root) %{_libdir}/libradosstriper.so.*.*.* | |
404 | %attr(755,root,root) %ghost %{_libdir}/libradosstriper.so.1 | |
405 | %attr(755,root,root) %{_libdir}/librbd.so.*.*.* | |
406 | %attr(755,root,root) %ghost %{_libdir}/librbd.so.1 | |
407 | ||
408 | %files devel | |
409 | %defattr(644,root,root,755) | |
410 | %attr(755,root,root) %{_libdir}/libcephfs.so | |
411 | %attr(755,root,root) %{_libdir}/librados.so | |
412 | %attr(755,root,root) %{_libdir}/libradosstriper.so | |
413 | %attr(755,root,root) %{_libdir}/librbd.so | |
414 | %{_libdir}/libcephfs.la | |
415 | %{_libdir}/librados.la | |
416 | %{_libdir}/libradosstriper.la | |
417 | %{_libdir}/librbd.la | |
418 | %{_includedir}/cephfs | |
419 | %{_includedir}/rados | |
420 | %{_includedir}/radosstriper | |
421 | %{_includedir}/rbd | |
422 | ||
423 | %files static | |
424 | %defattr(644,root,root,755) | |
425 | %{_libdir}/libcephfs.a | |
426 | %{_libdir}/librados.a | |
427 | %{_libdir}/libradosstriper.a | |
428 | %{_libdir}/librbd.a | |
429 | ||
430 | %files -n python-ceph | |
431 | %defattr(644,root,root,755) | |
432 | %{py_sitescriptdir}/ceph_argparse.py[co] | |
433 | %{py_sitescriptdir}/ceph_rest_api.py[co] | |
434 | %{py_sitescriptdir}/cephfs.py[co] | |
435 | %{py_sitescriptdir}/rados.py[co] | |
436 | %{py_sitescriptdir}/rbd.py[co] | |
437 | ||
438 | %if %{with java} | |
439 | %files -n java-cephfs | |
440 | %defattr(644,root,root,755) | |
441 | %attr(755,root,root) %{_libdir}/libcephfs_jni.so.*.*.* | |
442 | %attr(755,root,root) %ghost %{_libdir}/libcephfs_jni.so.1 | |
443 | %attr(755,root,root) %{_libdir}/libcephfs_jni.so | |
444 | %{_javadir}/libcephfs.jar | |
445 | %endif | |
446 | ||
447 | %files fuse | |
448 | %defattr(644,root,root,755) | |
449 | %attr(755,root,root) %{_bindir}/ceph-fuse | |
450 | %{_mandir}/man8/ceph-fuse.8* | |
451 | ||
452 | %files radosgw | |
453 | %defattr(644,root,root,755) | |
454 | %attr(755,root,root) %{_bindir}/radosgw | |
455 | %attr(755,root,root) %{_bindir}/radosgw-admin | |
456 | %{_sysconfdir}/bash_completion.d/radosgw-admin | |
457 | ||
458 | %files resource-agents | |
459 | %defattr(644,root,root,755) | |
460 | %dir %{_prefix}/lib/ocf/resource.d/ceph | |
461 | %attr(755,root,root) %{_prefix}/lib/ocf/resource.d/ceph/ceph | |
462 | %attr(755,root,root) %{_prefix}/lib/ocf/resource.d/ceph/mds | |
463 | %attr(755,root,root) %{_prefix}/lib/ocf/resource.d/ceph/mon | |
464 | %attr(755,root,root) %{_prefix}/lib/ocf/resource.d/ceph/osd | |
465 | %attr(755,root,root) %{_prefix}/lib/ocf/resource.d/ceph/rbd |