summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Falavigna <dktrkranz@ubuntu.com>2009-08-02 13:10:01 +0200
committerLuca Falavigna <dktrkranz@ubuntu.com>2009-08-02 13:10:01 +0200
commit5c191400a6a35e77f72f8ef171cb944909ac50e9 (patch)
tree6ec5be1b9fd025e209276f8fc249f4217f8c3d29
Initial import of scons-doc Debian packaging version 1.2.0-21.2.0-2
-rw-r--r--debian/README.Debian7
-rw-r--r--debian/changelog12
-rw-r--r--debian/compat1
-rw-r--r--debian/control22
-rw-r--r--debian/copyright36
-rw-r--r--debian/docs1
-rwxr-xr-xdebian/rules47
-rw-r--r--debian/watch2
8 files changed, 128 insertions, 0 deletions
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..c6e0a44
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,7 @@
+scons-doc for Debian
+--------------------
+
+.orig.tar.gz archive has been repacked using get-orig-source target, available
+in debian/rules, to exclude unimportant files to generate SCons documentation.
+
+ -- Luca Falavigna <dktrkranz@ubuntu.com> Sat, 27 Dec 2008 11:33:28 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..59df6bb
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,12 @@
+scons-doc (1.2.0-2) unstable; urgency=low
+
+ * Update Standards-Version to 3.8.1, no changes required.
+ * Add watch file.
+
+ -- Luca Falavigna <dktrkranz@ubuntu.com> Sat, 04 Apr 2009 00:21:40 +0200
+
+scons-doc (1.2.0-1) experimental; urgency=low
+
+ * Initial release (Closes: #263237).
+
+ -- Luca Falavigna <dktrkranz@ubuntu.com> Sat, 27 Dec 2008 11:33:28 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..1e8b314
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+6
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..146009e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: scons-doc
+Section: doc
+Priority: optional
+Maintainer: Luca Falavigna <dktrkranz@ubuntu.com>
+Uploaders: Mark Brown <broonie@debian.org>
+Build-Depends: debhelper (>= 6)
+Build-Depends-Indep: docbook-utils
+Standards-Version: 3.8.1
+Homepage: http://www.scons.org/
+DM-Upload-Allowed: yes
+
+Package: scons-doc
+Architecture: all
+Suggests: scons
+Description: Documentation for SCons, a replacement for Make
+ SCons is a make replacement providing a range of enhanced features such
+ as automated dependency generation and built in compilation cache
+ support. SCons rule sets are Python scripts so as well as the features
+ it provides itself SCons allows you to use the full power of Python
+ to control compilation.
+ .
+ This package provides the SCons User's guide.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6b7f3ef
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+This package was debianized by Luca Falavigna <dktrkranz@ubuntu.com> on
+Sat, 27 Dec 2008 11:33:28 +0100.
+
+It was downloaded from http://scons.tigris.org/svn/scons
+
+Upstream Author:
+
+ Steven Knight <knight@baldmt.com>
+
+Copyright:
+
+ Copyright © 2001-2007 Steven Knight
+
+License:
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+ WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+The Debian packaging is copyright 2008-2009, Luca Falavigna <dktrkranz@ubuntu.com>
+and is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..f5a0fec
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+user/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..be45bc1
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,47 @@
+#!/usr/bin/make -f
+
+VERSION = $(shell head -n1 debian/changelog | sed -e 's/.*(//;s/-.*).*//;s/\+/\-/')
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+ db2html -o ${CURDIR}/user doc/user/main.xml || true
+ db2html -o ${CURDIR}/user -u doc/user/main.xml || true
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -fr build-stamp docbook2html-dir user
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+binary-indep: install
+ dh_testdir
+ dh_testroot
+ dh_installdocs
+ dh_installchangelogs
+ dh_link usr/share/doc/scons-doc/user/main.html usr/share/doc/scons-doc/user.html
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary-arch: install
+
+binary: binary-indep binary-arch
+
+get-orig-source:
+ svn co http://scons.tigris.org/svn/scons/tags/${VERSION} scons-${VERSION} --username guest --password ""
+ tar czf ../scons-doc_${VERSION}.orig.tar.gz --exclude=.svn scons-${VERSION}/LICENSE scons-${VERSION}/doc
+ rm -fr scons-${VERSION}
+
+.PHONY: build clean binary-indep binary-arch binary install get-orig-source
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..d3c1057
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/scons/scons-([0-9.]+)\.tar.gz