File rubygem-tetra.spec of Package rubygem-tetra

#
# spec file for package rubygem-tetra
#
# Copyright (c) 2026 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/
#

%define mod_name tetra
%define mod_full_name %{mod_name}-%{version}
Name:           rubygem-tetra
Version:        2.0.7
Release:        0
Summary:        A tool to package Java projects
License:        MIT
URL:            https://github.com/uyuni-project/tetra
Source:         https://rubygems.org/gems/%{mod_full_name}.gem
BuildRequires:  %{ruby >= 3.4.0}
BuildRequires:  %{rubygem gem2rpm}
BuildRequires:  ruby-macros >= 5
BuildRequires:  update-alternatives

%description
Tetra simplifies the creation of spec files and archives
to distribute Java projects in RPM format.

%prep

%build

%install
%gem_install \
  --no-rdoc --no-ri \
  --symlink-binaries \
  --doc-files="CONTRIBUTING.md LICENSE README.md" \
  -f

%gem_packages

%changelog
openSUSE Build Service is sponsored by