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