File tumbleweed-cdn-cli.spec of Package tumbleweed-cdn-cli

#
# spec file for package tumbleweed-cdn-cli
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           tumbleweed-cdn-cli
Version:        0.0.1
Release:        0
Summary:        Command line interface for interacting with tumbleweed CDN snapshots
License:        GPL-2.0-only
Group:          System/Packages
URL:            https://github.com/natevc/tumbleweed-cdn-cli
Source:         %{name}-%{version}.tar
BuildArch:      noarch
# see https://github.com/steamtricks/steamtricks/issues/27
Requires:       coreutils
Requires:       curl
Requires:       grep
Requires:       sudo
Requires:       zypper
Requires:       libzypp(repovarexpand) >= 1
BuildRequires:  obs-service-tar
Conflicts:      tumbleweed-cli

%description
tumbleweed-cdn-cli provides a command line interface for interacting with tumbleweed
snapshots.

%prep
%setup -q

%build

%install
%make_install VERSION="%{version}"

%files
%defattr(-,root,root,-)
%{_bindir}/tumbleweed
%dir %{_datadir}/bash-completion/
%dir %{_datadir}/bash-completion/completions/
%{_datadir}/bash-completion/completions/tumbleweed-completion.bash

%changelog
openSUSE Build Service is sponsored by