From 594448d4dd3af683a6c74ac82b0983a698e6046e Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Fri, 12 Dec 2025 19:00:55 +0100 Subject: [PATCH] fix copy copyright to package --- src/CMakeLists.txt | 5 +++-- src/copyright | 3 --- src/debian/changelog | 8 ++++++++ 3 files changed, 11 insertions(+), 5 deletions(-) delete mode 100644 src/copyright create mode 100644 src/debian/changelog diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b05d7f7..e4472f3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -148,8 +148,9 @@ install(TARGETS sane-kds_s2000w_net sane-kds_s2000w_net-static DESTINATION ${CMAKE_LIBRARY_PATH}/sane) install(FILES kds_s2000w_net.conf DESTINATION ${CONFIG_INSTALL_PATH}) -file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/debian/copyright copyright) -install(FILES copyright +file(COPY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/debian/copyright + ${CMAKE_CURRENT_BINARY_DIR}/copyright) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/copyright DESTINATION usr/share/doc/${PROJECT_NAME}) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/changelog.Debian.gz DESTINATION usr/share/doc/${PROJECT_NAME}) diff --git a/src/copyright b/src/copyright deleted file mode 100644 index c02e1d2..0000000 --- a/src/copyright +++ /dev/null @@ -1,3 +0,0 @@ -Files: * -Copyright: 2024-2025 Bastian Dehn -License: MIT \ No newline at end of file diff --git a/src/debian/changelog b/src/debian/changelog new file mode 100644 index 0000000..1ece2fa --- /dev/null +++ b/src/debian/changelog @@ -0,0 +1,8 @@ +sane-kds-s2000w-net (1.1.23) trixie; urgency=low + + [ Deb Package Information ] + * add copyright, changelog + * add description summary with normal description + * fix post scripts, conffiles + + -- Bastian Dehn Fri, 12 Dec 2025 18:18:00 +0200 \ No newline at end of file -- 2.47.3