]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
debian: Package librgw.
authorTommi Virtanen <tommi.virtanen@dreamhost.com>
Fri, 10 Jun 2011 23:43:55 +0000 (16:43 -0700)
committerTommi Virtanen <tommi.virtanen@dreamhost.com>
Fri, 10 Jun 2011 23:43:55 +0000 (16:43 -0700)
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
debian/.gitignore
debian/control
debian/librgw-dev.install [new file with mode: 0644]
debian/librgw1.install [new file with mode: 0644]
debian/librgw1.postinst [new file with mode: 0644]
debian/librgw1.postrm [new file with mode: 0644]

index c19bf97a678bea941362d7095e96c83952b48e60..2860422a96fb879dec8e0969c83dddc280c1a378 100644 (file)
@@ -21,6 +21,9 @@
 /librbd1
 /radosgw-dbg
 /radosgw
+/librgw-dev
+/librgw1
+/librgw1-dbg
 /gceph-dbg
 /gceph
 /obsync
index 3a28b5e3438aae946bf73b2c6e2e086ee75f3bf2..9ac7a58ce7c84fcd3290a9ad676d79e1392a2658 100644 (file)
@@ -226,6 +226,45 @@ Description: Ceph distributed file system client library (development files)
  This package contains development files needed for building applications that
  link against libceph.
 
+Package: librgw1
+Conflicts: librgw, librgw1
+Replaces: librgw, librgw1
+Architecture: linux-any
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: radosgw data access library
+ radosgw is a REST gateway for RADOS distributed object store.
+ librgw contains support for reading and writing objects in the
+ format expected by radosgw.
+
+Package: librgw1-dbg
+Conflicts: librgw1-dbg
+Replaces: librgw1-dbg
+Architecture: linux-any
+Section: debug
+Priority: extra
+Depends: librgw1 (= ${binary:Version}), ${misc:Depends}
+Description: debugging symbols for librgw
+ radosgw is a REST gateway for RADOS distributed object store.
+ librgw contains support for reading and writing objects in the
+ format expected by radosgw.
+ .
+ This package contains debugging symbols for librgw.
+
+Package: librgw-dev
+Architecture: linux-any
+Section: libdevel
+Depends: ${misc:Depends}, librgw1 (= ${binary:Version})
+Conflicts: librgw1-dev, librgw1-dev
+Replaces: librgw1-dev, librgw1-dev
+Description: RGW distributed object store client library (development files)
+ radosgw is a REST gateway for RADOS distributed object store.
+ librgw contains support for reading and writing objects in the
+ format expected by radosgw.
+ .
+ This package contains development files needed for building applications that
+ link against librgw.
+
 Package: radosgw
 Architecture: linux-any
 Depends: ${shlibs:Depends}, ${misc:Depends}, libexpat1, librados2
diff --git a/debian/librgw-dev.install b/debian/librgw-dev.install
new file mode 100644 (file)
index 0000000..4a52756
--- /dev/null
@@ -0,0 +1,4 @@
+usr/lib/librgw.so
+usr/lib/librgw.a
+usr/lib/librgw.la
+usr/include/rados/librgw.h
diff --git a/debian/librgw1.install b/debian/librgw1.install
new file mode 100644 (file)
index 0000000..0623f37
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/librgw.so.*
+
diff --git a/debian/librgw1.postinst b/debian/librgw1.postinst
new file mode 100644 (file)
index 0000000..df6b9fc
--- /dev/null
@@ -0,0 +1,41 @@
+#!/bin/sh
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <postinst> `abort-remove'
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    configure)
+       ldconfig
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/debian/librgw1.postrm b/debian/librgw1.postrm
new file mode 100644 (file)
index 0000000..598f48b
--- /dev/null
@@ -0,0 +1,43 @@
+#!/bin/sh
+# postrm script for ceph
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postrm> `remove'
+#        * <postrm> `purge'
+#        * <old-postrm> `upgrade' <new-version>
+#        * <new-postrm> `failed-upgrade' <old-version>
+#        * <new-postrm> `abort-install'
+#        * <new-postrm> `abort-install' <old-version>
+#        * <new-postrm> `abort-upgrade' <old-version>
+#        * <disappearer's-postrm> `disappear' <overwriter>
+#          <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    remove)
+       ldconfig
+    ;;
+
+    purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+