]> git.pld-linux.org Git - packages/febootstrap.git/blob - febootstrap.spec
cb2bad92a2e665b1f09782d1a060571bbfcb8f0a
[packages/febootstrap.git] / febootstrap.spec
1 Summary:        Bootstrapping tool for creating supermin appliances
2 Name:           febootstrap
3 Version:        3.12
4 Release:        1
5 License:        GPL v2
6 Group:          Applications
7 Source0:        http://people.redhat.com/~rjones/febootstrap/files/%{name}-%{version}.tar.gz
8 # Source0-md5:  8d0143c96c538909bf0bbc13d09604c4
9 Patch0:         0001-Fix-Python-code-when-_bestPackageFromList-returns-No.patch
10 URL:            http://people.redhat.com/~rjones/febootstrap/
11 BuildRequires:  ocaml >= 3.04-7
12 BuildRequires:  ocaml-findlib
13 BuildRequires:  e2fsprogs-devel
14 BuildRequires:  libcom_err-devel
15 BuildRequires:  zlib-devel
16 BuildRequires:  perl-perldoc
17 BuildRequires:  gawk
18 Suggests:       yum >= 3.2
19 Suggests:       yum-utils
20 Suggests:       qemu
21 Suggests:       filelight
22 Requires:       %{name}-supermin-helper = %{version}-%{release}
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Febootstrap is a tool for building supermin appliances.
27 These are tiny appliances [similar to virtual machines], usually
28 around 100KB in size, which get fully instantiated on-the-fly
29 in a fraction of a second when you need to boot one of them.
30
31 Currently we support Fedora and Debian.
32 We hope to support many other distros in future. 
33
34 %package supermin-helper
35 Summary:        Runtime support for febootstrap
36 Group:          Development/Tools
37 Requires:       util-linux
38 Requires:       cpio
39 Requires:       /sbin/mke2fs
40
41 %description supermin-helper
42 This package contains the runtime support for febootstrap.
43
44 %prep
45 %setup -q
46 %patch0 -p1
47
48 %build
49 %configure \
50         YUM="yum" \
51         RPM="rpm" \
52         YUMDOWNLOADER="yumdownloader" \
53         APTITUDE="aptitude" \
54         APT_CACHE="apg-cache" \
55         DPKG="dpkg" \
56         PACMAN="pacman"
57
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc README
72 %attr(755,root,root) %{_bindir}/febootstrap
73 %{_mandir}/man8/febootstrap.8*
74
75 %files supermin-helper
76 %defattr(644,root,root,755)
77 %doc helper/README
78 %attr(755,root,root) %{_bindir}/febootstrap-supermin-helper
79 %{_mandir}/man8/febootstrap-supermin-helper.8*
This page took 0.117015 seconds and 2 git commands to generate.