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