summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-02-25 14:03:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-02-25 14:03:41 +0000
commit4dec70a5cc99cabceccc9543c3fbfcdcdea7bb03 (patch)
tree24a70e3268478bafd946289266c22f6194657fc4
parentAdding upstream version 2.2.1. (diff)
downloadslack-4dec70a5cc99cabceccc9543c3fbfcdcdea7bb03.tar.xz
slack-4dec70a5cc99cabceccc9543c3fbfcdcdea7bb03.zip
Adding debian version 2.2.1-1.debian/2.2.1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog5
-rw-r--r--debian/clean1
-rw-r--r--debian/control30
-rw-r--r--debian/copyright36
-rw-r--r--debian/php-slack.docs1
-rw-r--r--debian/php-slack.install1
-rwxr-xr-xdebian/rules7
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
9 files changed, 85 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f14dc0f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+slack (2.2.1-1) unstable; urgency=medium
+
+ * Initial release (Closes: #1004918).
+
+ -- Katharina Drexel <katharina.drexel@bfh.ch> Thu, 03 Feb 2022 11:07:08 +0100
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..58dd3b7
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+src/autoload.php
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..25d2343
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,30 @@
+Source: slack
+Section: php
+Priority: optional
+Maintainer: Katharina Drexel <katharina.drexel@bfh.ch>
+Build-Depends:
+ debhelper-compat (= 13),
+ phpab,
+ pkg-php-tools,
+Rules-Requires-Root: no
+Standards-Version: 4.6.0
+Homepage: https://slack.com
+Vcs-Browser: https://github.com/sunflowerbofh/slack
+Vcs-Git: https://github.com/sunflowerbofh/slack.git
+
+Package: php-slack
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${phpcomposer:Debian-require},
+Suggests:
+ ${phpcomposer:Debian-suggest},
+Replaces:
+ ${phpcomposer:Debian-replace},
+Breaks:
+ ${phpcomposer:Debian-conflict},
+Provides:
+ ${phpcomposer:Debian-provide},
+Description: PHP package for Slack
+ Simple PHP package for sending messages to Slack with incoming webhooks,
+ focused on ease-of-use and elegant syntax.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e171b18
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: slack
+Upstream-Contact: Alexander Chibrikin <alek13.me@gmail.com>
+Source: https://github.com/php-slack/slack/releases
+
+Files: *
+Copyright: 2017-2022 Alexander Chibrikin <alek13.me@gmail.com>
+ 2014-2017 Regan McEntyre <regan.mcentyre@pocketsmith.com>
+License: BSD-2-clause
+
+Files: debian/*
+Copyright: 2022 Katharina Drexel <katharina.drexel@bfh.ch>
+License: BSD-2-clause
+
+License: BSD-2-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
diff --git a/debian/php-slack.docs b/debian/php-slack.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/php-slack.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/php-slack.install b/debian/php-slack.install
new file mode 100644
index 0000000..b04b1d1
--- /dev/null
+++ b/debian/php-slack.install
@@ -0,0 +1 @@
+src/* usr/share/php/Maknz/Slack/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..37020cd
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+%:
+ dh ${@} --with phpcomposer
+
+override_dh_auto_build:
+ phpab --output src/autoload.php src
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)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..219f523
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/php-slack-$1\.tar\.gz/ \
+https://github.com/php-slack/slack/tags .*/v?(\d\S+)\.tar\.gz