Requires: librbd1 = %{epoch}:%{version}-%{release}
Requires: librados2 = %{epoch}:%{version}-%{release}
Requires: libcephfs1 = %{epoch}:%{version}-%{release}
+Requires: librgw2 = %{epoch}:%{version}-%{release}
Requires: ceph-common = %{epoch}:%{version}-%{release}
%if 0%{with selinux}
Requires: ceph-selinux = %{epoch}:%{version}-%{release}
Requires: ceph-selinux = %{epoch}:%{version}-%{release}
%endif
Requires: librados2 = %{epoch}:%{version}-%{release}
+Requires: librgw2 = %{epoch}:%{version}-%{release}
%if 0%{?rhel} || 0%{?fedora}
Requires: mailcap
%endif
This package contains libraries and headers needed to develop programs
that use RADOS object store.
+%package -n librgw2
+Summary: RADOS gateway client library
+Group: System Environment/Libraries
+License: LGPL-2.0
+Requires: librados2 = %{epoch}:%{version}-%{release}
+%description -n librgw2
+This package provides a library implementation of the RADOS gateway
+(distributed object store with S3 and Swift personalities).
+
+%package -n librgw2-devel
+Summary: RADOS gateway client library
+Group: Development/Libraries
+License: LGPL-2.0
+Requires: librados2 = %{epoch}:%{version}-%{release}
+%description -n librgw2-devel
+This package contains libraries and headers needed to develop programs
+that use RADOS gateway client library.
+
%package -n python-rados
Summary: Python libraries for the RADOS object store
Group: System Environment/Libraries
%{_libdir}/librbd_tp.so
%endif
+#################################################################################
+%files -n librgw2
+%defattr(-,root,root,-)
+%{_libdir}/librgw.so.*
+
+%post -n librgw2
+/sbin/ldconfig
+
+%postun -n librgw2
+/sbin/ldconfig
+
+#################################################################################
+%files -n librgw2-devel
+%defattr(-,root,root,-)
+%dir %{_includedir}/rados
+%{_includedir}/rados/librgw.h
+%{_includedir}/rados/rgw_file.h
+%{_libdir}/librgw.so
+
#################################################################################
%files -n python-rbd
%defattr(-,root,root,-)
This package contains development files needed for building applications that
link against libcephfs.
+
+
+
+
+Package: librgw2
+Architecture: linux-any
+Section: libs
+Depends: librados2 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
+Description: RADOS Gateway client library
+RADOS is a distributed object store used by the Ceph distributed
+ storage system. This package provides a REST gateway to the
+ object store that aims to implement a superset of Amazon's S3
+ service.
+ .
+ This package contains the library interface and headers only.
+
+Package: librgw2-dbg
+Architecture: linux-any
+Section: debug
+Priority: extra
+Depends: librgw2 (= ${binary:Version}), ${misc:Depends}
+Description: debugging symbols for librbd1
+RADOS is a distributed object store used by the Ceph distributed
+ storage system. This package provides a REST gateway to the
+ object store that aims to implement a superset of Amazon's S3
+ service.
+ .
+ This package contains debugging symbols for librgw2.
+
+Package: librgw-dev
+Architecture: linux-any
+Section: libdevel
+Depends: librados-dev, librgw2 (= ${binary:Version}), ${misc:Depends}
+Description: RADOS block device client library (development files)
+RADOS is a distributed object store used by the Ceph distributed
+ storage system. This package provides a REST gateway to the
+ object store that aims to implement a superset of Amazon's S3
+ service.
+ .
+ This package contains development files needed for building applications
+ that link against librgw2.
+
Package: radosgw
Architecture: linux-any
-Depends: ceph-common (= ${binary:Version}), mime-support,
+Depends: librgw2, ceph-common (= ${binary:Version}), mime-support,
${misc:Depends}, ${shlibs:Depends}
Description: REST gateway for RADOS distributed object store
RADOS is a distributed object store used by the Ceph distributed
--- /dev/null
+usr/include/rados/librgw.h
+usr/include/rados/rgw_file.h
+usr/lib/librgw.a
+usr/lib/librgw.la
+usr/lib/librgw.so
--- /dev/null
+usr/lib/librgw.so.*
dh_strip -plibradosstriper1 --dbg-package=libradosstriper1-dbg
dh_strip -plibrbd1 --dbg-package=librbd1-dbg
dh_strip -plibcephfs1 --dbg-package=libcephfs1-dbg
+ dh_strip -plibrgw2 --dbg-package=librgw2-dbg
dh_strip -pradosgw --dbg-package=radosgw-dbg
dh_strip -pceph-test --dbg-package=ceph-test-dbg