|
|
661dbdf |
Name: debootstrap
|
|
Jan Zeleny |
0b6faba |
Version: 1.0.23
|
|
Jan Zeleny |
90645f4 |
Release: 1%{?dist}
|
|
|
f3197e9 |
Summary: Debian GNU/Linux bootstrapper
|
|
|
661dbdf |
|
|
|
661dbdf |
Group: System Environment/Base
|
|
|
661dbdf |
License: MIT
|
|
|
661dbdf |
URL: http://code.erisian.com.au/Wiki/debootstrap
|
|
|
661dbdf |
Source0: http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap_%{version}.tar.gz
|
|
|
0f74a46 |
Patch0: debootstrap-1.0.19-devices.patch
|
|
|
0f74a46 |
Patch1: debootstrap-1.0.19-perms.patch
|
|
|
661dbdf |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
661dbdf |
BuildArch: noarch
|
|
|
661dbdf |
|
|
|
661dbdf |
BuildRequires: fakeroot, MAKEDEV
|
|
|
661dbdf |
Requires: gettext, wget, tar, gzip, binutils
|
|
|
661dbdf |
|
|
|
661dbdf |
|
|
|
661dbdf |
%description
|
|
|
661dbdf |
debootstrap is used to create a Debian base system from scratch, without
|
|
|
661dbdf |
requiring the availability of dpkg or apt. It does this by downloading
|
|
|
661dbdf |
.deb files from a mirror site, and carefully unpacking them into a
|
|
|
661dbdf |
directory which can eventually be chrooted into.
|
|
|
661dbdf |
|
|
|
661dbdf |
This might be often useful coupled with virtualization techniques to run
|
|
|
661dbdf |
Debian GNU/Linux guest system.
|
|
|
661dbdf |
|
|
|
661dbdf |
|
|
|
661dbdf |
%prep
|
|
Jan Zeleny |
0b6faba |
%setup -q -n debootstrap
|
|
|
0f74a46 |
%patch0 -p1 -b .devices
|
|
|
0f74a46 |
%patch1 -p1 -b .perms
|
|
|
661dbdf |
|
|
|
661dbdf |
|
|
|
661dbdf |
%build
|
|
|
b6e6e42 |
# in Makefile, path is hardcoded, modify it to take rpm macros into account
|
|
|
b6e6e42 |
sed -i -e 's;/usr/sbin;%{_sbindir};' Makefile
|
|
|
b6e6e42 |
|
|
|
661dbdf |
# _smp_mflags would make no sense at all
|
|
|
661dbdf |
fakeroot make
|
|
|
661dbdf |
|
|
|
661dbdf |
|
|
|
661dbdf |
%install
|
|
|
661dbdf |
rm -rf $RPM_BUILD_ROOT
|
|
|
661dbdf |
install -d $RPM_BUILD_ROOT%{_datadir}/debootstrap/scripts/
|
|
|
661dbdf |
install -d $RPM_BUILD_ROOT%{_sbindir}
|
|
|
661dbdf |
install -d $RPM_BUILD_ROOT%{_mandir}/man8
|
|
|
b6e6e42 |
install -p -m 0644 debootstrap.8 $RPM_BUILD_ROOT%{_mandir}/man8
|
|
|
661dbdf |
make install DESTDIR=$RPM_BUILD_ROOT \
|
|
|
b6e6e42 |
VERSION="%{version}-%{release}" \
|
|
|
b6e6e42 |
DSDIR=$RPM_BUILD_ROOT%{_datadir}/debootstrap
|
|
|
b6e6e42 |
# substitute the rpm macro path
|
|
|
b6e6e42 |
sed -i -e 's;/usr/share;%{_datadir};' $RPM_BUILD_ROOT%{_sbindir}/debootstrap
|
|
|
b6e6e42 |
# correct the debootstrap script timestamp
|
|
|
b6e6e42 |
touch -r debootstrap $RPM_BUILD_ROOT%{_sbindir}/debootstrap
|
|
|
661dbdf |
|
|
|
661dbdf |
|
|
|
661dbdf |
%clean
|
|
|
661dbdf |
rm -rf $RPM_BUILD_ROOT
|
|
|
661dbdf |
|
|
|
661dbdf |
|
|
|
661dbdf |
%files
|
|
|
661dbdf |
%defattr(-,root,root,-)
|
|
|
661dbdf |
%{_datadir}/debootstrap
|
|
|
661dbdf |
%{_sbindir}/debootstrap
|
|
|
661dbdf |
%{_mandir}/man8/debootstrap.8*
|
|
Jan Zeleny |
0b6faba |
%doc debian/changelog debian/copyright README
|
|
|
661dbdf |
|
|
|
661dbdf |
|
|
|
661dbdf |
%changelog
|
|
Jan Zeleny |
0b6faba |
* Wed May 26 2010 Jan Zeleny <jzeleny@redhat.com> - 1.0.23-1
|
|
Jan Zeleny |
0b6faba |
- rebased to 1.0.23 (Add ${misc:Depends}, Add (Ubuntu) maverick as symlink to gutsy)
|
|
Jan Zeleny |
0b6faba |
|
|
Jan Zeleny |
90645f4 |
* Fri Mar 05 2010 Jan Zeleny <jzeleny@redhat.com> - 1.0.22-1
|
|
Jan Zeleny |
90645f4 |
- rebased to 1.0.22
|
|
Jan Zeleny |
90645f4 |
|
|
|
22c51dc |
* Wed Sep 30 2009 Adam Goode <adam@spicenitz.org> - 1.0.19-2
|
|
|
22c51dc |
- Make sure to create /dev/console in devices.tar.gz
|
|
|
22c51dc |
|
|
|
0f74a46 |
* Wed Sep 30 2009 Adam Goode <adam@spicenitz.org> - 1.0.19-1
|
|
|
0f74a46 |
- New upstream release
|
|
|
0f74a46 |
+ Many bugfixes
|
|
|
0f74a46 |
+ Support for new distributions
|
|
|
0f74a46 |
- Arch patch no longer needed
|
|
|
0f74a46 |
- Rebase other patches
|
|
|
0f74a46 |
|
|
|
afae135 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.10-3
|
|
|
afae135 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
afae135 |
|
|
|
504d5aa |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.10-2
|
|
|
504d5aa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
504d5aa |
|
|
|
b0ede86 |
* Tue Jul 15 2008 Lubomir Rintel <lkundrak@v3.sk> - 1.0.10-1
|
|
|
b0ede86 |
- New upstream version
|
|
|
b0ede86 |
|
|
|
8d2a64c |
* Sun Jun 15 2008 Adam Goode <adam@spicenitz.org> - 1.0.9-1
|
|
|
8d2a64c |
- 1.0.9
|
|
|
8d2a64c |
|
|
|
ee64cf8 |
* Fri Feb 22 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.8-1
|
|
|
ee64cf8 |
- 1.0.8
|
|
|
ee64cf8 |
|
|
|
b6e6e42 |
* Sun Nov 18 2007 Patrice Dumas <pertusus@free.fr> 1.0.7-2
|
|
|
b6e6e42 |
- keep timestamps
|
|
|
b6e6e42 |
- use rpm macros instead of hardcoded paths
|
|
|
b6e6e42 |
|
|
|
661dbdf |
* Sat Nov 17 2007 Lubomir Kundrak <lkundrak@redhat.com> 1.0.7-1
|
|
|
661dbdf |
- Version bump
|
|
|
661dbdf |
|
|
|
661dbdf |
* Thu Nov 15 2007 Lubomir Kundrak <lkundrak@redhat.com> 1.0.3-2
|
|
|
661dbdf |
- Some more fixes, thanks to Patrice Dumas (#329291)
|
|
|
661dbdf |
|
|
|
661dbdf |
* Fri Oct 12 2007 Lubomir Kundrak <lkundrak@redhat.com> 1.0.3-1
|
|
|
661dbdf |
- Incorporating advises from Patrice Dumas (#329291) in account
|
|
|
661dbdf |
|
|
|
661dbdf |
* Fri Oct 12 2007 Lubomir Kundrak <lkundrak@redhat.com> 0.3.3.2etch1-1
|
|
|
661dbdf |
- Initial package
|