commit 0510fe7ab3e7553781e3901ba845f430609c666a
Author: Jakub Bogusz <[email protected]>
Date:   Sun Apr 7 14:45:16 2013 +0200

    - new (febootstrap successor)

 supermin.spec | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 92 insertions(+)
---
diff --git a/supermin.spec b/supermin.spec
new file mode 100644
index 0000000..e96a494
--- /dev/null
+++ b/supermin.spec
@@ -0,0 +1,92 @@
+Summary:       Tool for creating supermin appliances
+Summary(pl.UTF-8):     Narzędzie do tworzenia minimalistycznych instalacji
+Name:          supermin
+Version:       4.1.1
+Release:       1
+License:       GPL v2
+Group:         Applications/System
+Source0:       
http://libguestfs.org/download/supermin/%{name}-%{version}.tar.gz
+# Source0-md5: aabb7d64ece00f363f110ff387ef2916
+URL:           http://people.redhat.com/~rjones/supermin/
+BuildRequires: e2fsprogs
+BuildRequires: e2fsprogs-devel
+BuildRequires: gawk
+BuildRequires: libcom_err-devel
+BuildRequires: ocaml >= 3.04-7
+BuildRequires: ocaml-findlib
+# not needed in releases (BTW: perldoc is checked, but pod2man is actually 
used)
+#BuildRequires:        perl-perldoc
+#BuildRequires:        perl-tools-pod
+BuildRequires: zlib-devel
+Requires:      %{name}-supermin-helper = %{version}-%{release}
+Suggests:      filelight
+Suggests:      qemu
+Suggests:      yum >= 3.2
+Suggests:      yum-utils
+Obsoletes:     febootstrap < 4
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Supermin is a tool for building supermin appliances. These are tiny
+appliances [similar to virtual machines], usually around 100KB in
+size, which get fully instantiated on-the-fly in a fraction of a
+second when you need to boot one of them.
+
+%description -l pl.UTF-8
+Supermin to narzędzie do tworzenia minimalistycznych instalacji
+zwanych "appliance". Są to małe instalacje (podobne do maszyn
+wirtualnych), zwykle mające ok. 100kB, które można zainstalować w
+całości w locie w ciągu ułamku sekundy, kiedy zachodzi potrzeba
+uruchomienia takowej.
+
+%package helper
+Summary:       Runtime support for supermin
+Summary(pl.UTF-8):     Wsparcie uruchomieniowe dla narzędzia supermin
+Group:         Development/Tools
+Requires:      util-linux
+Requires:      cpio
+Requires:      /sbin/mke2fs
+Obsoletes:     febootstrap-supermin-helper < 4
+
+%description helper
+This package contains the runtime support for supermin.
+
+%description helper -l pl.UTF-8
+Ten pakiet zawiera wsparcie uruchomieniowe dla narzędzia supermin.
+
+%prep
+%setup -q
+
+%build
+%configure \
+       APT_CACHE="apg-cache" \
+       APTITUDE="aptitude" \
+       DPKG="dpkg" \
+       MKE2FS=/sbin/mke2fs \
+       PACMAN="pacman" \
+       RPM="rpm" \
+       YUM="yum" \
+       YUMDOWNLOADER="yumdownloader"
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README TODO
+%attr(755,root,root) %{_bindir}/supermin
+%{_mandir}/man8/supermin.8*
+
+%files helper
+%defattr(644,root,root,755)
+%doc helper/README
+%attr(755,root,root) %{_bindir}/supermin-helper
+%{_mandir}/man8/supermin-helper.8*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/supermin.git/commitdiff/0510fe7ab3e7553781e3901ba845f430609c666a

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to