Skip to content

Commit

Permalink
Add Debian configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgaillard committed Dec 17, 2023
1 parent 21b734b commit abec5c0
Show file tree
Hide file tree
Showing 16 changed files with 118 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/mclip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ jobs:
- name: Make
run: make

- name: Debian package
run: |
debmake --dist --invoke debuild
- name: Upload
uses: actions/upload-artifact@v3
with:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,7 @@ Makefile
# Other
########################################################################################################################

# make dist and make distdir
mclip-*
mclip_*
src/mclip
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
SUBDIRS = src
dist_doc_DATA = README.md
man_MANS = man/$(PACKAGE).1
EXTRA_DIST = $(man_MANS)
8 changes: 8 additions & 0 deletions debian/README.Debian
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
mclip for Debian

Please edit this to provide information specific to
this mclip Debian package.

(Automatically generated by debmake Version 4.4.0)

-- Baptiste Gaillard <[email protected]> Sat, 16 Dec 2023 09:00:37 +0100
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
mclip (1.0.0-1) unstable; urgency=low

* Initial release.

-- Baptiste Gaillard <[email protected]> Sat, 16 Dec 2023 09:00:37 +0100
18 changes: 18 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Source: mclip
Section: utils
Priority: optional
Maintainer: Baptiste Gaillard <[email protected]>
Build-Depends: debhelper-compat (= 13), dh-autoreconf
Standards-Version: 4.5.1
Homepage: https://github.com/bgaillard/mclip
Rules-Requires-Root: no
Vcs-Git: https://github.com/bgaillard/mclip.git
#Vcs-Browser: https://salsa.debian.org/debian/mclip

Package: bin
Architecture: any
Multi-Arch: foreign
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: auto-generated package by debmake
This Debian binary package was auto-generated by the
debmake(1) command provided by the debmake package.
11 changes: 11 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: mclip
Upstream-Contact: Baptiste Gaillard <[email protected]>
Source: https://github.com/bgaillard/mclip
#
# Please double check copyright with the licensecheck(1) command.

Files:
*
Copyright: 2023 Baptiste Gaillard
License: GPL-3+
1 change: 1 addition & 0 deletions debian/patches/series
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# You must remove unused comment lines for the released package.
12 changes: 12 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/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,--as-needed

%:
dh $@ --with autoreconf

#override_dh_install:
# dh_install --list-missing -X.la -X.pyc -X.pyo
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (quilt)
4 changes: 4 additions & 0 deletions debian/source/local-options
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#
# ### gbp-buildpackage(1) user may like this. ###
#abort-on-upstream-changes
#unapply-patches
4 changes: 4 additions & 0 deletions debian/source/options
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#
# ### dgit-maint-merge(7) workflow user need this ###
# single-debian-patch
# auto-commit
22 changes: 22 additions & 0 deletions debian/source/patch-header
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The automatically generated patch puts this free form text on top of it.

If you are using gbp-buildpackage(1), you probably don't need this file.

If you are using dgit-maint-merge(7), please consider text as follows.

The Debian packaging of foo is maintained in git, using the merging workflow
described in dgit-maint-merge(7). There isn't a patch queue that can be
represented as a quilt series.

A detailed breakdown of the changes is available from their canonical
representation - git commits in the packaging repository. For example, to see
the changes made by the Debian maintainer in the first upload of upstream
version 1.2.3, you could use:

% git clone https://git.dgit.debian.org/foo
% cd foo
% git log --oneline 1.2.3..debian/1.2.3-1 -- . ':!debian'

(If you have dgit, use `dgit clone foo`, rather than plain `git clone`.)

A single combined diff, containing all the changes, follows.
6 changes: 6 additions & 0 deletions debian/tests/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#
# DEP-8: autopkgtest - automatic as-installed package testing
# Please check * https://dep-team.pages.debian.net/deps/dep8/
# * /usr/share/doc/autopkgtest
#Tests: testcode.sh
#Restrictions: allow-stderr, breaks-testbed, needs-internet, needs-root
16 changes: 16 additions & 0 deletions debian/upstream/metadata
Original file line number Diff line number Diff line change
@@ -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:
2 changes: 2 additions & 0 deletions debian/watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# You must remove unused comment lines for the released package.
version=3

0 comments on commit abec5c0

Please sign in to comment.