- regenerate ac/am, upstream file produce incorrectly linked libs
[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#
19c20e80
JR
6# Note on versioning: http://docs.ceph.com/docs/master/releases/
7#
714b93ed 8# Conditional build:
7f577810 9%bcond_without java # Java binding
477a1b20 10%bcond_with accelio # Accelio transport support
7f577810
JB
11%bcond_with kinetic # Kinetic storage support [needs update for internal API changes]
12%bcond_with rocksdb # RocksDB storage support [needs update for internal API changes]
13%bcond_with zfs # ZFS support
14%bcond_without lttng # LTTng tracing
15%bcond_without babeltrace # Babeltrace traces support
16%bcond_without tcmalloc # tcmalloc allocator
6fce7056
JR
17
18%ifarch x32
19%undefine with_tcmalloc
20%endif
714b93ed 21#
2a1a6301 22Summary: User space components of the Ceph file system
e5fc70df 23Summary(pl.UTF-8): Działające w przestrzeni użytkownika elementy systemu plików Ceph
2a1a6301 24Name: ceph
d54dd845 25Version: 0.94.10
4447516f 26Release: 1
9e1f65de 27License: LGPL v2.1 (libraries), GPL v2 (some programs)
2a1a6301 28Group: Base
4447516f 29Source0: http://download.ceph.com/tarballs/%{name}-%{version}.tar.gz
d54dd845 30# Source0-md5: 9bf0d6df74e6da3725dcc3b7adf3d849
b6163d67
JK
31Source1: ceph.sysconfig
32# based on files from https://github.com/ceph/ceph/tree/master/systemd
33Source10: cephctl
34Source11: ceph-mds@.service
35Source12: ceph-mon@.service
36Source13: ceph-osd@.service
37Source14: ceph.target
38Source15: ceph.tmpfiles
2a1a6301
JR
39Patch0: %{name}-init-fix.patch
40Patch1: %{name}.logrotate.patch
19c20e80 41Patch2: cxx.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
19c20e80 217%patch2 -p1
2a1a6301
JR
218
219%build
c73ebfa8
JR
220%{__libtoolize}
221%{__aclocal} -I m4
222%{__autoconf}
223%{__autoheader}
224%{__automake}
4447516f 225# required by xfs headers (for off64_t)
25225282 226CPPFLAGS="%{rpmcppflags} -D_FILE_OFFSET_BITS=64"
c1654e29
JB
227# ac_cv_prog_uudecode_base64=no is a hack to compile Test.class instead of
228# using included one which fails with Sun/Oracle JDK 1.6
2a1a6301 229%configure \
ac843c96 230 %{?with_java:JAVAC=/usr/bin/javac} \
ae4b5127 231 %{?with_zfs:LIBZFS_CFLAGS="-I/usr/include/libzfs -I/usr/include/libspl"} \
c1654e29 232 ac_cv_prog_uudecode_base64=no \
2a1a6301 233 --sbindir=/sbin \
7f577810 234 %{!?with_babeltrace:--without-babeltrace} \
6fce7056
JR
235 --without-cryptopp \
236 --with-nss \
237 %{!?with_tcmalloc:--without-tcmalloc} \
9a1a508c
JB
238 %{?with_kinetic:--with-kinetic} \
239 %{?with_rocksdb:--with-librocksdb} \
430360a9 240 %{?with_zfs:--with-libzfs} \
7f577810 241 %{!?with_lttng:--without-lttng} \
8029515d 242 --with-ocf \
2a1a6301 243 --with-radosgw \
f965be58
JB
244 --with-system-leveldb \
245 --with-system-libs3 \
4f42482b 246 %{?with_java:--enable-cephfs-java --with-jdk-dir=%{_jvmdir}/java} \
477a1b20
JB
247 --disable-silent-rules \
248 %{?with_accelio:--enable-xio}
2a1a6301 249
5e0a173c 250%{__make} -j1
2a1a6301
JR
251
252%install
253rm -rf $RPM_BUILD_ROOT
bef2a0ad
JK
254install -d $RPM_BUILD_ROOT%{_localstatedir}/{lib/ceph/{tmp,mon,osd,mds},log/ceph/stat,run/ceph} \
255 $RPM_BUILD_ROOT%{_sysconfdir}/{ceph,bash_completion.d,logrotate.d,rc.d/init.d,sysconfig} \
256 $RPM_BUILD_ROOT{%{systemdunitdir},%{systemdtmpfilesdir},/etc/systemd/system/ceph.target.wants}
4f42482b 257
2a1a6301 258%{__make} install \
4f42482b
JB
259 DESTDIR=$RPM_BUILD_ROOT \
260 javadir=%{_javadir}
2a1a6301
JR
261
262install -p src/init-ceph $RPM_BUILD_ROOT/etc/rc.d/init.d/ceph
263install -p src/logrotate.conf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ceph
264
bef2a0ad 265install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/ceph
b6163d67
JK
266install %{SOURCE10} $RPM_BUILD_ROOT%{_bindir}
267install %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} $RPM_BUILD_ROOT%{systemdunitdir}
268ln -sf /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/ceph.service
269install %{SOURCE15} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/ceph.conf
270
7e46b55b 271# loadable modules
c408d7b3 272%{__rm} $RPM_BUILD_ROOT%{_libdir}/ceph/erasure-code/*.{a,la}
c8a22313 273%{__rm} $RPM_BUILD_ROOT%{_libdir}/rados-classes/*.{a,la}
4f42482b
JB
274%if %{with java}
275%{__rm} $RPM_BUILD_ROOT%{_libdir}/libcephfs_jni.{la,a}
276%endif
277
7e46b55b
JB
278# packaged as %doc
279%{__rm} $RPM_BUILD_ROOT%{_docdir}/ceph/sample.{ceph.conf,fetch_config}
245cb856 280
714b93ed 281%py_postclean
2a1a6301
JR
282
283%clean
284rm -rf $RPM_BUILD_ROOT
285
286%post
287/sbin/chkconfig --add ceph
288%service ceph restart
289
bef2a0ad
JK
290# actual services are to be enabled on cluster deployment
291%systemd_post %{name}.target
292
2a1a6301
JR
293%preun
294if [ "$1" = "0" ] ; then
72daa1da
JR
295 %service ceph stop
296 /sbin/chkconfig --del ceph
2a1a6301 297fi
bef2a0ad
JK
298%systemd_preun %{name}.target
299
300%postun
301%systemd_reload
2a1a6301 302
e5fc70df
JB
303%post libs -p /sbin/ldconfig
304%postun libs -p /sbin/ldconfig
2a1a6301 305
4f42482b
JB
306%post -n java-cephfs -p /sbin/ldconfig
307%postun -n java-cephfs -p /sbin/ldconfig
308
2a1a6301
JR
309%files
310%defattr(644,root,root,755)
9e1f65de
JB
311# COPYING specifies licenses of individual parts
312%doc AUTHORS COPYING README src/sample.ceph.conf src/sample.fetch_config
2a1a6301 313%attr(754,root,root) /etc/rc.d/init.d/ceph
bef2a0ad
JK
314%config(noreplace) /etc/sysconfig/ceph
315%dir /etc/systemd/system/ceph.target.wants
316%{systemdunitdir}/ceph-mds@.service
317%{systemdunitdir}/ceph-mon@.service
318%{systemdunitdir}/ceph-osd@.service
319%{systemdunitdir}/ceph.service
320%{systemdunitdir}/ceph.target
321%{systemdtmpfilesdir}/ceph.conf
2a1a6301
JR
322%dir %{_sysconfdir}/ceph
323%attr(755,root,root) %{_bindir}/ceph
8c5712e2 324%attr(755,root,root) %{_bindir}/ceph-authtool
fa260b6c 325%attr(755,root,root) %{_bindir}/ceph-brag
2a1a6301 326%attr(755,root,root) %{_bindir}/ceph-clsinfo
8c5712e2
JB
327%attr(755,root,root) %{_bindir}/ceph-conf
328%attr(755,root,root) %{_bindir}/ceph-coverage
d91e5335 329%attr(755,root,root) %{_bindir}/ceph-crush-location
8c5712e2 330%attr(755,root,root) %{_bindir}/ceph-debugpack
60d5543f 331%attr(755,root,root) %{_bindir}/ceph-dencoder
2a1a6301 332%attr(755,root,root) %{_bindir}/ceph-mds
8c5712e2 333%attr(755,root,root) %{_bindir}/ceph-mon
7f577810 334%attr(755,root,root) %{_bindir}/ceph-objectstore-tool
2a1a6301 335%attr(755,root,root) %{_bindir}/ceph-osd
5e39e43e 336%attr(755,root,root) %{_bindir}/ceph-post-file
2a1a6301 337%attr(755,root,root) %{_bindir}/ceph-rbdnamer
4f411dc5 338%attr(755,root,root) %{_bindir}/ceph-rest-api
8c5712e2
JB
339%attr(755,root,root) %{_bindir}/ceph-run
340%attr(755,root,root) %{_bindir}/ceph-syn
bef2a0ad 341%attr(755,root,root) %{_bindir}/cephctl
8c5712e2 342%attr(755,root,root) %{_bindir}/cephfs
ae4b5127 343%attr(755,root,root) %{_bindir}/cephfs-journal-tool
b431df60 344%attr(755,root,root) %{_bindir}/cephfs-table-tool
8c5712e2 345%attr(755,root,root) %{_bindir}/crushtool
2a1a6301 346%attr(755,root,root) %{_bindir}/librados-config
8c5712e2
JB
347%attr(755,root,root) %{_bindir}/monmaptool
348%attr(755,root,root) %{_bindir}/osdmaptool
2a1a6301
JR
349%attr(755,root,root) %{_bindir}/rados
350%attr(755,root,root) %{_bindir}/rbd
8c5712e2 351%attr(755,root,root) %{_bindir}/rbd-fuse
9a1a508c 352%attr(755,root,root) %{_bindir}/rbd-replay
7f577810 353%attr(755,root,root) %{_bindir}/rbd-replay-many
9a1a508c 354%attr(755,root,root) %{_bindir}/rbd-replay-prep
8dda6d30
JB
355%attr(755,root,root) /sbin/ceph-create-keys
356%attr(755,root,root) /sbin/ceph-disk
357%attr(755,root,root) /sbin/ceph-disk-activate
358%attr(755,root,root) /sbin/ceph-disk-prepare
359%attr(755,root,root) /sbin/ceph-disk-udev
4f42482b
JB
360%attr(755,root,root) /sbin/mount.ceph
361%attr(755,root,root) /sbin/mount.fuse.ceph
c408d7b3 362%dir %{_libdir}/ceph
548e0d3f 363%attr(755,root,root) %{_libdir}/ceph/ceph-osd-prestart.sh
c408d7b3
JB
364%{_libdir}/ceph/ceph_common.sh
365%dir %{_libdir}/ceph/erasure-code
366%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_example.so*
367%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_fail_to_initialize.so*
368%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_fail_to_register.so*
369%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_hangs.so*
58dc957f 370%ifarch %{x8664}
066d8601 371%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_isa.so*
6fce7056 372%endif
c408d7b3 373%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_jerasure.so*
0509a77e 374%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_jerasure_generic.so*
7f577810
JB
375%ifarch arm
376%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_jerasure_neon.so*
377%endif
378%ifarch %{ix86} %{x8664} x32
0509a77e 379%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_jerasure_sse3.so*
7f577810
JB
380%endif
381%ifarch %{x8664} x32
0509a77e 382%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_jerasure_sse4.so*
7f577810 383%endif
9a1a508c 384%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_lrc.so*
c408d7b3 385%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_missing_entry_point.so*
9a1a508c 386%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_missing_version.so*
b431df60 387%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_shec.so*
0509a77e 388%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_test_jerasure_generic.so*
7f577810 389%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_test_jerasure_neon.so*
0509a77e
JB
390%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_test_jerasure_sse3.so*
391%attr(755,root,root) %{_libdir}/ceph/erasure-code/libec_test_jerasure_sse4.so*
2a1a6301 392%dir %{_libdir}/rados-classes
5e39e43e 393%attr(755,root,root) %{_libdir}/rados-classes/libcls_hello.so*
7e46b55b 394%attr(755,root,root) %{_libdir}/rados-classes/libcls_kvs.so*
60d5543f 395%attr(755,root,root) %{_libdir}/rados-classes/libcls_lock.so*
4f411dc5 396%attr(755,root,root) %{_libdir}/rados-classes/libcls_log.so*
2a1a6301 397%attr(755,root,root) %{_libdir}/rados-classes/libcls_rbd.so*
7e46b55b 398%attr(755,root,root) %{_libdir}/rados-classes/libcls_refcount.so*
4f411dc5 399%attr(755,root,root) %{_libdir}/rados-classes/libcls_replica_log.so*
2a1a6301 400%attr(755,root,root) %{_libdir}/rados-classes/libcls_rgw.so*
4f411dc5 401%attr(755,root,root) %{_libdir}/rados-classes/libcls_statelog.so*
c8a22313 402%attr(755,root,root) %{_libdir}/rados-classes/libcls_user.so*
4f411dc5 403%attr(755,root,root) %{_libdir}/rados-classes/libcls_version.so*
5e39e43e 404%{_datadir}/ceph
2a1a6301
JR
405%config(noreplace) /etc/logrotate.d/ceph
406%config(noreplace) %{_sysconfdir}/bash_completion.d/rados
407%config(noreplace) %{_sysconfdir}/bash_completion.d/ceph
408%config(noreplace) %{_sysconfdir}/bash_completion.d/rbd
409%{_mandir}/man8/ceph.8*
410%{_mandir}/man8/ceph-authtool.8*
411%{_mandir}/man8/ceph-clsinfo.8*
412%{_mandir}/man8/ceph-conf.8*
63709ae0 413%{_mandir}/man8/ceph-create-keys.8*
2a1a6301 414%{_mandir}/man8/ceph-debugpack.8*
60d5543f 415%{_mandir}/man8/ceph-dencoder.8*
7f577810
JB
416%{_mandir}/man8/ceph-deploy.8*
417%{_mandir}/man8/ceph-disk.8*
2a1a6301
JR
418%{_mandir}/man8/ceph-mds.8*
419%{_mandir}/man8/ceph-mon.8*
420%{_mandir}/man8/ceph-osd.8*
5e39e43e 421%{_mandir}/man8/ceph-post-file.8*
60d5543f 422%{_mandir}/man8/ceph-rbdnamer.8*
4f411dc5 423%{_mandir}/man8/ceph-rest-api.8*
2a1a6301
JR
424%{_mandir}/man8/ceph-run.8*
425%{_mandir}/man8/ceph-syn.8*
426%{_mandir}/man8/cephfs.8*
427%{_mandir}/man8/crushtool.8*
428%{_mandir}/man8/librados-config.8*
2a1a6301
JR
429%{_mandir}/man8/monmaptool.8*
430%{_mandir}/man8/mount.ceph.8*
431%{_mandir}/man8/osdmaptool.8*
432%{_mandir}/man8/rados.8*
433%{_mandir}/man8/radosgw.8*
434%{_mandir}/man8/radosgw-admin.8*
435%{_mandir}/man8/rbd.8*
8c5712e2 436%{_mandir}/man8/rbd-fuse.8*
9a1a508c 437%{_mandir}/man8/rbd-replay.8*
7f577810 438%{_mandir}/man8/rbd-replay-many.8*
9a1a508c 439%{_mandir}/man8/rbd-replay-prep.8*
60d5543f 440
2a1a6301 441%dir %{_localstatedir}/lib/ceph
b6163d67
JK
442%dir %{_localstatedir}/lib/ceph/mds
443%dir %{_localstatedir}/lib/ceph/mon
444%dir %{_localstatedir}/lib/ceph/osd
2a1a6301
JR
445%dir %{_localstatedir}/lib/ceph/tmp
446%dir %{_localstatedir}/log/ceph
bef2a0ad 447%dir %{_localstatedir}/run/ceph
2a1a6301
JR
448
449%files libs
450%defattr(644,root,root,755)
451%attr(755,root,root) %{_libdir}/libcephfs.so.*.*.*
452%attr(755,root,root) %ghost %{_libdir}/libcephfs.so.1
4447516f
JB
453%attr(755,root,root) %{_libdir}/libos_tp.so.*.*.*
454%attr(755,root,root) %ghost %{_libdir}/libos_tp.so.1
455%attr(755,root,root) %{_libdir}/libosd_tp.so.*.*.*
456%attr(755,root,root) %ghost %{_libdir}/libosd_tp.so.1
2a1a6301
JR
457%attr(755,root,root) %{_libdir}/librados.so.*.*.*
458%attr(755,root,root) %ghost %{_libdir}/librados.so.2
4447516f
JB
459%attr(755,root,root) %{_libdir}/librados_tp.so.*.*.*
460%attr(755,root,root) %ghost %{_libdir}/librados_tp.so.2
548e0d3f
JB
461%attr(755,root,root) %{_libdir}/libradosstriper.so.*.*.*
462%attr(755,root,root) %ghost %{_libdir}/libradosstriper.so.1
2a1a6301
JR
463%attr(755,root,root) %{_libdir}/librbd.so.*.*.*
464%attr(755,root,root) %ghost %{_libdir}/librbd.so.1
4447516f
JB
465%attr(755,root,root) %{_libdir}/librbd_tp.so.*.*.*
466%attr(755,root,root) %ghost %{_libdir}/librbd_tp.so.1
2a1a6301 467
2a1a6301
JR
468%files devel
469%defattr(644,root,root,755)
2a1a6301 470%attr(755,root,root) %{_libdir}/libcephfs.so
4447516f
JB
471%attr(755,root,root) %{_libdir}/libos_tp.so
472%attr(755,root,root) %{_libdir}/libosd_tp.so
2a1a6301 473%attr(755,root,root) %{_libdir}/librados.so
4447516f 474%attr(755,root,root) %{_libdir}/librados_tp.so
548e0d3f 475%attr(755,root,root) %{_libdir}/libradosstriper.so
2a1a6301 476%attr(755,root,root) %{_libdir}/librbd.so
4447516f 477%attr(755,root,root) %{_libdir}/librbd_tp.so
2a1a6301 478%{_libdir}/libcephfs.la
4447516f
JB
479%{_libdir}/libos_tp.la
480%{_libdir}/libosd_tp.la
2a1a6301 481%{_libdir}/librados.la
4447516f 482%{_libdir}/librados_tp.la
548e0d3f 483%{_libdir}/libradosstriper.la
2a1a6301 484%{_libdir}/librbd.la
4447516f 485%{_libdir}/librbd_tp.la
e5fc70df
JB
486%{_includedir}/cephfs
487%{_includedir}/rados
548e0d3f 488%{_includedir}/radosstriper
e5fc70df 489%{_includedir}/rbd
2a1a6301
JR
490
491%files static
492%defattr(644,root,root,755)
493%{_libdir}/libcephfs.a
4447516f
JB
494%{_libdir}/libos_tp.a
495%{_libdir}/libosd_tp.a
2a1a6301 496%{_libdir}/librados.a
4447516f 497%{_libdir}/librados_tp.a
548e0d3f 498%{_libdir}/libradosstriper.a
2a1a6301 499%{_libdir}/librbd.a
4447516f 500%{_libdir}/librbd_tp.a
2a1a6301 501
e5fc70df
JB
502%files -n python-ceph
503%defattr(644,root,root,755)
67f1bff3 504%{py_sitescriptdir}/ceph_argparse.py[co]
4f411dc5 505%{py_sitescriptdir}/ceph_rest_api.py[co]
e54009d4 506%{py_sitescriptdir}/cephfs.py[co]
714b93ed
JB
507%{py_sitescriptdir}/rados.py[co]
508%{py_sitescriptdir}/rbd.py[co]
e5fc70df 509
4f42482b
JB
510%if %{with java}
511%files -n java-cephfs
512%defattr(644,root,root,755)
513%attr(755,root,root) %{_libdir}/libcephfs_jni.so.*.*.*
514%attr(755,root,root) %ghost %{_libdir}/libcephfs_jni.so.1
515%attr(755,root,root) %{_libdir}/libcephfs_jni.so
516%{_javadir}/libcephfs.jar
517%endif
518
e5fc70df
JB
519%files fuse
520%defattr(644,root,root,755)
e5fc70df
JB
521%attr(755,root,root) %{_bindir}/ceph-fuse
522%{_mandir}/man8/ceph-fuse.8*
523
2a1a6301
JR
524%files radosgw
525%defattr(644,root,root,755)
526%attr(755,root,root) %{_bindir}/radosgw
527%attr(755,root,root) %{_bindir}/radosgw-admin
528%{_sysconfdir}/bash_completion.d/radosgw-admin
529
245cb856 530%files resource-agents
8029515d
JB
531%defattr(644,root,root,755)
532%dir %{_prefix}/lib/ocf/resource.d/ceph
533%attr(755,root,root) %{_prefix}/lib/ocf/resource.d/ceph/ceph
534%attr(755,root,root) %{_prefix}/lib/ocf/resource.d/ceph/mds
535%attr(755,root,root) %{_prefix}/lib/ocf/resource.d/ceph/mon
536%attr(755,root,root) %{_prefix}/lib/ocf/resource.d/ceph/osd
537%attr(755,root,root) %{_prefix}/lib/ocf/resource.d/ceph/rbd
This page took 1.450234 seconds and 4 git commands to generate.