SHA256
1
0
forked from pool/supermin

- initial package version 4.1.1

OBS-URL: https://build.opensuse.org/package/show/Virtualization/supermin?expand=0&rev=1
This commit is contained in:
Olaf Hering 2013-03-09 16:46:38 +00:00 committed by Git OBS Bridge
commit 19d539248f
6 changed files with 113 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

7
get_release_number.sh Normal file
View File

@ -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

3
supermin-4.1.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a903db51432e77d30ff2ddb7234bb2db97011bab9e1e09ccfe317eded7bc8d7
size 623367

5
supermin.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Sat Mar 9 17:44:29 CET 2013 - ohering@suse.de
- initial package version 4.1.1

74
supermin.spec Normal file
View File

@ -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