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