summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Lowell <gary.lowell@inktank.com>2013-09-27 11:22:01 -0700
committerGary Lowell <gary.lowell@inktank.com>2013-09-27 11:46:26 -0700
commit9b70ae867713dabf44028a2c11afc9589eeacbd5 (patch)
tree2d55ded1ad2211cf0d42b9abd38a5487279e29b9
parent6347fcf7ddfabf64a7392f8b00ee04cf1c357bfa (diff)
downloadceph-9b70ae867713dabf44028a2c11afc9589eeacbd5.tar.gz
ceph.spec.in: new virtual package for radosgw and apache2wip-6020
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
-rw-r--r--ceph.spec.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/ceph.spec.in b/ceph.spec.in
index a60d87ad814..c9e86666f17 100644
--- a/ceph.spec.in
+++ b/ceph.spec.in
@@ -250,6 +250,21 @@ BuildRequires: junit
%description -n cephfs-java
This package contains the Java libraries for the Ceph File System.
+%package -n radosgw-apache
+Summary: Virtual package for configuring apache for radosgw
+Group: System Environment/Libraries
+License: LGPL-2.0
+Requires: radosgw = %{version}-%{release}
+%if 0%{?suse_version}
+Requires: apache2 = %{version}-%{release}
+%else
+Requires: http2 = %{version}-%{release}
+%endif
+Requires: mod_fastcgi = %{version}-%{release}
+%description -n radosgw-apache
+This is a virtual package for configuring radosgw
+and apache2.
+
%if 0%{?opensuse} || 0%{?suse_version}
%debug_package
%endif
@@ -687,4 +702,15 @@ fi
%{_javadir}/libcephfs.jar
%{_javadir}/libcephfs-test.jar
+#################################################################################
+%files -n radosgw-apache
+%defattr(-,root,root,-)
+%{_libdir}/libcephfs.so.*
+
+%post -n radosgw-apache
+/sbin/ldconfig
+
+%postun -n radosgw-apache
+/sbin/ldconfig
+
%changelog