2024-01-05 23:08:23 +01:00
|
|
|
Name: glide
|
2024-01-05 23:08:23 +01:00
|
|
|
Version: 0.13.3
|
2024-01-05 23:08:23 +01:00
|
|
|
Release: 3mamba
|
2024-01-05 23:08:23 +01:00
|
|
|
Summary: Package Management for Golang
|
|
|
|
Group: Applications/Development
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://glide.sh/
|
2024-01-05 23:08:23 +01:00
|
|
|
Source: https://github.com/Masterminds/glide.git/v%{version}/glide-%{version}.tar.bz2
|
2024-01-05 23:08:23 +01:00
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 23:08:23 +01:00
|
|
|
BuildRequires: libgo-devel >= 11.1.0-1mamba
|
2024-01-05 23:08:23 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Package Management for Golang.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
2024-01-05 23:08:23 +01:00
|
|
|
%setup -q -c -a0
|
|
|
|
|
|
|
|
mkdir -p build/go && cd build/go
|
|
|
|
for f in %{_libdir}/go/*; do ln -s "$f"; done
|
|
|
|
mkdir pkg && cd pkg
|
|
|
|
for f in %{_libdir}/go/pkg/*; do ln -s "$f"; done
|
|
|
|
mkdir -p %{_builddir}/%{name}-%{version}/build/src/github.com/Masterminds/glide
|
|
|
|
mv %{_builddir}/%{name}-%{version}/%{name}-%{version}/* %{_builddir}/%{name}-%{version}/build/src/github.com/Masterminds/glide
|
|
|
|
|
2024-01-05 23:08:23 +01:00
|
|
|
%build
|
2024-01-05 23:08:23 +01:00
|
|
|
export GOPATH="%{_builddir}/%{name}-%{version}/build"
|
|
|
|
export GOROOT="$GOPATH/go"
|
|
|
|
cd %{_builddir}/%{name}-%{version}/build/src/github.com/Masterminds/glide
|
|
|
|
go build -o glide -ldflags "-X main.version=%{version}" glide.go
|
2024-01-05 23:08:23 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 23:08:23 +01:00
|
|
|
cd %{_builddir}/%{name}-%{version}/build/src/github.com/Masterminds/glide
|
|
|
|
install -Dm755 glide %{buildroot}%{_bindir}/glide
|
2024-01-05 23:08:23 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/glide
|
2024-01-05 23:08:23 +01:00
|
|
|
%doc build/src/github.com/Masterminds/glide/LICENSE
|
2024-01-05 23:08:23 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:08:23 +01:00
|
|
|
* Tue May 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.3-3mamba
|
|
|
|
- rebuilt with libgo 11.1.0
|
|
|
|
|
2024-01-05 23:08:23 +01:00
|
|
|
* Thu May 14 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.3-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: libgo-devel>=10.1.0-1mamba
|
|
|
|
|
2024-01-05 23:08:23 +01:00
|
|
|
* Wed Aug 28 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.3-1mamba
|
|
|
|
- update to 0.13.3
|
|
|
|
|
2024-01-05 23:08:23 +01:00
|
|
|
* Fri Aug 17 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0-1mamba
|
|
|
|
- package created using the webbuild interface
|