packer/packer.spec

141 lines
5.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: packer
Version: 1.8.1
Release: 1mamba
Summary: A tool for creating identical machine images for multiple platforms from a single source configuration
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.packer.io/
## GITSOURCE https://github.com/hashicorp/packer.git v1.2.5
Source: https://github.com/hashicorp/packer.git/v%{version}/packer-%{version}.tar.bz2
License: MPL 2.0
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: go
%description
Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
%debug_package
%prep
%setup -q -c -a0
mkdir -p src/github.com/hashicorp
mv %{name}-%{version} src/github.com/hashicorp/%{name}
%build
export GOPATH=`pwd`
export CGO_ENABLED=0
export PATH="$PATH:$GOPATH/bin"
sed -e '/VersionPrerelease = ""/ {N;N;N;d;}' -i src/github.com/hashicorp/%{name}/Makefile
cd src/github.com/hashicorp/%{name}
go build -buildmode=exe -o packer-binary
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd src/github.com/hashicorp/%{name}
install -Dm755 packer-binary %{buildroot}%{_bindir}/packer
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/packer
%doc src/github.com/hashicorp/packer/LICENSE
%changelog
* Sat May 28 2022 Automatic Build System <autodist@mambasoft.it> 1.8.1-1mamba
- automatic version update by autodist
* Sat Mar 05 2022 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
- automatic version update by autodist
* Thu Feb 03 2022 Automatic Build System <autodist@mambasoft.it> 1.7.10-1mamba
- automatic version update by autodist
* Thu Jan 20 2022 Automatic Build System <autodist@mambasoft.it> 1.7.9-1mamba
- automatic version update by autodist
* Thu Oct 28 2021 Automatic Build System <autodist@mambasoft.it> 1.7.8-1mamba
- automatic version update by autodist
* Tue Oct 19 2021 Automatic Build System <autodist@mambasoft.it> 1.7.7-1mamba
- automatic version update by autodist
* Wed Sep 29 2021 Automatic Build System <autodist@mambasoft.it> 1.7.6-1mamba
- automatic version update by autodist
* Wed Sep 15 2021 Automatic Build System <autodist@mambasoft.it> 1.7.5-1mamba
- automatic version update by autodist
* Wed Jul 21 2021 Automatic Build System <autodist@mambasoft.it> 1.7.4-1mamba
- automatic version update by autodist
* Wed Jun 16 2021 Automatic Build System <autodist@mambasoft.it> 1.7.3-1mamba
- automatic version update by autodist
* Fri May 07 2021 Automatic Build System <autodist@mambasoft.it> 1.7.2-1mamba
- automatic version update by autodist
* Sat Feb 20 2021 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
- automatic version update by autodist
* Sun Nov 22 2020 Automatic Build System <autodist@mambasoft.it> 1.6.5-1mamba
- automatic version update by autodist
* Sun Nov 15 2020 Automatic Build System <autodist@mambasoft.it> 1.6.4-1mamba
- automatic version update by autodist
* Sun Oct 18 2020 Automatic Build System <autodist@mambasoft.it> 1.6.3-1mamba
- automatic version update by autodist
* Sun Aug 30 2020 Automatic Build System <autodist@mambasoft.it> 1.6.2-1mamba
- automatic version update by autodist
* Mon Mar 30 2020 Automatic Build System <autodist@mambasoft.it> 1.5.5-1mamba
- automatic version update by autodist
* Sat Feb 22 2020 Automatic Build System <autodist@mambasoft.it> 1.5.4-1mamba
- automatic version update by autodist
* Wed Dec 25 2019 Automatic Build System <autodist@mambasoft.it> 1.5.1-1mamba
- automatic version update by autodist
* Sat Nov 16 2019 Automatic Build System <autodist@mambasoft.it> 1.4.5-1mamba
- automatic version update by autodist
* Fri Oct 11 2019 Automatic Build System <autodist@mambasoft.it> 1.4.4-1mamba
- automatic version update by autodist
* Fri Aug 30 2019 Automatic Build System <autodist@mambasoft.it> 1.4.3-1mamba
- automatic version update by autodist
* Sat Jul 13 2019 Automatic Build System <autodist@mambasoft.it> 1.4.2-1mamba
- automatic version update by autodist
* Mon May 27 2019 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
- automatic version update by autodist
* Sun Apr 14 2019 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
- automatic version update by autodist
* Tue Mar 05 2019 Automatic Build System <autodist@mambasoft.it> 1.3.5-1mamba
- automatic version update by autodist
* Fri Feb 01 2019 Automatic Build System <autodist@mambasoft.it> 1.3.4-1mamba
- automatic version update by autodist
* Tue Dec 18 2018 Automatic Build System <autodist@mambasoft.it> 1.3.3-1mamba
- automatic version update by autodist
* Fri Nov 02 2018 Automatic Build System <autodist@mambasoft.it> 1.3.2-1mamba
- automatic version update by autodist
* Fri Sep 21 2018 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba
- automatic version update by autodist
* Mon Sep 10 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.5-1mamba
- package created using the webbuild interface