[2741] | 1 | Name: debootstrap |
---|
[9798] | 2 | Version: 1.0.74 |
---|
[2741] | 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: Debian GNU/Linux bootstrapper |
---|
| 5 | |
---|
| 6 | Group: System Environment/Base |
---|
| 7 | License: MIT |
---|
| 8 | URL: http://code.erisian.com.au/Wiki/debootstrap |
---|
| 9 | Source0: http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap_%{version}.tar.gz |
---|
[9798] | 10 | Patch0: debootstrap-1.0.74-devices.patch |
---|
| 11 | Patch1: debootstrap-1.0.74-perms.patch |
---|
[2741] | 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 13 | BuildArch: noarch |
---|
| 14 | |
---|
| 15 | BuildRequires: fakeroot, MAKEDEV |
---|
| 16 | Requires: gettext, wget, tar, gzip, binutils |
---|
| 17 | |
---|
| 18 | |
---|
| 19 | %description |
---|
| 20 | debootstrap is used to create a Debian base system from scratch, without |
---|
| 21 | requiring the availability of dpkg or apt. It does this by downloading |
---|
| 22 | .deb files from a mirror site, and carefully unpacking them into a |
---|
| 23 | directory which can eventually be chrooted into. |
---|
| 24 | |
---|
| 25 | This might be often useful coupled with virtualization techniques to run |
---|
| 26 | Debian GNU/Linux guest system. |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | %prep |
---|
[6748] | 30 | %setup -q |
---|
[2741] | 31 | %patch0 -p1 -b .devices |
---|
| 32 | %patch1 -p1 -b .perms |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | %build |
---|
| 36 | # in Makefile, path is hardcoded, modify it to take rpm macros into account |
---|
| 37 | sed -i -e 's;/usr/sbin;%{_sbindir};' Makefile |
---|
| 38 | |
---|
| 39 | # _smp_mflags would make no sense at all |
---|
| 40 | fakeroot make |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | %install |
---|
| 44 | rm -rf $RPM_BUILD_ROOT |
---|
| 45 | install -d $RPM_BUILD_ROOT%{_datadir}/debootstrap/scripts/ |
---|
| 46 | install -d $RPM_BUILD_ROOT%{_sbindir} |
---|
| 47 | install -d $RPM_BUILD_ROOT%{_mandir}/man8 |
---|
| 48 | install -p -m 0644 debootstrap.8 $RPM_BUILD_ROOT%{_mandir}/man8 |
---|
| 49 | make install DESTDIR=$RPM_BUILD_ROOT \ |
---|
| 50 | VERSION="%{version}-%{release}" \ |
---|
| 51 | DSDIR=$RPM_BUILD_ROOT%{_datadir}/debootstrap |
---|
| 52 | # substitute the rpm macro path |
---|
| 53 | sed -i -e 's;/usr/share;%{_datadir};' $RPM_BUILD_ROOT%{_sbindir}/debootstrap |
---|
| 54 | # correct the debootstrap script timestamp |
---|
| 55 | touch -r debootstrap $RPM_BUILD_ROOT%{_sbindir}/debootstrap |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %clean |
---|
| 59 | rm -rf $RPM_BUILD_ROOT |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %files |
---|
| 63 | %defattr(-,root,root,-) |
---|
| 64 | %{_datadir}/debootstrap |
---|
| 65 | %{_sbindir}/debootstrap |
---|
| 66 | %{_mandir}/man8/debootstrap.8* |
---|
| 67 | %doc debian/changelog debian/copyright README |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | %changelog |
---|
[9798] | 71 | * Sun Nov 08 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.74-1 |
---|
| 72 | - new upstream release |
---|
| 73 | - update Patch0 (debootstrap-1.0.74-devices.patch) |
---|
| 74 | - update Patch1 (debootstrap-1.0.74-perms.patch) |
---|
| 75 | |
---|
[7572] | 76 | * Fri Mar 22 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.46-1 |
---|
| 77 | - new upstream release |
---|
| 78 | |
---|
[6748] | 79 | * Sat Aug 18 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.42-1 |
---|
| 80 | - new upstream release |
---|
| 81 | |
---|
[5282] | 82 | * Tue Dec 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.38-1 |
---|
| 83 | - new upstram release |
---|
| 84 | |
---|
[2741] | 85 | * Tue Feb 22 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.27-1 |
---|
| 86 | - initial build for Vine Linux |
---|
| 87 | |
---|
| 88 | * Wed Feb 09 2011 Jan Vcelak <jvcelak@redhat.com> 1.0.27-1 |
---|
| 89 | - new upstream release (typo in --private-key, improve Hurd support) |
---|
| 90 | |
---|
| 91 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.26-2 |
---|
| 92 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 93 | |
---|
| 94 | * Mon Nov 22 2010 Jan Vcelak <jvcelak@redhat.com> 1.0.26-1 |
---|
| 95 | - new upstream release (fix typos and remove old workaround for md5sum) |
---|
| 96 | |
---|
| 97 | * Mon Oct 25 2010 Jan Vcelak <jvcelak@redhat.com> 1.0.25-1 |
---|
| 98 | - new upstream release (support for HTTPS, added Ubuntu Nanty, added Debian Wheezy) |
---|
| 99 | |
---|
| 100 | * Wed May 26 2010 Jan Zeleny <jzeleny@redhat.com> - 1.0.23-1 |
---|
| 101 | - rebased to 1.0.23 (Add ${misc:Depends}, Add (Ubuntu) maverick as symlink to gutsy) |
---|
| 102 | |
---|
| 103 | * Fri Mar 05 2010 Jan Zeleny <jzeleny@redhat.com> - 1.0.22-1 |
---|
| 104 | - rebased to 1.0.22 |
---|
| 105 | |
---|
| 106 | * Wed Sep 30 2009 Adam Goode <adam@spicenitz.org> - 1.0.19-2 |
---|
| 107 | - Make sure to create /dev/console in devices.tar.gz |
---|
| 108 | |
---|
| 109 | * Wed Sep 30 2009 Adam Goode <adam@spicenitz.org> - 1.0.19-1 |
---|
| 110 | - New upstream release |
---|
| 111 | + Many bugfixes |
---|
| 112 | + Support for new distributions |
---|
| 113 | - Arch patch no longer needed |
---|
| 114 | - Rebase other patches |
---|
| 115 | |
---|
| 116 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.10-3 |
---|
| 117 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 118 | |
---|
| 119 | * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.10-2 |
---|
| 120 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 121 | |
---|
| 122 | * Tue Jul 15 2008 Lubomir Rintel <lkundrak@v3.sk> - 1.0.10-1 |
---|
| 123 | - New upstream version |
---|
| 124 | |
---|
| 125 | * Sun Jun 15 2008 Adam Goode <adam@spicenitz.org> - 1.0.9-1 |
---|
| 126 | - 1.0.9 |
---|
| 127 | |
---|
| 128 | * Fri Feb 22 2008 Lubomir Kundrak <lkundrak@redhat.com> - 1.0.8-1 |
---|
| 129 | - 1.0.8 |
---|
| 130 | |
---|
| 131 | * Sun Nov 18 2007 Patrice Dumas <pertusus@free.fr> 1.0.7-2 |
---|
| 132 | - keep timestamps |
---|
| 133 | - use rpm macros instead of hardcoded paths |
---|
| 134 | |
---|
| 135 | * Sat Nov 17 2007 Lubomir Kundrak <lkundrak@redhat.com> 1.0.7-1 |
---|
| 136 | - Version bump |
---|
| 137 | |
---|
| 138 | * Thu Nov 15 2007 Lubomir Kundrak <lkundrak@redhat.com> 1.0.3-2 |
---|
| 139 | - Some more fixes, thanks to Patrice Dumas (#329291) |
---|
| 140 | |
---|
| 141 | * Fri Oct 12 2007 Lubomir Kundrak <lkundrak@redhat.com> 1.0.3-1 |
---|
| 142 | - Incorporating advises from Patrice Dumas (#329291) in account |
---|
| 143 | |
---|
| 144 | * Fri Oct 12 2007 Lubomir Kundrak <lkundrak@redhat.com> 0.3.3.2etch1-1 |
---|
| 145 | - Initial package |
---|