<!-- SPDX-FileCopyrightText: 2026 fuddlesworth -->
<!-- SPDX-License-Identifier: GPL-3.0-or-later -->
<!--
  OBS source service for the home:fuddlesworth/plasmazones package.

  download_files parses plasmazones.spec, expands Source0
  (%{url}/archive/refs/tags/v%{version}/%{name}-%{version}.tar.gz) and
  fetches that tarball from GitHub on the OBS server. The release
  workflow (.github/workflows/release.yml, job publish-obs) stamps the
  real Version into the spec before each `osc commit`, so the service
  needs no version parameter — it always resolves to the tag just cut.

  It fetches Source1 and Source2 the same way: the Luau and valijson
  archives pinned in cmake/PhosphorDependencies.cmake, stored under their
  file names (the #/<file> fragment on each Source line) so rpmbuild finds
  them in its source directory. The spec hands that directory to CMake as
  PHOSPHOR_DEPS_ARCHIVES, which checks each hash, so the OBS build never
  needs the network.

  RPM targets build from plasmazones.spec and those three tarballs. Debian
  targets build from plasmazones.dsc plus the debian.* files, which
  obs-build's debtransform folds together into a real source package at
  build time, and from a fourth tarball that publish-obs builds and commits
  itself: plasmazones_<version>.orig.tar.gz, the tag's tree with the two
  archives added at packaging/deps, where debian/rules points CMake.
  debtransform takes exactly one source tarball and supports no component
  tarballs, so the archives have to ride inside it. With four tarballs in
  the package it would abort on auto-discovery, so the .dsc names that one
  on its DEBTRANSFORM-TAR line (packaging/obs/generate-dsc.sh).

  Users add the resulting repository with:
    sudo zypper addrepo \
      https://download.opensuse.org/repositories/home:fuddlesworth/openSUSE_Tumbleweed/home:fuddlesworth.repo
  or, on Debian testing/unstable, the apt repository documented in README.md.
-->
<services>
  <service name="download_files"/>
</services>
