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