Sisyphus repository
Last update: 9 july 2020 | SRPMs: 17697 | Visits: 18852947
en ru br
ALT Linux repos
S:1.0.115-alt1

Group :: System/Base
RPM: debootstrap

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: debootstrap
Version: 1.0.115
Release: alt1
Summary: Debian GNU/Linux bootstrapper

Group: System/Base
License: MIT
Url: http://code.erisian.com.au/Wiki/debootstrap

# Repacked http://ftp.debian.org/debian/pool/main/d/debootstrap/%{name}_%version.tar.gz

Source: %name-%version.tar
Patch1: debootstrap-perms.patch

BuildArch: noarch

Requires: wget, tar

%description
debootstrap is used to create a Debian base system from scratch, without
requiring the availability of dpkg or apt.  It does this by downloading
.deb files from a mirror site, and carefully unpacking them into a
directory which can eventually be chrooted into.

This might be often useful coupled with virtualization techniques to run
Debian GNU/Linux guest system.

%prep
%setup
%patch1 -p1

%install
install -d %buildroot%_datadir/debootstrap/scripts/
install -d %buildroot%_sbindir
install -d %buildroot%_man8dir
install -p -m 0644 debootstrap.8 %buildroot%_man8dir
%makeinstall_std \
      VERSION="%version-%release" \
      DSDIR=%buildroot%_datadir/debootstrap
# correct the debootstrap script timestamp
touch -r debootstrap  %buildroot%_sbindir/debootstrap

%files
%_datadir/debootstrap
%_sbindir/debootstrap
%_man8dir/debootstrap.8*
%doc debian/changelog debian/copyright README

%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