From 19d539248fbdb0302d37c5fb6aa11ee4188086aa652eeb00707d7d4a52f73629 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Sat, 9 Mar 2013 16:46:38 +0000 Subject: [PATCH] - initial package version 4.1.1 OBS-URL: https://build.opensuse.org/package/show/Virtualization/supermin?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + get_release_number.sh | 7 ++++ supermin-4.1.1.tar.gz | 3 ++ supermin.changes | 5 +++ supermin.spec | 74 +++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 113 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 get_release_number.sh create mode 100644 supermin-4.1.1.tar.gz create mode 100644 supermin.changes create mode 100644 supermin.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/get_release_number.sh b/get_release_number.sh new file mode 100644 index 0000000..dba2b77 --- /dev/null +++ b/get_release_number.sh @@ -0,0 +1,7 @@ +#! /bin/sh +if test "$PWD" = "/" || test "$PWD" = "$HOME" +then + s=${BASH_SOURCE[0]} + cd "${s%/*}" +fi +exec env -i TZ=UTC /bin/date --reference="`/bin/ls -td * | head -n 1`" +%Y%m%d.%H%M%S diff --git a/supermin-4.1.1.tar.gz b/supermin-4.1.1.tar.gz new file mode 100644 index 0000000..249de4c --- /dev/null +++ b/supermin-4.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a903db51432e77d30ff2ddb7234bb2db97011bab9e1e09ccfe317eded7bc8d7 +size 623367 diff --git a/supermin.changes b/supermin.changes new file mode 100644 index 0000000..fbd584a --- /dev/null +++ b/supermin.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sat Mar 9 17:44:29 CET 2013 - ohering@suse.de + +- initial package version 4.1.1 + diff --git a/supermin.spec b/supermin.spec new file mode 100644 index 0000000..93a3787 --- /dev/null +++ b/supermin.spec @@ -0,0 +1,74 @@ +# +# spec file for package supermin +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: supermin +Version: 4.1.1 +Release: %(bash %_sourcedir/get_release_number.sh) +Url: http://libguestfs.org/ +ExclusiveArch: %ix86 x86_64 +Summary: Bootstrapping tool for creating supermin appliances +License: GPL-2.0 +Group: System/Filesystems +Provides: febootstrap +Obsoletes: febootstrap +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source0: http://libguestfs.org/download/supermin/supermin-%{version}.tar.gz +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: e2fsprogs +BuildRequires: e2fsprogs-devel +%if %suse_version >= 1210 +BuildRequires: glibc-devel-static +%endif +BuildRequires: ocaml +BuildRequires: ocaml-findlib +BuildRequires: pkg-config +BuildRequires: zypper + +%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. + +%prep +%setup -q + +%build +touch INSTALL NEWS AUTHORS ChangeLog +autoreconf -fi +%configure --help +%configure +make \ + %{?_smp_mflags} + +%install +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -ls + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr (-,root,root) +%doc README +%doc TODO +/usr/bin/* +%{_mandir}/*/* + +%changelog