diff --git a/.reuse/dep5 b/.reuse/dep5 deleted file mode 100644 index fcfe7979..00000000 --- a/.reuse/dep5 +++ /dev/null @@ -1,18 +0,0 @@ -Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: tdsharp -Upstream-Contact: Friedrich von Never -Source: https://github.com/egramtel/tdsharp - -Files: .idea/**/* -Copyright: 2024 tdsharp contributors -License: MIT - -Files: TdLib.Api/Functions/*.cs -Copyright: 2024 tdsharp contributors - 2024 TDLib contributors -License: MIT AND BSL-1.0 - -Files: TdLib.Api/Objects/*.cs -Copyright: 2024 tdsharp contributors - 2024 TDLib contributors -License: MIT AND BSL-1.0 diff --git a/README.md b/README.md index db216388..74244647 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ All the project code is licensed under [the MIT license][docs.license]. The code generated from the upstream TDLib has the same license as TDLib, which is [the Boost Software License - Version 1.0][docs.license.bsl]. -The license indication in the project's sources is compliant with the [REUSE specification v3.0][reuse.spec]. +The license indication in the project's sources is compliant with the [REUSE specification v3.3][reuse.spec]. [discussions]: https://github.com/egramtel/tdsharp/discussions [docs.changelog]: ./CHANGELOG.md @@ -109,5 +109,5 @@ The license indication in the project's sources is compliant with the [REUSE spe [docs.license]: ./LICENSE [docs.maintainership]: ./MAINTAINERSHIP.md [issues]: https://github.com/egramtel/tdsharp/issues -[reuse.spec]: https://reuse.software/spec-3.0/ +[reuse.spec]: https://reuse.software/spec-3.3/ [tdlib-native.docs]: https://github.com/ForNeVeR/tdlib.native diff --git a/REUSE.toml b/REUSE.toml new file mode 100644 index 00000000..33a8751f --- /dev/null +++ b/REUSE.toml @@ -0,0 +1,28 @@ +version = 1 +SPDX-PackageName = "tdsharp" +SPDX-PackageSupplier = "tdsharp contributors " +SPDX-PackageDownloadLocation = "https://github.com/egramtel/tdsharp" + +[[annotations]] +path = ".idea/**/*" +precedence = "override" +SPDX-FileCopyrightText = "2024 tdsharp contributors " +SPDX-License-Identifier = "MIT" + +[[annotations]] +path = "TdLib.Api/Functions/*.cs" +precedence = "override" +SPDX-FileCopyrightText = [ + "2025 tdsharp contributors ", + "2025 TDLib contributors " +] +SPDX-License-Identifier = "MIT AND BSL-1.0" + +[[annotations]] +path = "TdLib.Api/Objects/*.cs" +precedence = "override" +SPDX-FileCopyrightText = [ + "2025 tdsharp contributors ", + "2025 TDLib contributors " +] +SPDX-License-Identifier = "MIT AND BSL-1.0" diff --git a/TdLib.sln b/TdLib.sln index 81022f93..55db16ac 100644 --- a/TdLib.sln +++ b/TdLib.sln @@ -25,6 +25,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution LICENSE = LICENSE CONTRIBUTING.md = CONTRIBUTING.md TdLib.sln.license = TdLib.sln.license + REUSE.toml = REUSE.toml EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{178D86BC-A6CA-4A4D-AE1A-B9DC926D77CB}" @@ -46,11 +47,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Scripts", "Scripts", "{08FD EndProject Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "TdLib.Samples.GetChats.FSharp", "Samples\TdLib.Samples.GetChats.FSharp\TdLib.Samples.GetChats.FSharp.fsproj", "{B968D706-7538-4D67-B167-461B10BFB4C0}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".reuse", ".reuse", "{192616C6-D17F-400D-93CA-C86C5743A96F}" - ProjectSection(SolutionItems) = preProject - .reuse\dep5 = .reuse\dep5 - EndProjectSection -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "LICENSES", "LICENSES", "{5399309F-760D-4FE6-B158-706A37F3B04B}" ProjectSection(SolutionItems) = preProject LICENSES\BSL-1.0.txt = LICENSES\BSL-1.0.txt