Search
j0ke.net Open Build Service
>
Projects
>
virtualization
>
debootstrap
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Added
debootstrap.spec
@@ -0,0 +1,59 @@ +Name: debootstrap +Version: 0.3.3.1 +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: debootstrap-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 +%patch -p1 +#%ifarch %{ix86} +cp %{SOURCE1} devices-std.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-allarch + +%clean +rm -rf "$RPM_BUILD_ROOT" + +%files +%defattr(-,root,root) +%doc debian-changelog README.Debian copyright +/usr/lib/debootstrap +%{_mandir}/man8/debootstrap.8* +%{_sbindir}/debootstrap + +%changelog +* Tue Jan 16 2007 - gernot.hillier@siemens.com +- first version of an RPM package