Skip to content

Commit 4cfec4e

Browse files
committed
Packaging: Add debian-style copyright file
1 parent 71492e7 commit 4cfec4e

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ install(FILES "README.md"
5656
RENAME README.txt
5757
DESTINATION "${CMAKE_INSTALL_DOCDIR}"
5858
)
59+
if(MAKE_BUNDLE)
60+
install(FILES "copyright"
61+
RENAME openorienteering-cupcalculator-${PROJECT_VERSION}.txt
62+
DESTINATION "${CMAKE_INSTALL_DOCDIR}/licensing"
63+
)
64+
endif()
5965

6066

6167
# Actual build

copyright

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: OpenOrienteering CupCalculator
3+
Upstream-Contact: https://github.com/OpenOrienteering/cupcalculator/issues
4+
Source: https://github.com/OpenOrienteering/cupcalculator/releases
5+
Comment: This package is provided and maintained by OpenOrienteering.
6+
This package is not part of the Debian distribution.
7+
8+
Files: *
9+
Copyright: 2011-2012 Thomas Schöps
10+
2018-2019 Kai Pastor
11+
License: GPL-3+
12+
This program is free software: you can redistribute it and/or modify
13+
it under the terms of the GNU General Public License as published by
14+
the Free Software Foundation, version 3 of the License, or
15+
(at your option) any later version.
16+
.
17+
This program is distributed in the hope that it will be useful,
18+
but WITHOUT ANY WARRANTY; without even the implied warranty of
19+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20+
GNU General Public License for more details.
21+
.
22+
On Debian systems, the complete text of the GNU General Public License
23+
version 3 can be found in "/usr/share/common-licenses/GPL-3".
24+
25+
Files: COPYING
26+
Copyright: 2007 Free Software Foundation, Inc.
27+
License: FSF-license-license
28+
Everyone is permitted to copy and distribute verbatim copies
29+
of this license document, but changing it is not allowed.

0 commit comments

Comments
 (0)