Sisyphus repository
Last update: 20 october 2020 | SRPMs: 17712 | Visits: 19442142
en ru br
ALT Linux repos
S:0.0.0.0.1-alt0.428.06a6a8e.1

Group :: Other
RPM: distrobuilder

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%global import_path github.com/lxc/distrobuilder
Name:     distrobuilder
Version:  0.0.0.0.1
# 0, number of commits, hash of commit, alt release
Release:  alt0.428.06a6a8e.1

Summary:  System container image builder for LXC and LXD
License:  Apache-2.0
Group:    Other
Url:      https://github.com/lxc/distrobuilder

Packager: Mikhail Gordeev <obirvalger at altlinux.org>

Source:   %name-%version.tar

BuildRequires(pre): rpm-build-golang
BuildRequires: golang

%description
%summary

%prep
%setup

%build
export BUILDDIR="$PWD/.build"
export IMPORT_PATH="%import_path"
export GOPATH="$BUILDDIR:%go_path"

%golang_prepare

cd .build/src/%import_path
%golang_build distrobuilder

%install
export BUILDDIR="$PWD/.build"
export IGNORE_SOURCES=1

%golang_install

mkdir -p %buildroot/%_datadir/%name
cp -r doc/examples %buildroot/%_datadir/%name

%files
%_bindir/*
%doc *.md
%_datadir/%name

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin