--- python-ltsp-0.2.orig/debian/changelog +++ python-ltsp-0.2/debian/changelog @@ -0,0 +1,35 @@ +python-ltsp (0.2-0ubuntu3) trusty; urgency=medium + + * Port to dh_python2. + * Specify debian/compat 9. + + -- Dimitri John Ledkov Sun, 26 Jan 2014 23:48:56 +0000 + +python-ltsp (0.2-0ubuntu2) hardy; urgency=low + + * Rebuild with recent python-central. + * Set Ubuntu maintainer address. + + -- Matthias Klose Mon, 10 Mar 2008 12:46:59 +0000 + +python-ltsp (0.2-0ubuntu1) feisty; urgency=low + + * sanitize the code in dictionary.py so it's proper for main inclusion later + * bump version to 0.2 + + -- Oliver Grawert Fri, 26 Jan 2007 13:05:30 +0100 + +python-ltsp (0.1-0ubuntu2) feisty; urgency=low + + * remove post* and pre* scripts from debian/ dir + * remove README.Debian + * remove configure target from rules + + -- Oliver Grawert Wed, 24 Jan 2007 16:19:19 +0100 + +python-ltsp (0.1-0ubuntu1) feisty; urgency=low + + * Initial release + + -- Oliver Grawert Sat, 20 Jan 2007 13:24:00 +0100 + --- python-ltsp-0.2.orig/debian/compat +++ python-ltsp-0.2/debian/compat @@ -0,0 +1 @@ +9 --- python-ltsp-0.2.orig/debian/control +++ python-ltsp-0.2/debian/control @@ -0,0 +1,21 @@ +Source: python-ltsp +Section: python +Priority: extra +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Oliver Grawert +Build-Depends: debhelper (>= 9) +Build-Depends-Indep: python (>= 2.3), dh-python +Standards-Version: 3.7.2 + +Package: python-ltsp +Architecture: all +Depends: ${python:Depends} +Description: provides ltsp related functions + ltsp related python functions that make writing + admininstation interfaces an easy task. + . + ltsp.status - functions to check different server processes + ltsp.ltsconf - read and write lts.conf + ltsp.dictionary - retrieve values from a chroot, validate variables + ltsp.dchpconf - read and write /etc/ltsp/dhcpd.conf + ltsp.service - access additional service configs in /etc/ltsp/ --- python-ltsp-0.2.orig/debian/copyright +++ python-ltsp-0.2/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Oliver Grawert on +Sat, 20 Jan 2007 13:24:00 +0100. + +It was downloaded from https://launchpad.net/python-ltsp/ + +Upstream Author: Oliver Grawert + +Copyright: 2007, Canonical Ltd. + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2007, Oliver Grawert and +is licensed under the GPL, see above. --- python-ltsp-0.2.orig/debian/docs +++ python-ltsp-0.2/debian/docs @@ -0,0 +1,2 @@ +README +doc/*.png --- python-ltsp-0.2.orig/debian/examples +++ python-ltsp-0.2/debian/examples @@ -0,0 +1 @@ +examples/* --- python-ltsp-0.2.orig/debian/rules +++ python-ltsp-0.2/debian/rules @@ -0,0 +1,85 @@ +#!/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 + +# This is the debhelper compatibility version to use. +export DH_COMPAT=5 + +# python version for which a pkg will be build +PYVERSIONS= $(shell pyversions -r debian/control) +export PYVERSIONS + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +build: build-stamp + +build-stamp: + dh_testdir + + # Add here commands to compile the package. + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f $(CURDIR)/*pyo + rm -f $(CURDIR)/*pyc + rm -f build-stamp + + # Add here commands to clean up after the build process. + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/python-ltsp. + set -e; \ + for v in $(PYVERSIONS); do \ + mkdir -p debian/python-ltsp/usr/lib/$$v/site-packages/ltsp; \ + export MODULESDIR=$(CURDIR)/debian/python-ltsp/usr/lib/$$v/site-packages/ ; make install; \ + done + + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir -i + dh_testroot -i + + [ -d examples ] || mkdir examples] + cp -r doc/scripts/* examples + + dh_installdocs -i + dh_installexamples -i + dh_installchangelogs -i ChangeLog + dh_link -i + dh_compress -i -X.py + dh_fixperms -i + dh_python2 + dh_installdeb -i + dh_shlibdeps -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install