docker-buildx/docker-buildx.spec

77 lines
2.4 KiB
RPMSpec
Raw Permalink Normal View History

Name: docker-buildx
Version: 0.18.0
Release: 1mamba
Summary: Docker CLI plugin for extended build capabilities with BuildKit
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/docker/buildx
Source: https://github.com/docker/buildx.git/v%{version}/buildx-%{version}.tar.bz2
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%description
Docker CLI plugin for extended build capabilities with BuildKit.
%debug_package
%prep
%setup -q -n buildx-%{version}
%build
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
go build -mod=vendor -o docker-buildx -ldflags "-linkmode=external \
-compressdwarf=false" \
./cmd/buildx
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -Dm755 docker-buildx %{buildroot}%{_prefix}/lib/docker/cli-plugins/docker-buildx
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_prefix}/lib/docker/cli-plugins/docker-buildx
%doc AUTHORS LICENSE
%changelog
* Thu Oct 31 2024 Automatic Build System <autodist@openmamba.org> 0.18.0-1mamba
- automatic version update by autodist
* Sat Sep 14 2024 Automatic Build System <autodist@openmamba.org> 0.17.1-1mamba
- automatic version update by autodist
* Wed Sep 11 2024 Automatic Build System <autodist@openmamba.org> 0.17.0-1mamba
- automatic version update by autodist
* Fri Jul 26 2024 Automatic Build System <autodist@openmamba.org> 0.16.2-1mamba
- automatic version update by autodist
* Fri Jul 19 2024 Automatic Build System <autodist@openmamba.org> 0.16.1-1mamba
- automatic version update by autodist
* Tue Jul 16 2024 Automatic Build System <autodist@openmamba.org> 0.16.0-1mamba
- automatic version update by autodist
* Wed Jun 19 2024 Automatic Build System <autodist@openmamba.org> 0.15.1-1mamba
- automatic version update by autodist
* Wed Jun 12 2024 Automatic Build System <autodist@openmamba.org> 0.15.0-1mamba
- automatic version update by autodist
* Fri May 24 2024 Automatic Build System <autodist@openmamba.org> 0.14.1-1mamba
- automatic version update by autodist
* Thu Apr 18 2024 Automatic Build System <autodist@openmamba.org> 0.14.0-1mamba
- automatic version update by autodist
* Sun Apr 14 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.1-1mamba
- package created using the webbuild interface