# # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # norootforbuild Name: debootstrap Version: 1.0.40 Release: 1 Summary: Bootstrap a basic Debian system Group: Development/Tools/Other Url: http://packages.debian.org/debootstrap License: MIT Source0: http://ftp.de.debian.org/debian/pool/main/d/debootstrap/%{name}_%{version}.tar.gz Source1: devices.tar.gz Patch0: %{name}-norootforbuild.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %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. Authors: -------- Anthony Towns %prep %setup %patch0 -p1 %build cp %{SOURCE1} . %install %{__make} install DESTDIR=%{?buildroot} gzip -9 debootstrap.8 install -D -m644 debootstrap.8.gz %{buildroot}/%{_mandir}/man8/debootstrap.8.gz %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,0755) %doc README TODO debian/changelog debian/copyright %{_sbindir}/debootstrap %{_datadir}/debootstrap %{_mandir}/man8/debootstrap.8.gz %changelog