File supermin.spec of Package supermin (Revision d571e080961a4fbaaa448e590cccec83)
Currently displaying revision d571e080961a4fbaaa448e590cccec83 , Show latest
xxxxxxxxxx
1
#
2
# spec file for package supermin
3
#
4
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
5
#
6
# All modifications and additions to the file contributed by third parties
7
# remain the property of their copyright owners, unless otherwise agreed
8
# upon. The license for this file, and modifications and additions to the
9
# file, is the same license as for the pristine package itself (unless the
10
# license for the pristine package is not an Open Source License, in which
11
# case the license is the MIT License). An "Open Source License" is a
12
# license that conforms to the Open Source Definition (Version 1.9)
13
# published by the Open Source Initiative.
14
15
# Please submit bugfixes or comments via http://bugs.opensuse.org/
16
#
17
18
19
Name: supermin
20
Version: 5.1.18
21
Release: 2.46
22
%{ocaml_preserve_bytecode}
23
Url: http://libguestfs.org/
24
Summary: Bootstrapping tool for creating supermin appliances
25
License: GPL-3.0+
26
Group: System/Filesystems
27
Provides: febootstrap
28
Requires: distribution-release
29
Requires: xmlstarlet
30
Requires: zypper
31
BuildRoot: %{_tmppath}/%{name}-%{version}-build
32
Source0: supermin-%{version}.tar.xz
33
# Pending upstream review
34
Patch0: suse_release.patch
35
%if "%{?_ignore_exclusive_arch}" == ""
36
ExclusiveArch: x86_64 ppc64 ppc64le s390x aarch64
37
%endif
38
39
BuildRequires: autoconf
40
BuildRequires: automake
41
BuildRequires: e2fsprogs
42
BuildRequires: glibc-devel-static
43
BuildRequires: gzip
44
BuildRequires: ncurses-devel
45
BuildRequires: ocaml
46
BuildRequires: ocaml-findlib
47
BuildRequires: ocaml-rpm-macros >= 4.02.1
48
BuildRequires: pkg-config
49
BuildRequires: xz
50
BuildRequires: xz-devel
51
BuildRequires: zlib-devel
52
BuildRequires: pkgconfig(com_err)
53
BuildRequires: pkgconfig(ext2fs)
54
BuildRequires: pkgconfig(rpm)
55
56
%description
57
supermin is a tool for building supermin appliances. These are tiny
58
appliances (similar to virtual machines), usually around 100KB in size,
59
which get fully instantiated on-the-fly in a fraction of a second when
60
you need to boot one of them.
61
62
%prep
63
%setup -q
64
%patch0 -p1
65
66
%build
67
export ZYPPER=zypper
68
export ZYPPER=/usr/bin/zypper
69
touch INSTALL NEWS AUTHORS ChangeLog
70
autoreconf -fi
71
%configure --help
72
%configure
73
make \
74
%{?_smp_mflags}
75
76
%install
77
make install DESTDIR=$RPM_BUILD_ROOT
78
find $RPM_BUILD_ROOT -ls
79
80
%files
81
%defattr (-,root,root)
82
%doc README
83
%doc TODO
84
/usr/bin/*
85
%{_mandir}/*/*
86
87
%changelog
88
* Thu Aug 31 2017 cbosdonnat@suse.com
89
- Distro detection: also use ID_LIKE to catch suse distros
90
add patch: suse_release.patch
91
* Thu Jul 13 2017 cbosdonnat@suse.com
92
- Update to version 5.1.18
93
* Tue May 30 2017 olaf@aepfle.de
94
- Update to version 5.1.17
95
remove 0001-add_simple_handling_of_os-release.patch
96
remove 0002-use_os-release_to_detect_the_distro.patch
97
remove 0003-tests_use__etc_os-release_in_test-harder.patch
98
* Thu Sep 8 2016 cbosdonnat@suse.com
99
- Remove use of SuSE-release and use os-release instead. (bsc#997936)
100
0001-add_simple_handling_of_os-release.patch
101
0002-use_os-release_to_detect_the_distro.patch
102
0003-tests_use__etc_os-release_in_test-harder.patch
103
* Thu May 26 2016 cbosdonnat@suse.com
104
- fate#316274
105
* Wed May 25 2016 olaf@aepfle.de
106
- Preserve bytecode
107
* Fri Oct 23 2015 olaf@aepfle.de
108
- Update to version 5.1.13
109
* Mon Oct 20 2014 ohering@suse.com
110
- Update to version 5.1.10
111
* Tue May 13 2014 ohering@suse.de
112
- Update to version 5.1.8
113
* Mon Aug 19 2013 ohering@suse.de
114
- Update to version 4.1.3
115
* Tue Jun 4 2013 ohering@suse.de
116
- zypp: Only compile zypper support if OCaml inifiles module is found.
117
- zypp: Trailing whitespace.
118
- Handle --packager-config in zypp_rpm
119
- helper: Add a note that cpio might not be able to read -f cpio files.
120
- helper: Add megaraid drivers to the initrd.
121
* Tue Apr 9 2013 ohering@suse.de
122
- add changes to support zypper
123
* Sat Mar 9 2013 ohering@suse.de
124
- initial package version 4.1.1
125