From 35a57c429b3e58d451bffdfcce5f7574e8793453 Mon Sep 17 00:00:00 2001 From: Andrey Vukolov Date: Wed, 24 Jul 2024 16:37:23 +0200 Subject: [PATCH] Prepared for Ubuntu PPA recognition --- README.md | 2 +- debian/changelog | 8 ++++++++ debian/control | 3 ++- debian/copyright | 8 +++++--- debian/lintian-overrides | 2 ++ debian/rules | 21 --------------------- debian/source/format | 2 +- debian/source/lintian-overrides | 3 +++ 8 files changed, 22 insertions(+), 27 deletions(-) create mode 100644 debian/lintian-overrides create mode 100644 debian/source/lintian-overrides diff --git a/README.md b/README.md index cc6f7ba..053b475 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ Debian packages for the program are now available in the [Releases section](http #### Building a Package Building your own Debian package requires `debhelper` script set installed on the system. Once it is done, the package can be built using just one command: ```sh -debuild -i -us -uc -b +debuild -i -us -uc ``` It will build the package and place the file into the uplevel directory. For further information, see [Debhelper documentation](https://man7.org/linux/man-pages/man7/debhelper.7.html). diff --git a/debian/changelog b/debian/changelog index 0aa8fe7..f0037fc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +git-ipfs-remote-bridge (0.4.4) UNRELEASED; urgency=low + + * Added source package build to debhelper scenarios + * Prepared for Ubuntu PPA package recognition + * Fixed documentation + + -- Andrey Vukolov Wed, 24 Jul 2024 16:31:48 +0200 + git-ipfs-remote-bridge (0.4.3) UNRELEASED; urgency=low * Removed type hints for backward compatibility with older Python 3 releases diff --git a/debian/control b/debian/control index aee2fb9..25969ca 100644 --- a/debian/control +++ b/debian/control @@ -1,6 +1,7 @@ Source: git-ipfs-remote-bridge Section: vcs Priority: optional +Standards-Version: 4.5.0 Build-Depends: debhelper-compat (= 13) Maintainer: Andrey Vukolov Uploaders: Fulvio Bille @@ -10,7 +11,7 @@ Rules-Requires-Root: no Package: git-ipfs-remote-bridge Architecture: all -Depends: python3, git, python3-requests, python3-urllib3, zlib1g, zlib1g-dev +Depends: python3, git, python3-requests, python3-urllib3, zlib1g, zlib1g-dev, ${shlibs:Depends}, ${misc:Depends} Enhances: git Recommends: git-lfs, git-remote-gcrypt, git-remote-hg Description: Git extension package for publishing repositories via IPFS diff --git a/debian/copyright b/debian/copyright index d55510b..3959573 100644 --- a/debian/copyright +++ b/debian/copyright @@ -11,7 +11,9 @@ Files: git-ipfs-remote-bridge-logo-512.png Copyright: 2023 Alexander Titov License: CC-BY-NC-ND -Files: DEBIAN/* -Copyright: 2023 Andrey Vukolov -License: GPL +License: LGPL + https://www.gnu.org/licenses/lgpl-3.0.html + +License: CC-BY-NC-ND + https://creativecommons.org/licenses/by-nc-nd/4.0/ diff --git a/debian/lintian-overrides b/debian/lintian-overrides new file mode 100644 index 0000000..b36d519 --- /dev/null +++ b/debian/lintian-overrides @@ -0,0 +1,2 @@ +git-ipfs-remote-bridge: no-manual-page + diff --git a/debian/rules b/debian/rules index 43a8bd8..483d681 100755 --- a/debian/rules +++ b/debian/rules @@ -1,27 +1,6 @@ #!/usr/bin/make -f -# See debhelper(7) (uncomment to enable) -# output every command that modifies files on the build system. -#export DH_VERBOSE = 1 - - -# see FEATURE AREAS in dpkg-buildflags(1) -#export DEB_BUILD_MAINT_OPTIONS = hardening=+all - -# see ENVIRONMENT in dpkg-buildflags(1) -# package maintainers to append CFLAGS -#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic -# package maintainers to append LDFLAGS -#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed - - %: dh $@ - -# dh_make generated override targets -# This is example for Cmake (See https://bugs.debian.org/641051 ) -#override_dh_auto_configure: -# dh_auto_configure -- \ -# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) override_dh_builddeb: dh_builddeb -- -Zgzip diff --git a/debian/source/format b/debian/source/format index 163aaf8..89ae9db 100644 --- a/debian/source/format +++ b/debian/source/format @@ -1 +1 @@ -3.0 (quilt) +3.0 (native) diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides new file mode 100644 index 0000000..37f52b1 --- /dev/null +++ b/debian/source/lintian-overrides @@ -0,0 +1,3 @@ +git-ipfs-remote-bridge: custom-compression-in-debian-rules +git-ipfs-remote-bridge: incomplete-creative-commons-license +