# HG changeset patch # User Hasan Yavuz ÖZDERYA # Date 2015-05-09 00:02:38 # Node ID 776909a4cffcbf1097fb87c3b03ebe0b7e717aa1 # Parent 6a726832c3333c0b78cce648486b16ac0eae9332 added debian copyright file diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,6 +98,11 @@ install(FILES ${CMAKE_SOURCE_DIR}/misc/serialplot.png DESTINATION share/serialplot) +# install copyright file (in debian format) +install(FILES + ${CMAKE_SOURCE_DIR}/debian/copyright + DESTINATION share/doc/serialplot/) + install(CODE " execute_process(COMMAND ${XDG-DESKTOP-MENU} install --novendor ${CMAKE_INSTALL_PREFIX}/share/serialplot/serialplot.desktop) execute_process(COMMAND ${XDG-ICON-RESOURCE} install --novendor --size 256 ${CMAKE_INSTALL_PREFIX}/share/serialplot/serialplot.png) diff --git a/debian/copyright b/debian/copyright new file mode 100644 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,26 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: serialplot +Source: https://bitbucket.org/hyOzd/serialplot + +Files: * +Copyright: Copyright © 2015 Hasan Yavuz Özderya +License: GPL-3+ + This program 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 program 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 package; if not, see + . + . + On Debian systems, the full text of the GNU General Public + License version 3 can be found in the file + `/usr/share/common-licenses/GPL-3'. \ No newline at end of file