On the need for "febootstrap-install".
[febootstrap.git] / febootstrap.spec.in
index 9ca791c..b432e09 100644 (file)
@@ -9,20 +9,23 @@ Group:       Development/Tools
 URL:         http://et.redhat.com/~rjones/febootstrap/
 Source0:     http://et.redhat.com/~rjones/febootstrap/files/%{name}-%{version}.tar.gz
 BuildRoot:   %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildArch:   noarch
 
 BuildRequires: /usr/bin/pod2man
 
 Requires:    fakeroot >= 1.11
-Requires:    fakechroot >= 2.8-15.fc10.rwmj3
+Requires:    fakechroot >= 2.9-1.fc11.rwmj3
 Requires:    yum >= 3.2
 Requires:    MAKEDEV
 Requires:    util-linux-ng
 Requires:    cpio
+Requires:    upx
 
 # These are suggestions.  However making them hard requirements
 # pulls in far too much stuff.
 #Requires:    qemu
 #Requires:    filelight
+#Requires:    baobab     # Not as nice as filelight.
 
 
 %description
@@ -50,6 +53,12 @@ make
 rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
 
+# Clean up the examples/ directory which will get installed in %doc.
+# In this case I don't want the scripts to be executable because
+# people should read them carefully before running them.
+rm examples/Makefile*
+chmod -x examples/*.sh
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -59,13 +68,15 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root,-)
 %doc COPYING README examples
 %{_bindir}/febootstrap
-%{_bindir}/febootstrap-to-initramfs
+%{_bindir}/febootstrap-run
 %{_bindir}/febootstrap-minimize
+%{_bindir}/febootstrap-to-initramfs
 %{_mandir}/man8/febootstrap.8*
-%{_mandir}/man8/febootstrap-to-initramfs.8*
+%{_mandir}/man8/febootstrap-run.8*
 %{_mandir}/man8/febootstrap-minimize.8*
+%{_mandir}/man8/febootstrap-to-initramfs.8*
 
 
 %changelog
-* Mon Mar 23 2009 Richard Jones <rjones@redhat.com> - 1.1-1
+* Mon Mar 23 2009 Richard Jones <rjones@redhat.com> - @VERSION@-1
 - Initial build.