From 240fb90c779cd1c5826b305003a2fe39a5c8cd0c Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 16 Sep 2012 18:11:51 +0000 Subject: first stab at a working debian package svn path=/trunk/externals/postlude/; revision=16245 --- psql/debian/changelog | 5 +++++ psql/debian/compat | 1 + psql/debian/control | 28 ++++++++++++++++++++++++++++ psql/debian/copyright | 23 +++++++++++++++++++++++ psql/debian/gbp.conf | 7 +++++++ psql/debian/links | 3 +++ psql/debian/rules | 17 +++++++++++++++++ psql/debian/source/format | 1 + psql/debian/source/local-options | 2 ++ psql/debian/watch | 2 ++ 10 files changed, 89 insertions(+) create mode 100644 psql/debian/changelog create mode 100644 psql/debian/compat create mode 100644 psql/debian/control create mode 100644 psql/debian/copyright create mode 100644 psql/debian/gbp.conf create mode 100644 psql/debian/links create mode 100755 psql/debian/rules create mode 100644 psql/debian/source/format create mode 100644 psql/debian/source/local-options create mode 100644 psql/debian/watch (limited to 'psql') 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) + + -- Hans-Christoph Steiner 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 +DM-Upload-Allowed: yes +Uploaders: Hans-Christoph Steiner +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 -- cgit v1.2.1