# # 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: 5.1.13 Release: 0 Url: http://libguestfs.org/ Summary: Bootstrapping tool for creating supermin appliances License: GPL-2.0 Group: System/Filesystems Provides: febootstrap Requires: distribution-release Requires: xmlstarlet Requires: zypper BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: http://libguestfs.org/download/supermin/supermin-%{version}.tar.xz %if "%{?_ignore_exclusive_arch}" == "" ExclusiveArch: x86_64 ppc64 ppc64le s390x aarch64 %endif BuildRequires: autoconf BuildRequires: automake BuildRequires: e2fsprogs %if %suse_version >= 1210 BuildRequires: glibc-devel-static %endif BuildRequires: ncurses-devel BuildRequires: ocaml BuildRequires: ocaml-findlib BuildRequires: pkg-config BuildRequires: pkgconfig(com_err) BuildRequires: pkgconfig(ext2fs) BuildRequires: pkgconfig(rpm) BuildRequires: xz-devel BuildRequires: zlib-devel %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 export ZYPPER=zypper export ZYPPER=/usr/bin/zypper 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