3 Summary: Bootstrap a new Fedora system (like debootstrap)
8 Group: Development/Tools
9 URL: http://et.redhat.com/~rjones/febootstrap/
10 Source0: http://et.redhat.com/~rjones/febootstrap/files/%{name}-%{version}.tar.gz
11 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
14 BuildRequires: /usr/bin/pod2man
16 Requires: fakeroot >= 1.11
17 Requires: fakechroot >= 2.9-1.fc11.rwmj3
20 Requires: util-linux-ng
24 # These are suggestions. However making them hard requirements
25 # pulls in far too much stuff.
28 #Requires: baobab # Not as nice as filelight.
32 febootstrap is a Fedora equivalent to Debian's debootstrap. You can
33 use it to create a basic Fedora filesystem, and build initramfs
34 (initrd.img) or filesystem images.
36 febootstrap also includes a separate tool to minimize filesystems by
37 removing unneeded locales, documentation etc.
39 The main difference from other appliance building tools is that this
40 one doesn't need to be run as root.
53 rm -rf $RPM_BUILD_ROOT
54 make DESTDIR=$RPM_BUILD_ROOT install
56 # Clean up the examples/ directory which will get installed in %doc.
57 # In this case I don't want the scripts to be executable because
58 # people should read them carefully before running them.
60 chmod -x examples/*.sh
64 rm -rf $RPM_BUILD_ROOT
68 %defattr(-,root,root,-)
69 %doc COPYING README examples
70 %{_bindir}/febootstrap
71 %{_bindir}/febootstrap-run
72 %{_bindir}/febootstrap-minimize
73 %{_bindir}/febootstrap-to-initramfs
74 %{_mandir}/man8/febootstrap.8*
75 %{_mandir}/man8/febootstrap-run.8*
76 %{_mandir}/man8/febootstrap-minimize.8*
77 %{_mandir}/man8/febootstrap-to-initramfs.8*
81 * Mon Mar 23 2009 Richard Jones <rjones@redhat.com> - @VERSION@-1