mirror of
https://abf.rosa.ru/djam/podman.git
synced 2025-02-24 09:52:54 +00:00
4.3.1
This commit is contained in:
parent
e3b5315eaf
commit
d3dac0f648
1 changed files with 22 additions and 14 deletions
36
podman.spec
36
podman.spec
|
@ -1,7 +1,5 @@
|
||||||
%define debug %nil
|
%define debug %nil
|
||||||
%define debug_package %nil
|
%define debug_package %nil
|
||||||
%define _tmpfilesdir %{_prefix}/lib/tmpfiles.d
|
|
||||||
%define _systemddir %{_prefix}/lib/systemd
|
|
||||||
%define _libexecdir %{_prefix}/libexec
|
%define _libexecdir %{_prefix}/libexec
|
||||||
|
|
||||||
Name: podman
|
Name: podman
|
||||||
|
@ -15,7 +13,7 @@ License: ASL 2.0
|
||||||
Group: Development/Other
|
Group: Development/Other
|
||||||
BuildRequires: go
|
BuildRequires: go
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
BuildRequires: go-md2man
|
BuildRequires: go-md2man >= 2
|
||||||
BuildRequires: upx
|
BuildRequires: upx
|
||||||
BuildRequires: python3-sphinx
|
BuildRequires: python3-sphinx
|
||||||
BuildRequires: %{_lib}gpgme-devel
|
BuildRequires: %{_lib}gpgme-devel
|
||||||
|
@ -38,26 +36,36 @@ volumes.
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make binaries
|
%make binaries completions
|
||||||
|
|
||||||
# compress bin
|
# compress bin
|
||||||
upx bin/*
|
upx bin/*
|
||||||
|
|
||||||
#CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build \
|
|
||||||
# -tags " exclude_graphdriver_btrfs btrfs_noversion exclude_graphdriver_devicemapper seccomp" \
|
|
||||||
# -o bin/podman ./cmd/podman
|
|
||||||
|
|
||||||
#CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build \
|
|
||||||
# -o bin/rootlessport ./cmd/rootlessport
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall PREFIX=%{_prefix} DESTDIR=%{buildroot}
|
make \
|
||||||
|
install.bin \
|
||||||
|
install.remote \
|
||||||
|
install.systemd \
|
||||||
|
install.completions \
|
||||||
|
PREFIX=%{_prefix} \
|
||||||
|
DESTDIR=%{buildroot} \
|
||||||
|
SYSTEMDDIR=%{_unitdir} \
|
||||||
|
USERSYSTEMDDIR=%{_userunitdir} \
|
||||||
|
TMPFILESDIR=%{_tmpfilesdir}
|
||||||
|
|
||||||
|
install -d %{buildroot}%{_mandir}/man1/
|
||||||
|
install -Dm644 docs/source/markdown/links/*1 %{buildroot}%{_mandir}/man1
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md LICENSE
|
%doc README.md LICENSE
|
||||||
%{_bindir}/%{name}*
|
%{_bindir}/%{name}*
|
||||||
%{_libexecdir}/%{name}/rootlessport
|
%{_libexecdir}/%{name}/rootlessport
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
#{_systemddir}/*
|
|
||||||
#{_sysconfdir}/cni/net.d/87-podman-bridge.conflist
|
|
||||||
%{_tmpfilesdir}/podman.conf
|
%{_tmpfilesdir}/podman.conf
|
||||||
|
%{_unitdir}/*
|
||||||
|
%{_userunitdir}/*
|
||||||
|
%{_datadir}/bash-completion/completions/*
|
||||||
|
%{_datadir}/fish/vendor_completions.d/*
|
||||||
|
%{_datadir}/zsh/site-functions/*
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue