{
  "actions": [
    {
      "command": [
        "sh",
        "./alire-setup.sh"
      ],
      "type": "post-fetch"
    }
  ],
  "authors": [
    "ciceron"
  ],
  "depends-on": [
    {
      "ada_toml": "~0.5.0",
      "ansiada": "^1.0.0",
      "case(os)": {
        "linux": {
          "magicada": "^1"
        }
      },
      "intl": "^1.0.1",
      "printer_toolkit": "~0.2.0",
      "sciada": "~0.4.0",
      "spdx": "~0.2.0",
      "utilada": "^2.8.0",
      "utilada_xml": "^2.8.0"
    }
  ],
  "description": "SPDX license detection and management tool",
  "executables": [
    "spdx-tool"
  ],
  "gpr-set-externals": {
    "case(os)": {
      "freebsd": {
        "USE_MAGICADA": "no"
      },
      "linux": {
        "USE_MAGICADA": "yes"
      },
      "macos": {
        "USE_MAGICADA": "no"
      },
      "windows": {
        "USE_MAGICADA": "no"
      }
    }
  },
  "licenses": "Apache-2.0",
  "long-description": "spdx-tool scans the source files to identify licenses and allows to update them in order to use the\nSPDX license format.  It can be used to:\n\n* identify the license used in source files of a project,\n* produce a JSON/XML report for the licenses found with the list of files,\n* replace a license header by the [SPDX license](https://spdx.org/licenses/) tag equivalent.\n\nIdentify licenses used in a project:\n\n```\nspdx-tool\n```\n\nIdentify files matching a given license:\n\n```\nspdx-tool --only-licenses=Apache-2.0 -f\n```\n\nCheck the license header before replacing it:\n\n```\nspdx-tool --only-licenses=Apache-2.0 --print-license --line-number src\n```\n\nReplace the license header by the `SPDX-License-Identifier` header:\n\n```\nspdx-tool --only-licenses=Apache-2.0 --update=spdx src\n```\n\nBuild an XML or JSON report of files with their licenses:\n\n```\nspdx-tool --output-xml=report.xml\n```\n\n## Documentation\n\n* Man page: [spdx-tool (1)](https://gitlab.com/stcarrez/spdx-tool/-/blob/main/docs/spdx-tool.md?ref_type=heads)\n\n",
  "maintainers": [
    "ciceron <Stephane.Carrez@gmail.com>"
  ],
  "maintainers-logins": [
    "stcarrez"
  ],
  "name": "spdx_tool",
  "origin": {
    "commit": "a2c70523a2c712053ef6f4780b1dc0e875782058",
    "url": "git+https://gitlab.com/stcarrez/spdx-tool.git"
  },
  "project-files": [
    "spdx_tool.gpr"
  ],
  "tags": [
    "tools",
    "spdx",
    "license"
  ],
  "version": "1.0.0",
  "website": "https://github.com/stcarrez/spdx-tool"
}
