podman/podman.spec

48 lines
1.3 KiB
RPMSpec

%define debug %nil
%define debug_package %nil
%define _tmpfilesdir %{_prefix}/lib/tmpfiles.d
%define _systemddir %{_prefix}/lib/systemd
%define _libexecdir %{_prefix}/libexec
Name: podman
Version: 4.2.0
Release: 1
Summary: A tool for managing OCI containers and pods
URL: https://podman.io/
Source0: https://github.com/containers/podman/archive/v%{version}/%{name}-%{version}.tar.gz
Source1000: %{name}.rpmlintrc
License: ASL 2.0
Group: Development/Other
BuildRequires: go
BuildRequires: git-core
BuildRequires: %{_lib}gpgme-devel
BuildRequires: pkgconfig(libseccomp)
Requires: conmon >= 2.0.24
Requires: runc
%description
Podman (the POD MANager) is a tool for managing containers
and images, volumes mounted into those containers, and pods
made from groups of containers. Podman is based on libpod,
a library for container lifecycle management that is also
contained in this repository. The libpod library provides
APIs for managing containers, pods, container images, and
volumes.
%prep
%setup -q
%build
%make
%install
%makeinstall PREFIX=%{_prefix} DESTDIR=%{buildroot}
%files
%doc README.md LICENSE
%{_bindir}/%{name}*
%{_libexecdir}/%{name}/rootlessport
%{_mandir}/man1/*
#{_systemddir}/*
#{_sysconfdir}/cni/net.d/87-podman-bridge.conflist
%{_tmpfilesdir}/podman.conf