glide/glide.spec

46 lines
1.1 KiB
RPMSpec

Name: glide
Version: 0.2.0
Release: 1mamba
Summary: Package Management for Golang
Group: Applications/Development
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://glide.sh/
## GITSOURCE https://github.com/Masterminds/glide.git v0.13.1
Source: https://github.com/Masterminds/glide.git/%{version}/glide-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libgo-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Package Management for Golang.
%debug_package
%prep
%setup -q
%build
make bootstrap
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m 755 glide %{buildroot}%{_bindir}/glide
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/glide
%doc LICENSE.txt
%changelog
* Fri Aug 17 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0-1mamba
- package created using the webbuild interface