feat: add debian packaging

fuck this is complicated. Why'd you make it so insane, debian
maintainers?
Please fix this.

It's working now, but Makefile must be modified... I dont like that.
Let's find another way
This commit is contained in:
2024-08-18 20:22:06 +02:00
parent ccd07141f5
commit d02eb34285
13 changed files with 197 additions and 60 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
sci (1.0.0-1) UNRELEASED; urgency=medium
* Initial release.
-- Asger Gitz-Johansen <asger.gitz@hotmail.com> Sun, 18 Aug 2024 11:43:07 +0000

20
debian/control vendored Normal file
View File

@ -0,0 +1,20 @@
Source: sci
Section: utils
Priority: optional
Maintainer: Asger Gitz-Johansen <asger.gitz@hotmail.com>
Rules-Requires-Root: no
Build-Depends:
debhelper-compat (= 13),
uuid-dev,
uuid,
Standards-Version: 4.6.2
Homepage: https://git.gtz.dk/agj/sci
Package: sci
Architecture: any
Depends:
libuuid,
${shlibs:Depends},
${misc:Depends},
Description: simple continuous integration (ci) system
sci provides a triggering system where touching tmp files runs pipelines

20
debian/copyright vendored Normal file
View File

@ -0,0 +1,20 @@
Files:
debian/*
Copyright:
2024 Asger Gitz-Johansen <asger.gitz@hotmail.com>
License: GPL-3+
This package 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 package 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 <https://www.gnu.org/licenses/>
Comment:
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".

3
debian/rules vendored Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/make -f
%:
PREFIX=/usr dh $@

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

10
debian/upstream/metadata vendored Normal file
View File

@ -0,0 +1,10 @@
# Example file for upstream/metadata.
# See https://wiki.debian.org/UpstreamMetadata for more info/fields.
# Below an example based on a github project.
Bug-Database: https://git.gtz.dk/agj/sci/issues
Bug-Submit: https://git.gtz.dk/agj/sci/issues/new
# Changelog: https://git.gtz.dk/agj/sci/blob/master/CHANGES
# Documentation: https://git.gtz.dk/agj/sci/wiki
Repository-Browse: https://git.gtz.dk/agj/sci
Repository: https://git.gtz.dk/agj/sci.git

6
debian/watch vendored Normal file
View File

@ -0,0 +1,6 @@
# Compulsory line, this is a version 4 file.
version=4
# Direct Git.
opts="mode=git" http://gitea.gtz.dk/sci.git \
refs/tags/v([\d\.]+)