# HG changeset patch # User paulb # Date 1134058953 0 # Node ID ec3548e13fb5dc69391641626b32cb5594efd7ff # Parent 16b6c63b580ee3b5016548395dc032118227aa06 [project @ 2005-12-08 16:22:33 by paulb] Added package preparation files. diff -r 16b6c63b580e -r ec3548e13fb5 packages/ubuntu-hoary/python2.4-desktop/debian/changelog --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hoary/python2.4-desktop/debian/changelog Thu Dec 08 16:22:33 2005 +0000 @@ -0,0 +1,5 @@ +desktop (0.2.1-0ubuntu1) hoary; urgency=low + + * New upstream release. + + -- Paul Boddie Thu, 8 Dec 2005 17:12:48 +0100 diff -r 16b6c63b580e -r ec3548e13fb5 packages/ubuntu-hoary/python2.4-desktop/debian/control --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hoary/python2.4-desktop/debian/control Thu Dec 08 16:22:33 2005 +0000 @@ -0,0 +1,17 @@ +Source: desktop +Priority: optional +Maintainer: Paul Boddie +Build-Depends: debhelper (>> 3.0.0), python2.4-dev +Standards-Version: 3.5.8 +Section: python + +Package: python2.4-desktop +Section: python +Architecture: all +Depends: python2.4 +Suggests: kde, gnome +Description: This module provides desktop environment detection and + resource opening support for a selection of common and standardised + desktop environments. + . + This package is built for Python 2.4.x. diff -r 16b6c63b580e -r ec3548e13fb5 packages/ubuntu-hoary/python2.4-desktop/debian/copyright --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hoary/python2.4-desktop/debian/copyright Thu Dec 08 16:22:33 2005 +0000 @@ -0,0 +1,20 @@ +Package creator: + + Paul Boddie + +The origin of the package is: + + http://www.python.org/pypi/desktop + +Package author: + + Paul Boddie + +Copyright: + +Licence Agreement for desktop +----------------------------- + +Copyright (C) 2005 Paul Boddie + +Licensed under the Academic Free License version 2.1 - see LICENCE.txt. diff -r 16b6c63b580e -r ec3548e13fb5 packages/ubuntu-hoary/python2.4-desktop/debian/docs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hoary/python2.4-desktop/debian/docs Thu Dec 08 16:22:33 2005 +0000 @@ -0,0 +1,2 @@ +README.txt +docs diff -r 16b6c63b580e -r ec3548e13fb5 packages/ubuntu-hoary/python2.4-desktop/debian/postinst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hoary/python2.4-desktop/debian/postinst Thu Dec 08 16:22:33 2005 +0000 @@ -0,0 +1,46 @@ +#! /bin/sh +# postinst script for desktop +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +PACKAGE=python2.4-desktop +VERSION=2.4 +LIB="/usr/lib/python$VERSION" + +case "$1" in + configure|abort-upgrade|abort-remove|abort-deconfigure) + /usr/bin/python$VERSION -O -c "import desktop" + /usr/bin/python$VERSION -c "import desktop" + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + + + +exit 0 + + diff -r 16b6c63b580e -r ec3548e13fb5 packages/ubuntu-hoary/python2.4-desktop/debian/prerm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hoary/python2.4-desktop/debian/prerm Thu Dec 08 16:22:33 2005 +0000 @@ -0,0 +1,24 @@ +#! /bin/sh +# prerm script for desktop + +set -e + +PACKAGE=python2.4-desktop +VERSION=2.4 +LIB="/usr/lib/python$VERSION" +DIR="$LIB/site-packages" + +case "$1" in + remove|upgrade|failed-upgrade) + rm ${DIR}/desktop.py[co] + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + + + +exit 0 diff -r 16b6c63b580e -r ec3548e13fb5 packages/ubuntu-hoary/python2.4-desktop/debian/rules --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-hoary/python2.4-desktop/debian/rules Thu Dec 08 16:22:33 2005 +0000 @@ -0,0 +1,49 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +export DH_COMPAT=4 + + + +build: build-stamp + /usr/bin/python2.4 setup.py build +build-stamp: + touch build-stamp + +configure: + # Do nothing + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + -rm -rf build + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + /usr/bin/python2.4 setup.py install --no-compile --prefix=$(CURDIR)/debian/python2.4-desktop/usr + +# Build architecture-independent files here. +binary-indep: install + dh_testdir + dh_testroot + + dh_installdocs + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb +# We have nothing to do by default. + +binary: binary-indep +.PHONY: build clean binary-indep binary install