[packages/ceph] - added -ocf subpackage with resource agents
qboosh
qboosh at pld-linux.org
Thu Oct 4 19:23:07 CEST 2012
commit 8029515da65d45267a1559a9e42aee60291ab20a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Oct 4 19:24:31 2012 +0200
- added -ocf subpackage with resource agents
ceph.spec | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
---
diff --git a/ceph.spec b/ceph.spec
index 22df3e7..78e5876 100644
--- a/ceph.spec
+++ b/ceph.spec
@@ -150,6 +150,19 @@ obsync to narzędzie do synchronizacji obiektów między systemami
przechowującymi obiekty w chmurze, takimi jak Amazon S3 (lub serwisy
kompatybilne) a klastrem Ceph RADOS lub katalogiem lokalnym.
+%package ocf
+Summary: OCF Resource Agents for Ceph processes
+Summary(pl.UTF-8): Agenci OCF do monitorowania procesów Cepha
+Group: Applications/System
+Requires: %{name} = %{version}-%{release}
+Requires: resource-agents
+
+%description ocf
+OCF Resource Agents for Ceph processes.
+
+%description ocf -l pl.UTF-8
+Agenci OCF do monitorowania procesów Cepha.
+
%prep
%setup -q
%patch0 -p1
@@ -168,9 +181,9 @@ kompatybilne) a klastrem Ceph RADOS lub katalogiem lokalnym.
--sbindir=/sbin \
--with-cryptopp \
--with-hadoop%{!?with_hadoop:=no} \
+ --with-ocf \
--with-radosgw \
--disable-silent-rules
-# --with-ocf ?
# --with-system-leveldb (BR: libleveldb, snappy-devel)
# --with-system-libs3 (BR: libs3)
@@ -321,3 +334,12 @@ fi
%attr(755,root,root) %{_bindir}/obsync
%attr(755,root,root) %{_bindir}/boto_tool
%{_mandir}/man1/obsync.1*
+
+%files ocf
+%defattr(644,root,root,755)
+%dir %{_prefix}/lib/ocf/resource.d/ceph
+%attr(755,root,root) %{_prefix}/lib/ocf/resource.d/ceph/ceph
+%attr(755,root,root) %{_prefix}/lib/ocf/resource.d/ceph/mds
+%attr(755,root,root) %{_prefix}/lib/ocf/resource.d/ceph/mon
+%attr(755,root,root) %{_prefix}/lib/ocf/resource.d/ceph/osd
+%attr(755,root,root) %{_prefix}/lib/ocf/resource.d/ceph/rbd
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ceph.git/commitdiff/8029515da65d45267a1559a9e42aee60291ab20a
More information about the pld-cvs-commit
mailing list