Added deb packaging scripts

This commit is contained in:
Bartek Kryza
2022-06-10 19:31:11 +02:00
parent 31398b7bc3
commit bef9e9b87b
8 changed files with 126 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
clang-uml ({{VERSION}}-0{{OS}}{{REBUILD}}~{{DISTRIBUTION}}) {{DISTRIBUTION}}; urgency=low
* Initial release
-- Bartek Kryza <bkryza@gmail.com> {{DATETIME}}

1
packaging/debian/compat Normal file
View File

@@ -0,0 +1 @@
10

19
packaging/debian/control Normal file
View File

@@ -0,0 +1,19 @@
Source: clang-uml
Maintainer: Bartek Kryza <bkryza@gmail.com>
Section: devel
Priority: optional
Build-Depends: debhelper, make, gcc, g++, cmake, libyaml-cpp-dev, clang, libclang-dev, libclang-cpp-dev
Standards-Version: 4.3.0
Vcs-Browser: https://github.com/bkryza/clang-uml
Vcs-Git: https://github.com/bkryza/clang-uml.git
Homepage: https://github.com/bkryza/clang-uml
Package: clang-uml
Architecture: any
#Multi-Arch: same
Section: libs
Depends: ${misc:Depends}, ${shlibs:Depends}
Pre-Depends: ${misc:Pre-Depends}
Description: Automatic C++ UML diagram generator based on Clang.
.
This package provides the clang-uml binary.

View File

@@ -0,0 +1,16 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: clang-uml
Source: https://github.com/bkryza/clang-uml
Files: *
Copyright: 2021-2022 Bartek Kryza <bkryza@gmail.com>
License: apache
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

12
packaging/debian/rules Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/make -f
export DH_VERBOSE=1
export CLANGUML_GIT_TOPLEVEL_DIR=$(CURDIR)
override_dh_auto_configure:
dh_auto_configure --buildsystem=cmake -- -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr
%:
dh $@

View File

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

3
packaging/debian/watch Normal file
View File

@@ -0,0 +1,3 @@
version=4
https://github.com/bkryza/clang-uml/releases .*/[relasymcp.-]*(\d\S*)\.tar\.gz