]>
Commit | Line | Data |
---|---|---|
416d273c | 1 | Summary: Bootstrapping tool for creating supermin appliances |
dd4216e8 | 2 | Summary(pl.UTF-8): Narzędzie bootstrapujące do tworzenia minimalistycznych instalacji |
416d273c | 3 | Name: febootstrap |
20b40bf5 | 4 | Version: 3.21 |
416d273c JR |
5 | Release: 1 |
6 | License: GPL v2 | |
dd4216e8 JB |
7 | Group: Applications/System |
8 | Source0: http://libguestfs.org/download/febootstrap/%{name}-%{version}.tar.gz | |
20b40bf5 | 9 | # Source0-md5: 8938bc9af564ba389651ee24cc3d3d30 |
416d273c | 10 | URL: http://people.redhat.com/~rjones/febootstrap/ |
416d273c | 11 | BuildRequires: e2fsprogs-devel |
dd4216e8 | 12 | BuildRequires: gawk |
416d273c | 13 | BuildRequires: libcom_err-devel |
dd4216e8 JB |
14 | BuildRequires: ocaml >= 3.04-7 |
15 | BuildRequires: ocaml-findlib | |
16 | # not needed in releases (BTW: perldoc is checked, but pod2man is actually used) | |
17 | #BuildRequires: perl-perldoc | |
18 | #BuildRequires: perl-tools-pod | |
416d273c | 19 | BuildRequires: zlib-devel |
dd4216e8 JB |
20 | Suggests: filelight |
21 | Suggests: qemu | |
416d273c JR |
22 | Suggests: yum >= 3.2 |
23 | Suggests: yum-utils | |
416d273c JR |
24 | Requires: %{name}-supermin-helper = %{version}-%{release} |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %description | |
dd4216e8 JB |
28 | Febootstrap is a tool for building supermin appliances. These are tiny |
29 | appliances [similar to virtual machines], usually around 100KB in | |
30 | size, which get fully instantiated on-the-fly in a fraction of a | |
31 | second when you need to boot one of them. | |
416d273c | 32 | |
dd4216e8 JB |
33 | Currently only Fedora and Debian are supported. |
34 | ||
35 | %description -l pl.UTF-8 | |
36 | Febootstrap to narzędzie do tworzenia minimalistycznych instalacji | |
37 | zwanych "appliance". Są to małe instalacje (podobne do maszyn | |
38 | wirtualnych), zwykle mające ok. 100kB, które można zainstalować w | |
39 | całości w locie w ciągu ułamku sekundy, kiedy zachodzi potrzeba | |
40 | uruchomienia takowej. | |
41 | ||
42 | Obecnie obsługiwane są tylko Fedora i Debian. | |
416d273c JR |
43 | |
44 | %package supermin-helper | |
45 | Summary: Runtime support for febootstrap | |
dd4216e8 | 46 | Summary(pl.UTF-8): Wsparcie uruchomieniowe dla narzędzia febootstrap |
416d273c JR |
47 | Group: Development/Tools |
48 | Requires: util-linux | |
49 | Requires: cpio | |
50 | Requires: /sbin/mke2fs | |
51 | ||
52 | %description supermin-helper | |
53 | This package contains the runtime support for febootstrap. | |
54 | ||
dd4216e8 JB |
55 | %description supermin-helper -l pl.UTF-8 |
56 | Ten pakiet zawiera wsparcie uruchomieniowe dla narzędzia febootstrap. | |
57 | ||
416d273c JR |
58 | %prep |
59 | %setup -q | |
416d273c JR |
60 | |
61 | %build | |
62 | %configure \ | |
416d273c | 63 | APT_CACHE="apg-cache" \ |
dd4216e8 | 64 | APTITUDE="aptitude" \ |
416d273c | 65 | DPKG="dpkg" \ |
dd4216e8 JB |
66 | PACMAN="pacman" \ |
67 | RPM="rpm" \ | |
68 | YUM="yum" \ | |
69 | YUMDOWNLOADER="yumdownloader" | |
416d273c JR |
70 | |
71 | %{__make} | |
72 | ||
73 | %install | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %{__make} install \ | |
77 | DESTDIR=$RPM_BUILD_ROOT | |
78 | ||
79 | %clean | |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
82 | %files | |
83 | %defattr(644,root,root,755) | |
dd4216e8 | 84 | %doc README TODO |
416d273c JR |
85 | %attr(755,root,root) %{_bindir}/febootstrap |
86 | %{_mandir}/man8/febootstrap.8* | |
87 | ||
88 | %files supermin-helper | |
89 | %defattr(644,root,root,755) | |
90 | %doc helper/README | |
91 | %attr(755,root,root) %{_bindir}/febootstrap-supermin-helper | |
92 | %{_mandir}/man8/febootstrap-supermin-helper.8* |