.PHONY: all install clean
-##########
+#################### debian-related
+# This is called from the build with the following variables set
+# (see build/Makefile and target_debian)
+# (.) RPMTARBALL
+# (.) RPMVERSION
+# (.) RPMRELEASE
+# (.) RPMNAME
+DEBVERSION=$(RPMVERSION).$(RPMRELEASE)
+DEBTARBALL=../$(RPMNAME)_$(DEBVERSION).orig.tar.bz2
+DATE=$(shell date -u +"%a, %d %b %Y %T")
+force:
+
+debian: debian/changelog debian.source debian.package
+
+debian/changelog: debian/changelog.in
+ sed -e "s|@VERSION@|$(DEBVERSION)|" -e "s|@DATE@|$(DATE)|" debian/changelog.in > debian/changelog
+
+debian.source: force
+ rsync -a $(RPMTARBALL) $(DEBTARBALL)
+
+debian.package:
+ debuild --set-envvar PREFIX=/usr -uc -us -b
+
+debian.clean:
+ $(MAKE) -f debian/rules clean
+ rm -rf build/ MANIFEST ../*.tar.gz ../*.dsc ../*.build
+ find . -name '*.pyc' -delete
+
+################################################## devel-oriented
tags:
(find . '(' -name '*.py' -o -name '*.c' -o -name '*.spec' ')' ; ls initscripts/*) | xargs etags
--- /dev/null
+nodemanager (@VERSION@) UNRELEASED; urgency=low
+
+ * Initial release.
+
+ -- Thierry Parmentelat <thierry.parmentelat@inria.fr> @DATE@ +0000
--- /dev/null
+Source: nodemanager
+Maintainer: Thierry Parmentelat <Thierry.Parmentelat@inria.fr>
+Section: misc
+Priority: optional
+Standards-Version: 3.9.2
+# hopefully we do not need manifold at build-time
+Build-Depends: devscripts, debhelper (>=7.0.50~), debconf, dpatch, python-setuptools, make
+X-Python-Version: >= 2.7
+
+Package: nodemanager-lib
+Architecture: any
+# xxx sliceimage-%{slicefamily} not mentioned here yet
+Depends: python, python-curl, gnupg, pyplnet >= 4.3, plnode-utils
+Description: Generic nodemanager framework
+
+Package: nodemanager-lxc
+Architecture: any
+# xxx lxc-sliceimage not mentioned here yet
+Depends: libvirt, libvirt-python, openvswitch, python-inotify, nodemanager-lib,
+Description: Nodemanager variant for lxc-containers
+
--- /dev/null
+usr/share/NodeManager/
+usr/bin/forward_api_calls
+etc/init.d/
+etc/logrotate.d/nodemanager
+var/lib/nodemanager/
+etc/sysconfig/nodemanager
--- /dev/null
+#!/bin/bash
+set -x
+echo "No postinsatll script for nodemanager-lib yet"
--- /dev/null
+usr/share/NodeManager
--- /dev/null
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+DEB_PYTHON_SETUP_CMD = setup-lib.py
+
+%:
+ dh $@ --with python2 --buildsystem=python_distutils
--- /dev/null
+3.0 (quilt)