From 631900d55f260bb0fa899fc8b393d9a2af3a3fd8 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Mon, 2 Dec 2024 12:58:37 +0100 Subject: Use dynamic version in hopefully all files of fehqlibs-deb and ucspi-tcp6-deb A known outlier is the changelog of ucspi-tcp6. --- fehqlibs-deb/debian/contrib/qlibs.pc | 9 --------- fehqlibs-deb/debian/contrib/qlibs.pc.in | 9 +++++++++ fehqlibs-deb/debian/rules | 2 ++ fehqlibs-deb/debian/source/format | 1 + fehqlibs-deb/debian/upstream/metadata | 9 +++++++++ 5 files changed, 21 insertions(+), 9 deletions(-) delete mode 100644 fehqlibs-deb/debian/contrib/qlibs.pc create mode 100644 fehqlibs-deb/debian/contrib/qlibs.pc.in create mode 100644 fehqlibs-deb/debian/source/format create mode 100644 fehqlibs-deb/debian/upstream/metadata (limited to 'fehqlibs-deb/debian') diff --git a/fehqlibs-deb/debian/contrib/qlibs.pc b/fehqlibs-deb/debian/contrib/qlibs.pc deleted file mode 100644 index 9fd063a..0000000 --- a/fehqlibs-deb/debian/contrib/qlibs.pc +++ /dev/null @@ -1,9 +0,0 @@ -prefix=/usr -includedir=${prefix}/include - -Name: qlibs -Description: qlibs is the foundation of `feh' software -URL: https://www.fehcom.de/ipnet/qlibs.html -Version: 25a -Cflags: -I${includedir}/qlibs -Libs: -lqlibs -ldnsresolv diff --git a/fehqlibs-deb/debian/contrib/qlibs.pc.in b/fehqlibs-deb/debian/contrib/qlibs.pc.in new file mode 100644 index 0000000..1f157a2 --- /dev/null +++ b/fehqlibs-deb/debian/contrib/qlibs.pc.in @@ -0,0 +1,9 @@ +prefix=/usr +includedir=${prefix}/include + +Name: qlibs +Description: qlibs is the foundation of `feh' software +URL: https://www.fehcom.de/ipnet/qlibs.html +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 -- cgit v1.2.3