From 40c38e157618b42b755f920bbf5222e15b5bfe2d Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 3 May 2013 17:52:04 +0200 Subject: [PATCH] first attempt at debian packaging --- debian/changelog.in | 5 +++++ debian/compat | 1 + debian/control | 17 +++++++++++++++++ debian/copyright | 0 debian/myslice.install | 1 + debian/rules | 5 +++++ debian/source/format | 1 + debian/unfold.install | 2 ++ debian/unfold.postinst | 3 +++ 9 files changed, 35 insertions(+) create mode 100644 debian/changelog.in create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/myslice.install create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/unfold.install create mode 100644 debian/unfold.postinst diff --git a/debian/changelog.in b/debian/changelog.in new file mode 100644 index 00000000..a4372c35 --- /dev/null +++ b/debian/changelog.in @@ -0,0 +1,5 @@ +manifold (@VERSION@) UNRELEASED; urgency=low + + * Initial release. + + -- Thierry Parmentelat @DATE@ +0000 diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..45a4fb75 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..f30669b2 --- /dev/null +++ b/debian/control @@ -0,0 +1,17 @@ +Source: myslice +Maintainer: Thierry Parmentelat +Section: misc +Priority: optional +Standards-Version: 3.9.2 +Build-Depends: devscripts, debhelper (>=7.0.50~), debconf, dpatch, python-setuptools, make + +Package: myslice +Architecture: any +Depends: unfold +Description: Myslice plugins, based on django and unfold frontend + +# Thierry: the recipe I'm using somehow only works with several packages +Package: unfold +Architecture: any +Depends: python, python-django +Description: Generic django-based frontend for manifold backends diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 00000000..e69de29b diff --git a/debian/myslice.install b/debian/myslice.install new file mode 100644 index 00000000..93b0ce59 --- /dev/null +++ b/debian/myslice.install @@ -0,0 +1 @@ +usr/lib*/python*/site-packages/unfold/plugins diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..b8796e6e --- /dev/null +++ b/debian/rules @@ -0,0 +1,5 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +%: + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/unfold.install b/debian/unfold.install new file mode 100644 index 00000000..13a05e49 --- /dev/null +++ b/debian/unfold.install @@ -0,0 +1,2 @@ +usr/lib*/python*/site-packages/unfold/unfold +usr/lib*/python*/site-packages/unfold/engine diff --git a/debian/unfold.postinst b/debian/unfold.postinst new file mode 100644 index 00000000..b5851088 --- /dev/null +++ b/debian/unfold.postinst @@ -0,0 +1,3 @@ +#!/bin/bash +# if this requires a service to be running, add something like this +# update-rc.d unfold defaults -- 2.43.0