aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control24
-rw-r--r--debian/copyright45
-rw-r--r--debian/files1
-rw-r--r--debian/libqmatrixclient-dev.dirs2
-rw-r--r--debian/libqmatrixclient-dev.docs1
-rw-r--r--debian/libqmatrixclient-dev.install4
-rw-r--r--debian/libqmatrixclient0.4.dirs1
-rw-r--r--debian/libqmatrixclient0.4.install1
-rwxr-xr-xdebian/rules8
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch11
13 files changed, 105 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 00000000..c60698c6
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libqmatrixclient (0.4.1-1) unstable; urgency=medium
+
+ * Initial release of splitting the library out from quaternion.
+
+ -- Hubert Chathi <uhoreg@debian.org> Mon, 24 Dec 2018 15:11:03 -0500
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 00000000..ec635144
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 00000000..0e1851c5
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: libqmatrixclient
+Priority: optional
+Maintainer: Hubert Chathi <uhoreg@debian.org>
+Build-Depends: debhelper (>= 9), cmake, qtbase5-dev
+Standards-Version: 3.9.8
+Section: libs
+Homepage: https://github.com/QMatrixClient/libqmatrixclient
+Vcs-Git: https://salsa.debian.org/matrix-team/libqmatrixclient.git
+Vcs-Browser: https://salsa.debian.org/matrix-team/libqmatrixclient
+
+Package: libqmatrixclient-dev
+Section: libdevel
+Architecture: any
+Depends: libqmatrixclient0.4 (= ${binary:Version}), ${misc:Depends}
+Description: Qt5 library to write cross-platform clients for Matrix
+ libQMatrixClient is a Qt5-based library to make IM clients for the Matrix
+ protocol. It is the backbone of Quaternion, Spectral and some other projects.
+
+Package: libqmatrixclient0.4
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Qt5 library to write cross-platform clients for Matrix
+ libQMatrixClient is a Qt5-based library to make IM clients for the Matrix
+ protocol. It is the backbone of Quaternion, Spectral and some other projects.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 00000000..4c47f16c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,45 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libQMatrixClient
+Source: https://github.com/QMatrixClient/libqmatrixclient
+
+Files: *
+Copyright: 2015-2017 Felix Rohrbach
+ 2015-2018 Kitsune Ral
+ 2017 Elvis Angelaccio
+ 2017 Marius Gripsgard
+License: LGPL-2.1+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+ .
+ This library 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
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ .
+ On Debian systems, the complete text of the GNU Lesser General
+ Public License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1".
+
+Files: debian/*
+Copyright: 2018 Hubert Chathi <uhoreg@debian.org>
+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 program. If not, see <https://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/files b/debian/files
new file mode 100644
index 00000000..c16d1177
--- /dev/null
+++ b/debian/files
@@ -0,0 +1 @@
+libqmatrixclient_0.4.1-1_source.buildinfo libs optional
diff --git a/debian/libqmatrixclient-dev.dirs b/debian/libqmatrixclient-dev.dirs
new file mode 100644
index 00000000..da07fddd
--- /dev/null
+++ b/debian/libqmatrixclient-dev.dirs
@@ -0,0 +1,2 @@
+usr/include
+usr/lib
diff --git a/debian/libqmatrixclient-dev.docs b/debian/libqmatrixclient-dev.docs
new file mode 100644
index 00000000..1e107f52
--- /dev/null
+++ b/debian/libqmatrixclient-dev.docs
@@ -0,0 +1 @@
+examples
diff --git a/debian/libqmatrixclient-dev.install b/debian/libqmatrixclient-dev.install
new file mode 100644
index 00000000..9b9e44b6
--- /dev/null
+++ b/debian/libqmatrixclient-dev.install
@@ -0,0 +1,4 @@
+usr/include/*
+usr/lib/*/lib*.so
+usr/lib/*/pkgconfig/*
+usr/lib/*/cmake/*
diff --git a/debian/libqmatrixclient0.4.dirs b/debian/libqmatrixclient0.4.dirs
new file mode 100644
index 00000000..68457717
--- /dev/null
+++ b/debian/libqmatrixclient0.4.dirs
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/libqmatrixclient0.4.install b/debian/libqmatrixclient0.4.install
new file mode 100644
index 00000000..3ddde584
--- /dev/null
+++ b/debian/libqmatrixclient0.4.install
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 00000000..49bb6384
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+
+override_dh_auto_configure:
+ dh_auto_configure -- -DCMAKE_INSTALL_INCLUDEDIR=include/libqmatrixclient -DBUILD_SHARED_LIBS=1
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 00000000..163aaf8d
--- /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 00000000..415c3625
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,11 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 4 file
+version=4
+
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%<project>-$1.tar.gz%" \
+ https://github.com/QMatrixClient/libqmatrixclient/tags \
+ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate