File podman-tui.spec of Package podman-tui
#
# spec file for package podman-tui
#
# Copyright (c) 2022 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.3.1
Release: 0
Summary: Podman Terminal User Interface
License: ASL 2.0 and BSD and ISC and MIT and MPLv2.0
URL: https://github.com/containers/podman-tui
Source: https://github.com/containers/podman-tui/archive/refs/tags/v%{version}.tar.gz
BuildRequires: golang-packaging
BuildRequires: gcc
BuildRequires: golang >= 1.16.6
BuildRequires: glib2-devel
BuildRequires: glibc-devel
BuildRequires: glibc-static
BuildRequires: git-core
BuildRequires: make
BuildRequires: gpgme-devel
BuildRequires: device-mapper-devel
BuildRequires: libassuan-devel
BuildRequires: libbtrfs-devel
BuildRequires: libsubid-devel
%{go_nostrip}
%{go_provides}
%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
%setup -q
%build
%goprep %{import_path}
%gobuild .
%install
%goinstall
%check
%gotest %{import_path}
%files
%doc CODE-OF-CONDUCT.md CONTRIBUTING.md README.md
%license LICENSE
%{_bindir}/podman-tui
%changelog