1.1 --- a/README.txt Wed Oct 12 17:15:40 2005 +0000
1.2 +++ b/README.txt Fri Oct 14 13:58:12 2005 +0000
1.3 @@ -208,13 +208,13 @@
1.4 Making Packages
1.5 ---------------
1.6
1.7 -To make Debian packages:
1.8 +To make Debian-based packages:
1.9
1.10 - 1. Create new package directories under packages/debian if necessary.
1.11 + 1. Create new package directories under packages if necessary.
1.12 2. Make a symbolic link in the distribution's root directory to keep the
1.13 Debian tools happy:
1.14
1.15 - ln -s packages/debian/python2.4-xsltools/debian/
1.16 + ln -s packages/ubuntu-hoary/python2.4-xsltools/debian/
1.17
1.18 3. Run the package builder:
1.19
2.1 --- a/packages/debian/python2.4-xsltools/debian/changelog Wed Oct 12 17:15:40 2005 +0000
2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
2.3 @@ -1,5 +0,0 @@
2.4 -xsltools (0.2-0ubuntu1) unstable; urgency=low
2.5 -
2.6 - * New upstream release.
2.7 -
2.8 - -- Paul Boddie <paul@boddie.org.uk> Tue, 16 Aug 2005 19:46:29 +0200
3.1 --- a/packages/debian/python2.4-xsltools/debian/control Wed Oct 12 17:15:40 2005 +0000
3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
3.3 @@ -1,19 +0,0 @@
3.4 -Source: xsltools
3.5 -Priority: optional
3.6 -Maintainer: Paul Boddie <paul@boddie.org.uk>
3.7 -Build-Depends: debhelper (>> 3.0.0), python2.4-dev
3.8 -Standards-Version: 3.5.8
3.9 -Section: python
3.10 -
3.11 -Package: python2.4-xsltools
3.12 -Section: python
3.13 -Architecture: all
3.14 -Depends: python2.4-libxml2dom (>= 0.2.1), python2.4-libxslt1 (>= 1.1.12), python2.4
3.15 -Suggests: python2.4-webstack (>= 1.0)
3.16 -Description: Modules and packages for the development of XML/XSL-based applications
3.17 - XSLTools is a distribution providing modules and packages for the development
3.18 - of XML/XSL-based applications in Python, including Web-based applications,
3.19 - utilising the open source libxml2 and libxslt libraries through the libxml2dom
3.20 - wrapper.
3.21 - .
3.22 - This package is built for Python 2.4.x.
4.1 --- a/packages/debian/python2.4-xsltools/debian/copyright Wed Oct 12 17:15:40 2005 +0000
4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
4.3 @@ -1,32 +0,0 @@
4.4 -Package creator:
4.5 -
4.6 - Paul Boddie <paul@boddie.org.uk>
4.7 -
4.8 -The origin of the package is:
4.9 -
4.10 - http://www.boddie.org.uk/python/XSLTools.html
4.11 -
4.12 -Package author:
4.13 -
4.14 - Paul Boddie <paul@boddie.org.uk>
4.15 -
4.16 -Copyright:
4.17 -
4.18 -Licence Agreement for XSLTools
4.19 -------------------------------
4.20 -
4.21 -Copyright (C) 2005 Paul Boddie <paul@boddie.org.uk>
4.22 -
4.23 -This library is free software; you can redistribute it and/or
4.24 -modify it under the terms of the GNU Lesser General Public
4.25 -License as published by the Free Software Foundation; either
4.26 -version 2.1 of the License, or (at your option) any later version.
4.27 -
4.28 -This library is distributed in the hope that it will be useful,
4.29 -but WITHOUT ANY WARRANTY; without even the implied warranty of
4.30 -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
4.31 -Lesser General Public License for more details.
4.32 -
4.33 -You should have received a copy of the GNU Lesser General Public
4.34 -License along with this library; if not, write to the Free Software
4.35 -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
5.1 --- a/packages/debian/python2.4-xsltools/debian/docs Wed Oct 12 17:15:40 2005 +0000
5.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
5.3 @@ -1,4 +0,0 @@
5.4 -README.txt
5.5 -docs
5.6 -scripts
5.7 -tools
6.1 --- a/packages/debian/python2.4-xsltools/debian/postinst Wed Oct 12 17:15:40 2005 +0000
6.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
6.3 @@ -1,49 +0,0 @@
6.4 -#! /bin/sh
6.5 -# postinst script for XSLTools
6.6 -#
6.7 -# see: dh_installdeb(1)
6.8 -
6.9 -set -e
6.10 -
6.11 -# summary of how this script can be called:
6.12 -# * <postinst> `configure' <most-recently-configured-version>
6.13 -# * <old-postinst> `abort-upgrade' <new version>
6.14 -# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
6.15 -# <new-version>
6.16 -# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
6.17 -# <failed-install-package> <version> `removing'
6.18 -# <conflicting-package> <version>
6.19 -# for details, see http://www.debian.org/doc/debian-policy/ or
6.20 -# the debian-policy package
6.21 -#
6.22 -# quoting from the policy:
6.23 -# Any necessary prompting should almost always be confined to the
6.24 -# post-installation script, and should be protected with a conditional
6.25 -# so that unnecessary prompting doesn't happen if a package's
6.26 -# installation fails and the `postinst' is called with `abort-upgrade',
6.27 -# `abort-remove' or `abort-deconfigure'.
6.28 -
6.29 -PACKAGE=python2.4-xsltools
6.30 -VERSION=2.4
6.31 -LIB="/usr/lib/python$VERSION"
6.32 -DIRLIST="$LIB/site-packages/XSLForms $LIB/site-packages/XSLTools"
6.33 -
6.34 -case "$1" in
6.35 - configure|abort-upgrade|abort-remove|abort-deconfigure)
6.36 - for i in $DIRLIST ; do
6.37 - /usr/bin/python$VERSION -O $LIB/compileall.py -q $i
6.38 - /usr/bin/python$VERSION $LIB/compileall.py -q $i
6.39 - done
6.40 - ;;
6.41 -
6.42 - *)
6.43 - echo "postinst called with unknown argument \`$1'" >&2
6.44 - exit 1
6.45 - ;;
6.46 -esac
6.47 -
6.48 -
6.49 -
6.50 -exit 0
6.51 -
6.52 -
7.1 --- a/packages/debian/python2.4-xsltools/debian/prerm Wed Oct 12 17:15:40 2005 +0000
7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
7.3 @@ -1,26 +0,0 @@
7.4 -#! /bin/sh
7.5 -# prerm script for XSLTools
7.6 -
7.7 -set -e
7.8 -
7.9 -PACKAGE=python2.4-xsltools
7.10 -VERSION=2.4
7.11 -LIB="/usr/lib/python$VERSION"
7.12 -DIRLIST="$LIB/site-packages/XSLForms $LIB/site-packages/XSLTools"
7.13 -
7.14 -case "$1" in
7.15 - remove|upgrade|failed-upgrade)
7.16 - for i in $DIRLIST ; do
7.17 - find $i -name '*.py[co]' -exec rm \{\} \;
7.18 - done
7.19 - ;;
7.20 -
7.21 - *)
7.22 - echo "prerm called with unknown argument \`$1'" >&2
7.23 - exit 1
7.24 - ;;
7.25 -esac
7.26 -
7.27 -
7.28 -
7.29 -exit 0
8.1 --- a/packages/debian/python2.4-xsltools/debian/rules Wed Oct 12 17:15:40 2005 +0000
8.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
8.3 @@ -1,49 +0,0 @@
8.4 -#!/usr/bin/make -f
8.5 -# Sample debian/rules that uses debhelper.
8.6 -# GNU copyright 1997 to 1999 by Joey Hess.
8.7 -
8.8 -# Uncomment this to turn on verbose mode.
8.9 -#export DH_VERBOSE=1
8.10 -
8.11 -# This is the debhelper compatibility version to use.
8.12 -export DH_COMPAT=4
8.13 -
8.14 -
8.15 -
8.16 -build: build-stamp
8.17 - /usr/bin/python2.4 setup.py build
8.18 -build-stamp:
8.19 - touch build-stamp
8.20 -
8.21 -configure:
8.22 - # Do nothing
8.23 -
8.24 -clean:
8.25 - dh_testdir
8.26 - dh_testroot
8.27 - rm -f build-stamp
8.28 -
8.29 - -rm -rf build
8.30 -
8.31 - dh_clean
8.32 -
8.33 -install: build
8.34 - dh_testdir
8.35 - dh_testroot
8.36 - dh_clean -k
8.37 - /usr/bin/python2.4 setup.py install --no-compile --prefix=$(CURDIR)/debian/python2.4-xsltools/usr
8.38 -
8.39 -# Build architecture-independent files here.
8.40 -binary-indep: install
8.41 - dh_testdir
8.42 - dh_testroot
8.43 -
8.44 - dh_installdocs
8.45 - dh_installdeb
8.46 - dh_gencontrol
8.47 - dh_md5sums
8.48 - dh_builddeb
8.49 -# We have nothing to do by default.
8.50 -
8.51 -binary: binary-indep
8.52 -.PHONY: build clean binary-indep binary install
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
9.2 +++ b/packages/ubuntu-hoary/python2.4-xsltools/debian/changelog Fri Oct 14 13:58:12 2005 +0000
9.3 @@ -0,0 +1,5 @@
9.4 +xsltools (0.2-0ubuntu1) unstable; urgency=low
9.5 +
9.6 + * New upstream release.
9.7 +
9.8 + -- Paul Boddie <paul@boddie.org.uk> Tue, 16 Aug 2005 19:46:29 +0200
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
10.2 +++ b/packages/ubuntu-hoary/python2.4-xsltools/debian/control Fri Oct 14 13:58:12 2005 +0000
10.3 @@ -0,0 +1,19 @@
10.4 +Source: xsltools
10.5 +Priority: optional
10.6 +Maintainer: Paul Boddie <paul@boddie.org.uk>
10.7 +Build-Depends: debhelper (>> 3.0.0), python2.4-dev
10.8 +Standards-Version: 3.5.8
10.9 +Section: python
10.10 +
10.11 +Package: python2.4-xsltools
10.12 +Section: python
10.13 +Architecture: all
10.14 +Depends: python2.4-libxml2dom (>= 0.2.1), python2.4-libxslt1 (>= 1.1.12), python2.4
10.15 +Suggests: python2.4-webstack (>= 1.0)
10.16 +Description: Modules and packages for the development of XML/XSL-based applications
10.17 + XSLTools is a distribution providing modules and packages for the development
10.18 + of XML/XSL-based applications in Python, including Web-based applications,
10.19 + utilising the open source libxml2 and libxslt libraries through the libxml2dom
10.20 + wrapper.
10.21 + .
10.22 + This package is built for Python 2.4.x.
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
11.2 +++ b/packages/ubuntu-hoary/python2.4-xsltools/debian/copyright Fri Oct 14 13:58:12 2005 +0000
11.3 @@ -0,0 +1,32 @@
11.4 +Package creator:
11.5 +
11.6 + Paul Boddie <paul@boddie.org.uk>
11.7 +
11.8 +The origin of the package is:
11.9 +
11.10 + http://www.boddie.org.uk/python/XSLTools.html
11.11 +
11.12 +Package author:
11.13 +
11.14 + Paul Boddie <paul@boddie.org.uk>
11.15 +
11.16 +Copyright:
11.17 +
11.18 +Licence Agreement for XSLTools
11.19 +------------------------------
11.20 +
11.21 +Copyright (C) 2005 Paul Boddie <paul@boddie.org.uk>
11.22 +
11.23 +This library is free software; you can redistribute it and/or
11.24 +modify it under the terms of the GNU Lesser General Public
11.25 +License as published by the Free Software Foundation; either
11.26 +version 2.1 of the License, or (at your option) any later version.
11.27 +
11.28 +This library is distributed in the hope that it will be useful,
11.29 +but WITHOUT ANY WARRANTY; without even the implied warranty of
11.30 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11.31 +Lesser General Public License for more details.
11.32 +
11.33 +You should have received a copy of the GNU Lesser General Public
11.34 +License along with this library; if not, write to the Free Software
11.35 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
12.2 +++ b/packages/ubuntu-hoary/python2.4-xsltools/debian/docs Fri Oct 14 13:58:12 2005 +0000
12.3 @@ -0,0 +1,4 @@
12.4 +README.txt
12.5 +docs
12.6 +scripts
12.7 +tools
13.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
13.2 +++ b/packages/ubuntu-hoary/python2.4-xsltools/debian/postinst Fri Oct 14 13:58:12 2005 +0000
13.3 @@ -0,0 +1,49 @@
13.4 +#! /bin/sh
13.5 +# postinst script for XSLTools
13.6 +#
13.7 +# see: dh_installdeb(1)
13.8 +
13.9 +set -e
13.10 +
13.11 +# summary of how this script can be called:
13.12 +# * <postinst> `configure' <most-recently-configured-version>
13.13 +# * <old-postinst> `abort-upgrade' <new version>
13.14 +# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
13.15 +# <new-version>
13.16 +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
13.17 +# <failed-install-package> <version> `removing'
13.18 +# <conflicting-package> <version>
13.19 +# for details, see http://www.debian.org/doc/debian-policy/ or
13.20 +# the debian-policy package
13.21 +#
13.22 +# quoting from the policy:
13.23 +# Any necessary prompting should almost always be confined to the
13.24 +# post-installation script, and should be protected with a conditional
13.25 +# so that unnecessary prompting doesn't happen if a package's
13.26 +# installation fails and the `postinst' is called with `abort-upgrade',
13.27 +# `abort-remove' or `abort-deconfigure'.
13.28 +
13.29 +PACKAGE=python2.4-xsltools
13.30 +VERSION=2.4
13.31 +LIB="/usr/lib/python$VERSION"
13.32 +DIRLIST="$LIB/site-packages/XSLForms $LIB/site-packages/XSLTools"
13.33 +
13.34 +case "$1" in
13.35 + configure|abort-upgrade|abort-remove|abort-deconfigure)
13.36 + for i in $DIRLIST ; do
13.37 + /usr/bin/python$VERSION -O $LIB/compileall.py -q $i
13.38 + /usr/bin/python$VERSION $LIB/compileall.py -q $i
13.39 + done
13.40 + ;;
13.41 +
13.42 + *)
13.43 + echo "postinst called with unknown argument \`$1'" >&2
13.44 + exit 1
13.45 + ;;
13.46 +esac
13.47 +
13.48 +
13.49 +
13.50 +exit 0
13.51 +
13.52 +
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
14.2 +++ b/packages/ubuntu-hoary/python2.4-xsltools/debian/prerm Fri Oct 14 13:58:12 2005 +0000
14.3 @@ -0,0 +1,26 @@
14.4 +#! /bin/sh
14.5 +# prerm script for XSLTools
14.6 +
14.7 +set -e
14.8 +
14.9 +PACKAGE=python2.4-xsltools
14.10 +VERSION=2.4
14.11 +LIB="/usr/lib/python$VERSION"
14.12 +DIRLIST="$LIB/site-packages/XSLForms $LIB/site-packages/XSLTools"
14.13 +
14.14 +case "$1" in
14.15 + remove|upgrade|failed-upgrade)
14.16 + for i in $DIRLIST ; do
14.17 + find $i -name '*.py[co]' -exec rm \{\} \;
14.18 + done
14.19 + ;;
14.20 +
14.21 + *)
14.22 + echo "prerm called with unknown argument \`$1'" >&2
14.23 + exit 1
14.24 + ;;
14.25 +esac
14.26 +
14.27 +
14.28 +
14.29 +exit 0
15.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
15.2 +++ b/packages/ubuntu-hoary/python2.4-xsltools/debian/rules Fri Oct 14 13:58:12 2005 +0000
15.3 @@ -0,0 +1,49 @@
15.4 +#!/usr/bin/make -f
15.5 +# Sample debian/rules that uses debhelper.
15.6 +# GNU copyright 1997 to 1999 by Joey Hess.
15.7 +
15.8 +# Uncomment this to turn on verbose mode.
15.9 +#export DH_VERBOSE=1
15.10 +
15.11 +# This is the debhelper compatibility version to use.
15.12 +export DH_COMPAT=4
15.13 +
15.14 +
15.15 +
15.16 +build: build-stamp
15.17 + /usr/bin/python2.4 setup.py build
15.18 +build-stamp:
15.19 + touch build-stamp
15.20 +
15.21 +configure:
15.22 + # Do nothing
15.23 +
15.24 +clean:
15.25 + dh_testdir
15.26 + dh_testroot
15.27 + rm -f build-stamp
15.28 +
15.29 + -rm -rf build
15.30 +
15.31 + dh_clean
15.32 +
15.33 +install: build
15.34 + dh_testdir
15.35 + dh_testroot
15.36 + dh_clean -k
15.37 + /usr/bin/python2.4 setup.py install --no-compile --prefix=$(CURDIR)/debian/python2.4-xsltools/usr
15.38 +
15.39 +# Build architecture-independent files here.
15.40 +binary-indep: install
15.41 + dh_testdir
15.42 + dh_testroot
15.43 +
15.44 + dh_installdocs
15.45 + dh_installdeb
15.46 + dh_gencontrol
15.47 + dh_md5sums
15.48 + dh_builddeb
15.49 +# We have nothing to do by default.
15.50 +
15.51 +binary: binary-indep
15.52 +.PHONY: build clean binary-indep binary install