summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control13
-rw-r--r--debian/copyright36
-rw-r--r--debian/install4
-rw-r--r--debian/postinst12
-rw-r--r--debian/postrm17
-rwxr-xr-xdebian/rules6
-rw-r--r--debian/source/format1
9 files changed, 95 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ed1c610
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+rhautoimport (0.1-1) unstable; urgency=medium
+
+ * Initial release.
+
+ -- Christian Pointner <equinox@helsinki.at> Sun, 13 Mar 2016 08:03:05 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..bb5742c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,13 @@
+Source: rhautoimport
+Section: misc
+Priority: optional
+Maintainer: Christian Pointner <equinox@helsinki.at>
+Build-Depends: debhelper (>=9)
+Standards-Version: 3.9.5
+
+Package: rhautoimport
+Architecture: any
+Depends: ${misc:Depends}, adduser, libdate-calc-perl, libfile-slurp-perl, libjson-any-perl, librhrd-perl, liburi-perl, libwww-perl, libxml-feed-perl, perl, util-linux
+Description: Radio Helsinki automatic importer
+ This a set of scripts to automagically import shows from various
+ external sources.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..300fc4e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: rhautoimport
+Upstream-Contact: Christian Pointner <equinox@helsinki.at>
+Source: http://git.helsinki.at/?p=rhautoimport.git;a=summary
+
+Files: *
+Copyright: 2009-2016, Christian Pointner <equinox@helsinki.at>
+License: GPL-3+
+ rhautoimport 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 3 of the License, or
+ any later version.
+ .
+ rhautoimport 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 rhautoimport. If not, see <http://www.gnu.org/licenses/>.
+
+Files: debian/*
+Copyright: 2016, Christian Pointner <equinox@helsinki.at>
+License: GPL-3+
+ This program 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 3 of the License, or
+ (at your option) any later version.
+ .
+ This program 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 program. If not, see '/usr/share/common-licenses/GPL-3'.
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..782c545
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,4 @@
+usr/bin/rhautoimport
+usr/bin/rhautoimport-*
+usr/share/rhautoimport/
+etc/rhautoimport/
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..be76cc2
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,12 @@
+#!/bin/sh
+# postinst script for rhautoimport
+
+set -e
+
+if [ "$1" = "configure" ]; then
+ adduser --quiet --system --group --home /var/lib/autoimport autoimport
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/postrm b/debian/postrm
new file mode 100644
index 0000000..bff0148
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,17 @@
+#!/bin/sh
+# postrm script for rhautoimport
+
+set -e
+
+if [ "$1" = "purge" ] ; then
+ if [ -x "$(command -v deluser)" -a -x "$(command -v delgroup)" ]; then
+ deluser --quiet --system autoimport || true
+ delgroup --quiet --system autoimport || true
+ else
+ echo "Not removing autoimport user and group: adduser package not found." >&2
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..3be5f85
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+%:
+ dh $@
+
+override_dh_auto_configure:
+ dh_auto_configure -- --ebuild-compat
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)