aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2025-01-09 20:51:41 -0500
committerB. Stack <bgstack15@gmail.com>2025-01-09 20:51:41 -0500
commit09c8f5ee8bf92e86ffb975d1c7e8079e120676c0 (patch)
treea93cb680270342b586467d6884c60567a81cdd19
parentset default show_gui to true (diff)
downloadgmm-09c8f5ee8bf92e86ffb975d1c7e8079e120676c0.tar.gz
gmm-09c8f5ee8bf92e86ffb975d1c7e8079e120676c0.tar.bz2
gmm-09c8f5ee8bf92e86ffb975d1c7e8079e120676c0.zip
add dpkg recipe
-rw-r--r--debian/README.Debian5
-rw-r--r--debian/_service28
-rw-r--r--debian/changelog5
-rw-r--r--debian/control21
-rw-r--r--debian/copyright33
-rw-r--r--debian/gmm+stackrpms.dsc16
-rw-r--r--debian/gmm.postinst11
-rw-r--r--debian/gmm.prerm9
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules15
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/metadata16
-rw-r--r--debian/watch3
13 files changed, 164 insertions, 0 deletions
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..db4d182
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,5 @@
+gmm for Devuan
+
+Initial package.
+
+ -- B. Stack <bgstack15@gmail.com> Thu, 09 Jan 2025 17:11:15 -0500
diff --git a/debian/_service b/debian/_service
new file mode 100644
index 0000000..336491f
--- /dev/null
+++ b/debian/_service
@@ -0,0 +1,28 @@
+<services>
+ <service name="tar_scm">
+ <param name="scm">git</param>
+ <param name="url">https://bgstack15.ddns.net/cgit/gmm</param>
+ <param name="subdir">debian</param>
+ <param name="filename">debian</param>
+ <param name="revision">master</param>
+ <param name="version">_none_</param>
+ </service>
+ <service name="recompress">
+ <param name="file">*.tar</param>
+ <param name="compression">xz</param>
+ </service>
+ <service name="tar_scm">
+ <param name="scm">git</param>
+ <param name="url">https://bgstack15.ddns.net/cgit/gmm</param>
+ <param name="revision">master</param>
+ <param name="version">_none_</param>
+ </service>
+ <service name="recompress">
+ <param name="file">*.tar</param>
+ <param name="compression">gz</param>
+ </service>
+ <service name="extract_file">
+ <param name="archive">*.tar.xz</param>
+ <param name="files">*/*.dsc</param>
+ </service>
+</services>
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..0d5d76d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+gmm (0.0.1-1+stackrpms) obs; urgency=low
+
+ * Initial release. Closes: packages-want#38
+
+ -- B. Stack <bgstack15@gmail.com> Thu, 09 Jan 2025 17:11:15 -0500
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..97d0684
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,21 @@
+Source: gmm
+Section: utils
+Priority: optional
+Maintainer: B. Stack <bgstack15@gmail.com>
+Build-Depends:
+ debhelper-compat (= 13),
+Standards-Version: 4.7.0
+Homepage: https://bgstack15.ddns.net/cgit/gmm
+Rules-Requires-Root: no
+Vcs-Git: https://bgstack15.ddns.net/cgit/gmm
+Vcs-Browser: https://bgstack15.ddns.net/cgit/gmm
+
+Package: gmm
+Architecture: all
+Multi-Arch: foreign
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+Description: graphical mount manager
+ Easily mount .iso files and unmount them. The gtk
+ program accepts drag-and-drop.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1f396f9
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: gmm
+Upstream-Contact: B. Stack <bgstack15@gmail.com>
+Source: https://bgstack15.ddns.net/cgit/gmm
+
+Files: .gitignore
+ .images/*
+ README.md
+ src/*
+ src/etc/sudoers.d/*
+ src/usr/bin/*
+ src/usr/libexec/gmm/*
+ src/usr/share/applications/*
+ src/usr/share/gmm/*
+ src/usr/share/man/man1/*
+ debian/*
+Copyright: B. Stack 2024
+License: GPL-3.0
+ 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 <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ Version 3 can be found in `/usr/share/common-licenses/GPL-3'.
diff --git a/debian/gmm+stackrpms.dsc b/debian/gmm+stackrpms.dsc
new file mode 100644
index 0000000..ed061e5
--- /dev/null
+++ b/debian/gmm+stackrpms.dsc
@@ -0,0 +1,16 @@
+Format: 3.0 (quilt)
+Source: gmm
+Binary: gmm
+Architecture: all
+Version: 0.0.1-1+stackrpms
+Maintainer: B. Stack <bgstack15@gmail.com>
+Homepage: https://bgstack15.ddns.net/cgit/gmm
+Standards-Version: 4.7.0
+Vcs-Browser: https://bgstack15.ddns.net/cgit/gmm
+Vcs-Git: https://bgstack15.ddns.net/cgit/gmm
+Build-Depends: debhelper-compat (= 13)
+Package-List:
+ gmm deb utils optional arch=all
+Files:
+ 00000000000000000000000000000000 1 gmm.orig.tar.gz
+ 00000000000000000000000000000000 1 gmm.debian.tar.xz
diff --git a/debian/gmm.postinst b/debian/gmm.postinst
new file mode 100644
index 0000000..335f2dd
--- /dev/null
+++ b/debian/gmm.postinst
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-remove" ] ; then
+ update-alternatives --install /usr/bin/gmm \
+ gmm /usr/bin/gmm-tk 40
+
+ update-alternatives --install /usr/bin/gmm \
+ gmm /usr/bin/gmm-gtk 50
+fi
+
+#DEBHELPER#
diff --git a/debian/gmm.prerm b/debian/gmm.prerm
new file mode 100644
index 0000000..54f4067
--- /dev/null
+++ b/debian/gmm.prerm
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+
+if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ] ; then
+ update-alternatives --remove gmm /usr/bin/gmm-gtk
+ update-alternatives --remove gmm /usr/bin/gmm-tk
+fi
+
+#DEBHELPER#
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4a97dfa
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+# You must remove unused comment lines for the released package.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5bd252a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+# You must remove unused comment lines for the released package.
+#export DH_VERBOSE = 1
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1
+export APPNAME=gmm
+
+%:
+ dh $@ --sourcedirectory=src
+
+override_dh_gencontrol:
+ printf "misc:Depends=" > debian/${APPNAME}.substvars
+ make -C src deplist DISTRO=devuan DEPTYPE=dep SEPARATOR=',' | grep -vE 'make\[[0-9]' >> debian/${APPNAME}.substvars
+ dh_gencontrol
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/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..dc2feb0
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,16 @@
+#
+# DEP-12: Per-package machine-readable metadata about Upstream
+# Please check * https://dep-team.pages.debian.net/deps/dep12/
+# * https://wiki.debian.org/UpstreamMetadata
+Reference:
+ Author: <please use full names and separate multiple author by the keyword "and">
+ Title:
+ Journal:
+ Year:
+ Volume:
+ Number:
+ Pages:
+ DOI:
+ PMID:
+ URL:
+ eprint:
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..6ebdc86
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+# You must remove unused comment lines for the released package.
+# Compulsory line, this is a version 4 file
+version=4
bgstack15