diff options
| author | Christoph Berg <myon@debian.org> | 2025-09-15 23:04:23 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2025-09-15 23:04:23 +0200 |
| commit | 0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (patch) | |
| tree | d702795f99ac38e0cc17e25f0f7e50fa3e05baf9 /debian | |
| parent | 310d05acf2c9233f7e336ae7dd9ffb7b54ca4e62 (diff) | |
New upstream version 3.0.0~rc1+repackupstream/3.0.0_rc1+repack
Diffstat (limited to 'debian')
| -rwxr-xr-x | debian/CMakeLists.txt | 78 | ||||
| -rwxr-xr-x | debian/changelog.in | 12 | ||||
| -rwxr-xr-x | debian/copyright.in | 22 |
3 files changed, 56 insertions, 56 deletions
diff --git a/debian/CMakeLists.txt b/debian/CMakeLists.txt index 07faeb2c..9aafbc5b 100755 --- a/debian/CMakeLists.txt +++ b/debian/CMakeLists.txt @@ -1,39 +1,39 @@ -find_program (GZIP_EXECUTABLE NAMES gzip) - -string (TIMESTAMP ts "%w, %d [%m] %Y %H:%M:%S +0000" UTC) - -set (__days Sun Mon Tue Wed Thu Fri Sat) -string (SUBSTRING ${ts} 0 1 __index) -list (GET __days ${__index} __day) -string (REPLACE "${__index}," "${__day}," ts ${ts}) - -set (__months Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec) -string (SUBSTRING ${ts} 9 2 __month_index) -math (EXPR __index "${__month_index} - 1") -list (GET __months "${__index}" __month) -string (REPLACE "[${__month_index}]" "${__month}" ts ${ts}) - -set (deb_changelog changelog) -configure_file ( - "${CMAKE_CURRENT_SOURCE_DIR}/${deb_changelog}.in" - "${CMAKE_CURRENT_BINARY_DIR}/${deb_changelog}" - @ONLY) - -add_custom_target (debian - COMMAND ${GZIP_EXECUTABLE} -cf9 ${deb_changelog} > ${deb_changelog}.gz - DEPENDS ${deb_changelog}.in - WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} - COMMENT "Compressing Debian changelog" - ) - -configure_file ( - "${CMAKE_CURRENT_SOURCE_DIR}/copyright.in" - "${CMAKE_CURRENT_BINARY_DIR}/copyright" - @ONLY) - -install (FILES - ${CMAKE_CURRENT_BINARY_DIR}/${deb_changelog}.gz - ${CMAKE_CURRENT_BINARY_DIR}/copyright - DESTINATION ${CMAKE_INSTALL_DOCDIR} - #COMPONENT Debian - ) +find_program (GZIP_EXECUTABLE NAMES gzip)
+
+string (TIMESTAMP ts "%w, %d [%m] %Y %H:%M:%S +0000" UTC)
+
+set (__days Sun Mon Tue Wed Thu Fri Sat)
+string (SUBSTRING ${ts} 0 1 __index)
+list (GET __days ${__index} __day)
+string (REPLACE "${__index}," "${__day}," ts ${ts})
+
+set (__months Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec)
+string (SUBSTRING ${ts} 9 2 __month_index)
+math (EXPR __index "${__month_index} - 1")
+list (GET __months "${__index}" __month)
+string (REPLACE "[${__month_index}]" "${__month}" ts ${ts})
+
+set (deb_changelog changelog)
+configure_file (
+ "${CMAKE_CURRENT_SOURCE_DIR}/${deb_changelog}.in"
+ "${CMAKE_CURRENT_BINARY_DIR}/${deb_changelog}"
+ @ONLY)
+
+add_custom_target (debian
+ COMMAND ${GZIP_EXECUTABLE} -cf9 ${deb_changelog} > ${deb_changelog}.gz
+ DEPENDS ${deb_changelog}.in
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+ COMMENT "Compressing Debian changelog"
+ )
+
+configure_file (
+ "${CMAKE_CURRENT_SOURCE_DIR}/copyright.in"
+ "${CMAKE_CURRENT_BINARY_DIR}/copyright"
+ @ONLY)
+
+install (FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/${deb_changelog}.gz
+ ${CMAKE_CURRENT_BINARY_DIR}/copyright
+ DESTINATION ${CMAKE_INSTALL_DOCDIR}
+ #COMPONENT Debian
+ )
diff --git a/debian/changelog.in b/debian/changelog.in index c0016242..3d6b5efc 100755 --- a/debian/changelog.in +++ b/debian/changelog.in @@ -1,6 +1,6 @@ -@CMAKE_PROJECT_NAME@ (@wsjtx_VERSION@) experimental; urgency=low - - * wsjtx Debian maintainer and upstream author are identical. - Therefore see also normal changelog file for Debian changes. - - -- @PROJECT_CONTACT@ @ts@ +@CMAKE_PROJECT_NAME@ (@wsjtx_VERSION@) experimental; urgency=low
+
+ * wsjtx Debian maintainer and upstream author are identical.
+ Therefore see also normal changelog file for Debian changes.
+
+ -- @PROJECT_CONTACT@ @ts@
diff --git a/debian/copyright.in b/debian/copyright.in index b27020a4..9418c78f 100755 --- a/debian/copyright.in +++ b/debian/copyright.in @@ -1,11 +1,11 @@ -Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: @CMAKE_PROJECT_NAME@ -Upstream-Contact: @PROJECT_CONTACT@ -Source: @PROJECT_HOMEPAGE@ - -Files: * -Copyright: @PROJECT_COPYRIGHT@. -License: GPL-3+ - 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'. +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: @CMAKE_PROJECT_NAME@
+Upstream-Contact: @PROJECT_CONTACT@
+Source: @PROJECT_HOMEPAGE@
+
+Files: *
+Copyright: @PROJECT_COPYRIGHT@.
+License: GPL-3+
+ 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'.
|
