aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-09-16 18:11:51 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-09-16 18:11:51 +0000
commit240fb90c779cd1c5826b305003a2fe39a5c8cd0c (patch)
treecd9e738d6023fd82a3edcdc50fa041bdb945c487
parent8e33cbf97588a66c63a77146bb86cf62602bf991 (diff)
first stab at a working debian package
svn path=/trunk/externals/postlude/; revision=16245
-rw-r--r--psql/debian/changelog5
-rw-r--r--psql/debian/compat1
-rw-r--r--psql/debian/control28
-rw-r--r--psql/debian/copyright23
-rw-r--r--psql/debian/gbp.conf7
-rw-r--r--psql/debian/links3
-rwxr-xr-xpsql/debian/rules17
-rw-r--r--psql/debian/source/format1
-rw-r--r--psql/debian/source/local-options2
-rw-r--r--psql/debian/watch2
10 files changed, 89 insertions, 0 deletions
diff --git a/psql/debian/changelog b/psql/debian/changelog
new file mode 100644
index 0000000..85026fd
--- /dev/null
+++ b/psql/debian/changelog
@@ -0,0 +1,5 @@
+pd-psql (0.1-1) UNRELEASED; urgency=low
+
+ * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
+
+ -- Hans-Christoph Steiner <hans@eds.org> Sun, 16 Sep 2012 11:48:18 -0400
diff --git a/psql/debian/compat b/psql/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/psql/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/psql/debian/control b/psql/debian/control
new file mode 100644
index 0000000..c99cf61
--- /dev/null
+++ b/psql/debian/control
@@ -0,0 +1,28 @@
+Source: pd-psql
+Section: sound
+Priority: optional
+Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
+DM-Upload-Allowed: yes
+Uploaders: Hans-Christoph Steiner <hans@eds.org>
+Build-Depends: debhelper (>= 7.0.50~),
+ puredata-dev | puredata (<< 0.43),
+ libpq-dev
+Standards-Version: 3.9.3
+Homepage: http://puredata.info
+Vcs-Git: git://git.debian.org/pkg-multimedia/pd-psql.git
+Vcs-Browser: http://git.debian.org/?p=pkg-multimedia/pd-psql.git;a=summary
+
+Package: pd-psql
+Architecture: any
+Depends: ${shlibs:Depends},
+ pd,
+ pd-libdir,
+ ${misc:Depends}
+Recommends: pd-import
+Description: Pd object for connecting to PostgreSQL databases
+ psql allows you to send SQL messages to a PostgreSQL database from Pd and
+ retrieve the results. It provides a bit of a wrapper to SQL commands to
+ make them easier to write in Pd.
+ .
+ You will need to separately set up a PostgreSQL database to connect to,
+ if you don't already have one. \ No newline at end of file
diff --git a/psql/debian/copyright b/psql/debian/copyright
new file mode 100644
index 0000000..41a393a
--- /dev/null
+++ b/psql/debian/copyright
@@ -0,0 +1,23 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=135
+Name: psql
+Maintainer:
+Source: http://sourceforge.net/projects/pure-data/files/libraries/psql/
+
+Files: *
+Copyright: 2001-2003, Free Software Foundation
+License: GPL-2+
+ 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
+X-Comment: On Debian systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-2'.
diff --git a/psql/debian/gbp.conf b/psql/debian/gbp.conf
new file mode 100644
index 0000000..ae1dc36
--- /dev/null
+++ b/psql/debian/gbp.conf
@@ -0,0 +1,7 @@
+[DEFAULT]
+upstream-branch = upstream
+debian-branch = master
+upstream-tag = upstream/%(version)s
+debian-tag = debian/%(version)s
+pristine-tar = True
+sign-tags = True
diff --git a/psql/debian/links b/psql/debian/links
new file mode 100644
index 0000000..d03c35a
--- /dev/null
+++ b/psql/debian/links
@@ -0,0 +1,3 @@
+usr/lib/pd/extra/psql/README.txt usr/share/doc/pd-psql/README
+usr/lib/pd/extra/psql/examples usr/share/doc/pd-psql/examples
+usr/share/common-licenses/GPL-2 usr/lib/pd/extra/psql/LICENSE.txt
diff --git a/psql/debian/rules b/psql/debian/rules
new file mode 100755
index 0000000..1421ccc
--- /dev/null
+++ b/psql/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+LIBRARY_NAME = psql
+PACKAGE = pd-$(LIBRARY_NAME)
+pkglibdir = /usr/lib/pd/extra
+
+%:
+ dh $@ --buildsystem=makefile
+
+override_dh_auto_install:
+ dh_auto_install -- prefix=/usr pkglibdir=$(pkglibdir)
+# replace license file with link to the Debian license file
+ rm -f -- $(CURDIR)/debian/$(PACKAGE)/$(pkglibdir)/$(LIBRARY_NAME)/LICENSE.txt
+
+override_dh_shlibdeps:
+ dpkg-shlibdeps $(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux \
+ -T$(CURDIR)/debian/$(PACKAGE).substvars
diff --git a/psql/debian/source/format b/psql/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/psql/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/psql/debian/source/local-options b/psql/debian/source/local-options
new file mode 100644
index 0000000..9cdfca9
--- /dev/null
+++ b/psql/debian/source/local-options
@@ -0,0 +1,2 @@
+unapply-patches
+abort-on-upstream-changes
diff --git a/psql/debian/watch b/psql/debian/watch
new file mode 100644
index 0000000..82c0d1a
--- /dev/null
+++ b/psql/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/pure-data/template-(.*)\.tar\.gz