]> git.proxmox.com Git - libqb.git/commitdiff
imported from svn 'libqb/trunk'
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 23 Aug 2011 05:23:29 +0000 (07:23 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 23 Aug 2011 05:23:29 +0000 (07:23 +0200)
15 files changed:
Makefile [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/libqb-dev.dirs [new file with mode: 0644]
debian/libqb-dev.install [new file with mode: 0644]
debian/libqb.dirs [new file with mode: 0644]
debian/libqb.install [new file with mode: 0644]
debian/libqb.postinst [new file with mode: 0644]
debian/libqb.postrm [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/shlibs.local [new file with mode: 0644]
libqb-0.5.1.orig.tar.gz [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..01dff19
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,48 @@
+RELEASE=2.0
+
+QBVERSION=0.5.1
+QBRELEASE=1
+QBDIR=libqb-${QBVERSION}
+QBSRC=libqb-${QBVERSION}.orig.tar.gz
+
+ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+DEBS=                                                                  \
+       libqb_${QBVERSION}-${QBRELEASE}_${ARCH}.deb                     \
+       libqb-dev_${QBVERSION}-${QBRELEASE}_${ARCH}.deb
+
+all: ${DEBS}
+       echo ${DEBS}
+
+${DEBS}: ${QBSRC}
+       rm -rf ${QBDIR}
+       tar xf ${QBSRC} 
+       cp -a debian ${QBDIR}/debian
+       cd ${QBDIR}; dpkg-buildpackage -rfakeroot -b -us -uc
+
+
+download:
+       rm -rf libqb-${QBVERSION} libqb-${QBVERSION}.orig.tar.gz
+       git clone git://libqb.org/libqb.git libqb-${QBVERSION}
+       # fixme checkout correct version
+       #cd libqb-${QBVERSION}; git checkout -b local  v${QBVERSION}    
+       cd libqb-${QBVERSION}; ./autogen.sh
+       tar czf libqb-${QBVERSION}.orig.tar.gz libqb-${QBVERSION}/
+
+.PHONY: upload
+upload: ${DEBS}
+       umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw 
+       mkdir -p /pve/${RELEASE}/extra
+       rm -f /pve/${RELEASE}/extra/libqb*.deb
+       rm -f /pve/${RELEASE}/extra/Packages*
+       cp ${DEBS} /pve/${RELEASE}/extra
+       cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz
+       umount /pve/${RELEASE}; mount /pve/${RELEASE} -o ro
+
+.PHONY: clean
+clean:
+       rm -rf *~ debian/*~ *_${ARCH}.deb *.changes *.dsc ${QBDIR} libqb_${QBVERSION}.orig.tar.gz
+
+.PHONY: dinstall
+dinstall: ${DEBS}
+       dpkg -i ${DEBS}
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..4b03cb2
--- /dev/null
@@ -0,0 +1,17 @@
+libqb (0.5.1-1) unstable; urgency=low
+
+  *  update to 0.5.1
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 19 Jul 2011 12:31:59 +0200
+
+libqb (0.5.0-1) unstable; urgency=low
+
+  * update to 0.5.0
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 20 Jun 2011 06:56:56 +0200
+
+libqb (0.3.0-1) unstable; urgency=low
+
+  * Initial release 
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 02 Dec 2010 13:19:14 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..e55057d
--- /dev/null
@@ -0,0 +1,24 @@
+Source: libqb
+Priority: extra
+Maintainer: Proxmox Support Team <support@proxmox.com>
+Build-Depends: debhelper (>= 7.0.50~), autotools-dev, doxygen, check
+Standards-Version: 3.8.4
+Section: libs
+Homepage: http://www.libqb.org
+
+Package: libqb-dev
+Section: libdevel
+Architecture: any
+Depends: pkg-config, libqb (= ${binary:Version})
+Description: The Quarterback Client Server Developer Library
+ This package contains include files and man pages used to develop using
+ The Quarterback APIs.
+ .
+
+Package: libqb
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: The Quarterback Client Server Library
+ This package contains libqb libraries.
+ .
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..af910c1
--- /dev/null
@@ -0,0 +1,43 @@
+This work was packaged for Debian by:
+
+    Proxmox Support Team <support@proxmox.com> on 
+    Thu, 02 Dec 2010 13:18:23 +0100
+
+It was downloaded from:
+
+    git://libqb.org/libqb.git
+
+Upstream Author(s):
+
+    Angus Salkeld <asalkeld@redhat.com>
+    Steven Dake <sdake@redhat.com>
+
+Copyright:
+
+    Copyright (C) 2010 Red Hat, Inc
+  
+License:
+
+    This package is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2 of the License, or (at your option) any later version.
+
+    This package is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in "/usr/share/common-licenses/LGPL-2".
+
+The Debian packaging is:
+
+    Copyright (C) 2010 Proxmox Support Team <support@proxmox.com>
+
+and is licensed under the GNU Lesser General Public License,
+see "/usr/share/common-licenses/LGPL-2".
+
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..c680186
--- /dev/null
@@ -0,0 +1 @@
+coding_style.txt
diff --git a/debian/libqb-dev.dirs b/debian/libqb-dev.dirs
new file mode 100644 (file)
index 0000000..4418816
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
diff --git a/debian/libqb-dev.install b/debian/libqb-dev.install
new file mode 100644 (file)
index 0000000..f2ca463
--- /dev/null
@@ -0,0 +1,5 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/pkgconfig/*
+usr/lib/*.la
+usr/share/man/man3/*
diff --git a/debian/libqb.dirs b/debian/libqb.dirs
new file mode 100644 (file)
index 0000000..6845771
--- /dev/null
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/libqb.install b/debian/libqb.install
new file mode 100644 (file)
index 0000000..dc21b89
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/lib*.so
diff --git a/debian/libqb.postinst b/debian/libqb.postinst
new file mode 100644 (file)
index 0000000..5e60dfb
--- /dev/null
@@ -0,0 +1,39 @@
+#!/bin/sh
+# postinst script for libqb
+#
+# 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)
+    ;;
+
+    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/libqb.postrm b/debian/libqb.postrm
new file mode 100644 (file)
index 0000000..a41080d
--- /dev/null
@@ -0,0 +1,37 @@
+#!/bin/sh
+# postrm script for libqb
+#
+# 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
+    purge|remove|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
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..1937f01
--- /dev/null
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# we want to load libqb with dynamic loader with perl
+export CFLAGS=-fPIC
+
+%:
+       dh $@ 
diff --git a/debian/shlibs.local b/debian/shlibs.local
new file mode 100644 (file)
index 0000000..57ff721
--- /dev/null
@@ -0,0 +1 @@
+liblibqb 0.3.0 libqb (>> 0.3.0-0), libqb (<< 0.3.0-99)
diff --git a/libqb-0.5.1.orig.tar.gz b/libqb-0.5.1.orig.tar.gz
new file mode 100644 (file)
index 0000000..aa4bc31
Binary files /dev/null and b/libqb-0.5.1.orig.tar.gz differ