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