9ca791ccc6f343bc492cda96b2a17bf6c1c8853c
[febootstrap.git] / febootstrap.spec.in
1 # @configure_input@
2
3 Summary:     Bootstrap a new Fedora system (like debootstrap)
4 Name:        febootstrap
5 Version:     @VERSION@
6 Release:     1%{?dist}
7 License:     GPLv2+
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
12
13 BuildRequires: /usr/bin/pod2man
14
15 Requires:    fakeroot >= 1.11
16 Requires:    fakechroot >= 2.8-15.fc10.rwmj3
17 Requires:    yum >= 3.2
18 Requires:    MAKEDEV
19 Requires:    util-linux-ng
20 Requires:    cpio
21
22 # These are suggestions.  However making them hard requirements
23 # pulls in far too much stuff.
24 #Requires:    qemu
25 #Requires:    filelight
26
27
28 %description
29 febootstrap is a Fedora equivalent to Debian's debootstrap.  You can
30 use it to create a basic Fedora filesystem, and build initramfs
31 (initrd.img) or filesystem images.
32
33 febootstrap also includes a separate tool to minimize filesystems by
34 removing unneeded locales, documentation etc.
35
36 The main difference from other appliance building tools is that this
37 one doesn't need to be run as root.
38
39
40 %prep
41 %setup -q
42
43
44 %build
45 %configure
46 make
47
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 make DESTDIR=$RPM_BUILD_ROOT install
52
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57
58 %files
59 %defattr(-,root,root,-)
60 %doc COPYING README examples
61 %{_bindir}/febootstrap
62 %{_bindir}/febootstrap-to-initramfs
63 %{_bindir}/febootstrap-minimize
64 %{_mandir}/man8/febootstrap.8*
65 %{_mandir}/man8/febootstrap-to-initramfs.8*
66 %{_mandir}/man8/febootstrap-minimize.8*
67
68
69 %changelog
70 * Mon Mar 23 2009 Richard Jones <rjones@redhat.com> - 1.1-1
71 - Initial build.