File podman-tui.spec of Package podman-tui
#
# spec file for package podman-tui
#
# Copyright (c) 2023 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/
#
%global import_path github.com/containers/podman-tui
Name: podman-tui
Version: 0.15.0
Release: 0
Summary: Podman Terminal User Interface
License: Apache-2.0 and BSD-3-Clause and MIT and MPL-2.0
URL: https://github.com/containers/podman-tui
Source: https://github.com/containers/podman-tui/archive/refs/tags/v%{version}.tar.gz
BuildRequires: device-mapper-devel
BuildRequires: gcc
BuildRequires: git-core
BuildRequires: glib2-devel
BuildRequires: glibc-devel
BuildRequires: glibc-static
BuildRequires: golang >= 1.18
BuildRequires: golang-packaging
BuildRequires: gpgme-devel
BuildRequires: libassuan-devel
BuildRequires: libbtrfs-devel
BuildRequires: libsubid-devel
BuildRequires: make
%description
podman-tui is a terminal user interface for Podman v4.
podman-tui is using podman.socket service to communicate with podman environment
and SSH to connect to remote podman machines.
%prep
%autosetup -p1
%build
%{goprep} %{import_path}
%{gobuild} -v .
%install
%{goinstall}
%check
%{gotest} %{import_path}
%files
%doc CODE-OF-CONDUCT.md CONTRIBUTING.md README.md
%license LICENSE
%{_bindir}/podman-tui
%changelog