From 72af18a8d6e59e5105a30d4c9a7a5fc6428b4173 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Du=C5=A1an=20Poizl?= Date: Tue, 7 Feb 2023 10:15:20 +0100 Subject: [PATCH] Debian package files --- debian/changelog | 5 ++++ debian/compat | 1 + debian/control | 26 +++++++++++++++++++ debian/copyright | 52 ++++++++++++++++++++++++++++++++++++++ debian/libxisf-dev.install | 1 + debian/libxisf.install | 1 + debian/libxisf.triggers | 1 + debian/rules | 10 ++++++++ debian/source/format | 1 + 9 files changed, 98 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/libxisf-dev.install create mode 100644 debian/libxisf.install create mode 100644 debian/libxisf.triggers create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..f66b053 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libxisf (0.1.0-ubuntu1) focal; urgency=low + + * Initial release. + + -- Dušan Poizl Tue, 07 Feb 2023 10:47:08 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..7809b78 --- /dev/null +++ b/debian/control @@ -0,0 +1,26 @@ +Source: libxisf +Priority: optional +Maintainer: Dušan Poizl +Build-Depends: debhelper (>= 9), + cdbs, + cmake, + qtbase5-dev +Standards-Version: 4.5.0 +Section: libs +Homepage: https://gitea.nouspiro.space/nou/libXISF +Vcs-Git: https://gitea.nouspiro.space/nou/libXISF.git + +Package: libxisf-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: libxisf (= ${binary:Version}), ${misc:Depends} +Description: Library to load and save XISF images + Native format of PixInsight astroprocessing suite + +Package: libxisf +Architecture: any +Multi-Arch: same +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Library to load and save XISF images + Native format of PixInsight astroprocessing suite diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..6c2b7f1 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,52 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: libxisf +Source: https://gitea.nouspiro.space/nou/libXISF + +Files: * debian/* +Copyright: (c) 2023 +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 . + . + On Debian systems, the complete texts of the GNU General Public Licenses + version 2 and 3 can be found in '/usr/share/common-licenses/GPL-2' and + '/usr/share/common-licenses/GPL-3'. + +Files: lz4/* +Copyright: (c) 2011-2020, Yann Collet +License: BSD-2-clause + LZ4 Library + Copyright (c) 2011-2020, Yann Collet + All rights reserved. + . + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + . + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + . + * 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 COPYRIGHT HOLDERS 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 COPYRIGHT HOLDER 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/libxisf-dev.install b/debian/libxisf-dev.install new file mode 100644 index 0000000..e43b95c --- /dev/null +++ b/debian/libxisf-dev.install @@ -0,0 +1 @@ +usr/include diff --git a/debian/libxisf.install b/debian/libxisf.install new file mode 100644 index 0000000..6845771 --- /dev/null +++ b/debian/libxisf.install @@ -0,0 +1 @@ +usr/lib diff --git a/debian/libxisf.triggers b/debian/libxisf.triggers new file mode 100644 index 0000000..dd86603 --- /dev/null +++ b/debian/libxisf.triggers @@ -0,0 +1 @@ +activate-noawait ldconfig diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..db10df1 --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/cmake.mk + +export CFLAGS := $(shell dpkg-buildflags --get CFLAGS) +export CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) +export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) 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)