summaryrefslogtreecommitdiff
path: root/fehqlibs-deb/debian
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2024-12-02 12:58:37 +0100
committerJannis M. Hoffmann <jannis@fehcom.de>2024-12-02 12:58:37 +0100
commit631900d55f260bb0fa899fc8b393d9a2af3a3fd8 (patch)
tree036f0e1c8db2098991323c79a328a796bdb125a1 /fehqlibs-deb/debian
parenta7346eefc82e5022b7474f18d4ef1815a9d8a431 (diff)
Use dynamic version in hopefully all files of fehqlibs-deb and ucspi-tcp6-deb
A known outlier is the changelog of ucspi-tcp6.
Diffstat (limited to 'fehqlibs-deb/debian')
-rw-r--r--fehqlibs-deb/debian/contrib/qlibs.pc.in (renamed from fehqlibs-deb/debian/contrib/qlibs.pc)2
-rwxr-xr-xfehqlibs-deb/debian/rules2
-rw-r--r--fehqlibs-deb/debian/source/format1
-rw-r--r--fehqlibs-deb/debian/upstream/metadata9
4 files changed, 13 insertions, 1 deletions
diff --git a/fehqlibs-deb/debian/contrib/qlibs.pc b/fehqlibs-deb/debian/contrib/qlibs.pc.in
index 9fd063a..1f157a2 100644
--- a/fehqlibs-deb/debian/contrib/qlibs.pc
+++ b/fehqlibs-deb/debian/contrib/qlibs.pc.in
@@ -4,6 +4,6 @@ includedir=${prefix}/include
Name: qlibs
Description: qlibs is the foundation of `feh' software
URL: https://www.fehcom.de/ipnet/qlibs.html
-Version: 25a
+Version: @VERSION@
Cflags: -I${includedir}/qlibs
Libs: -lqlibs -ldnsresolv
diff --git a/fehqlibs-deb/debian/rules b/fehqlibs-deb/debian/rules
index de332cf..5d5dd1d 100755
--- a/fehqlibs-deb/debian/rules
+++ b/fehqlibs-deb/debian/rules
@@ -11,11 +11,13 @@ get-orig-source:
override_dh_auto_clean:
-tar -xf ../fehqlibs_$(UPSTREAM_VERSION).orig.tar.gz --strip-components=1
+ rm -f debian/contrib/qlibs.pc
$(MAKE) -C src clean
sed -i '31,$$d' conf-build
override_dh_auto_configure:
echo CFLAGS=\"-Iinclude $(CFLAGS)\" >>conf-build
+ sed "s/@VERSION@/$(UPSTREAM_VERSION)/" debian/contrib/qlibs.pc.in >debian/contrib/qlibs.pc
$(MAKE) -C src check
override_dh_auto_build:
diff --git a/fehqlibs-deb/debian/source/format b/fehqlibs-deb/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/fehqlibs-deb/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/fehqlibs-deb/debian/upstream/metadata b/fehqlibs-deb/debian/upstream/metadata
new file mode 100644
index 0000000..0cd5f18
--- /dev/null
+++ b/fehqlibs-deb/debian/upstream/metadata
@@ -0,0 +1,9 @@
+#
+# 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: Erwin Hoffmann
+ Title: fehQlibs
+ Year: 2024
+ URL: https://www.fehcom.de/ipnet/qlibs.html