summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2023-02-11 22:01:13 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2023-02-11 22:30:54 +0100
commit2bce75f1faab990e49190870cbc6d1a2c2987939 (patch)
tree621bfeb9af7c08c7eae09323fc7bb7c576a8da52 /debian
parentd63af637c42833b0f255a2e60bc609fd72d53f11 (diff)
Add debian packagingHEADmain
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rw-r--r--debian/control33
-rw-r--r--debian/copyright32
-rw-r--r--debian/libsdl-digit-dev.install3
-rw-r--r--debian/libsdl-digit0.install1
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/source/format1
7 files changed, 79 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5f3c391
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libsdl-digit (0.1) lunar; urgency=medium
+
+ * Initial release.
+
+ -- Olivier Gayot <olivier.gayot@sigexec.com> Sat, 11 Feb 2023 22:00:19 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..4e2d406
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: libsdl-digit
+Section: libs
+Priority: optional
+Maintainer: Olivier Gayot <olivier.gayot@sigexec.com>
+Build-Depends:
+ debhelper-compat (= 13),
+ libsdl1.2-dev,
+ meson,
+ pkg-config,
+Standards-Version: 4.5.1
+
+Package: libsdl-digit0
+Architecture: any
+Pre-Depends: ${misc:Pre-Depends}
+Multi-Arch: same
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+ libsdl1.2debian,
+Description: Draw digits with SDL - shared library
+ This package includes the shared library.
+
+Package: libsdl-digit-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends:
+ libsdl-digit0 (= ${binary:Version}),
+ libsdl1.2-dev,
+ ${shlibs:Depends},
+ ${misc:Depends},
+Description: Draw digits with SDL - development files
+ This package includes the development headers.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..af9e17f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: cameltris
+Upstream-Contact: Olivier Gayot <olivier.gayot@sigexec.com>
+Source: https://git.sigexec.com/cgit.cgi/cameltris.git
+
+Files: *
+Copyright: Copyright (c) 2023 Olivier Gayot
+License: BSD-3-clause
+
+License: BSD-3-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 copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ 3. The name of the author may not be used to endorse or promote products
+ derived from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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/libsdl-digit-dev.install b/debian/libsdl-digit-dev.install
new file mode 100644
index 0000000..044800c
--- /dev/null
+++ b/debian/libsdl-digit-dev.install
@@ -0,0 +1,3 @@
+usr/include
+usr/lib/*/libsdl-digit.so
+usr/lib/*/pkgconfig
diff --git a/debian/libsdl-digit0.install b/debian/libsdl-digit0.install
new file mode 100644
index 0000000..212a76f
--- /dev/null
+++ b/debian/libsdl-digit0.install
@@ -0,0 +1 @@
+usr/lib/*/libsdl-digit.so.0*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2d33f6a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)