Search
j0ke.net Open Build Service
>
Projects
>
virtualization
>
debootstrap
> debootstrap.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File debootstrap.spec of Package debootstrap
Name: debootstrap Version: 1.0.15 Release: 1 License: MIT style BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Requires: wget Requires: binutils Group: System/Packages Source0: %{name}_%{version}.tar.gz Patch0: %{name}-%{version}-no-root-install.diff # this was extracted from the debootstrap_*.deb package as Debian # may expect other devices as SuSE's MAKEDEV generates... Source1: devices.tar.gz Summary: Bootstrap a basic Debian system %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 -n %{name} %patch -p0 #%ifarch %{ix86} cp %{SOURCE1} devices.tar.gz #%else #echo "Please add devices-%{_arch}.tar.gz" #exit 1 #%endif %build # "make" would be only needed for -udeb package cp debian/changelog debian-changelog cp debian/copyright debian/README.Debian . %install make DESTDIR=$RPM_BUILD_ROOT install %__install -D -m644 debootstrap.8 %{buildroot}%{_mandir}/man8/debootstrap.8 gzip -9 %{buildroot}%{_mandir}/man8/debootstrap.8 %clean rm -rf "$RPM_BUILD_ROOT" %files %defattr(-,root,root) %doc debian-changelog README.Debian copyright %dir %{_datadir}/debootstrap %dir %{_datadir}/debootstrap/scripts %{_datadir}/debootstrap/functions %{_datadir}/debootstrap/devices.tar.gz %{_datadir}/debootstrap/scripts/* %{_mandir}/man8/debootstrap.8* %{_sbindir}/debootstrap %changelog * Mon Aug 10 2009 Carsten Schoene <cs@linux-administrator.com> - 1.0.15-1 - update to release 1.0.15 * Tue Jan 16 2007 - gernot.hillier@siemens.com - first version of an RPM package