Add supermin.spec (derived from febootstrap.spec)
[fedora-specs.git] / supermin.spec
1 Summary:       Tool for creating supermin appliances
2 Name:          supermin
3 Version:       4.1.0
4 Release:       1%{?dist}
5 License:       GPLv2+
6
7 URL:           http://people.redhat.com/~rjones/supermin/
8 Source0:       http://libguestfs.org/download/supermin/%{name}-%{version}.tar.gz
9
10 %if 0%{?rhel} >= 7
11 ExclusiveArch: x86_64
12 %endif
13
14 BuildRequires: /usr/bin/pod2man
15 BuildRequires: yum >= 3.2
16 BuildRequires: /usr/sbin/mke2fs
17 BuildRequires: e2fsprogs-devel
18 BuildRequires: glibc-static, zlib-static
19 BuildRequires: ocaml, ocaml-findlib-devel
20 BuildRequires: prelink
21
22 Requires:      yum >= 3.2
23 Requires:      yum-utils
24 Requires:      supermin-helper = %{version}-%{release}
25
26 # https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries#Packages_granted_exceptions
27 Provides:      bundled(gnulib)
28
29
30 %description
31 Supermin is a tool for building supermin appliances.  These are tiny
32 appliances (similar to virtual machines), usually around 100KB in
33 size, which get fully instantiated on-the-fly in a fraction of a
34 second when you need to boot one of them.
35
36
37 %package helper
38 Summary:       Runtime support for supermin
39 Requires:      util-linux-ng
40 Requires:      cpio
41 Requires:      /usr/sbin/mke2fs
42 # RHBZ#771310
43 Requires:      e2fsprogs-libs >= 1.42
44
45
46 %description helper
47 %{name}-helper contains the runtime support for %{name}.
48
49
50 %prep
51 %setup -q
52
53
54 %build
55 %configure
56 make
57
58
59 %install
60 make DESTDIR=$RPM_BUILD_ROOT install
61
62 # supermin-helper is marked as requiring an executable stack.  This
63 # happens because we use objcopy to create one of the component object
64 # files from a data file.  The program does not in fact require an
65 # executable stack.  The easiest way to fix this is to clear the flag
66 # here.
67 execstack -c $RPM_BUILD_ROOT%{_bindir}/supermin-helper
68
69
70 %files
71 %doc COPYING README
72 %{_bindir}/supermin
73 %{_mandir}/man8/supermin.8*
74
75
76 %files helper
77 %doc COPYING
78 %{_bindir}/supermin-helper
79 %{_mandir}/man8/supermin-helper.8*
80
81
82 %changelog
83 * Tue Feb  5 2013 Richard W.M. Jones <rjones@redhat.com> - 4.1.0-1
84 - The program has been renamed 'supermin' from 'febootstrap'.
85 - New upstream version 4.1.0.
86
87 * Tue Jan 22 2013 Richard W.M. Jones <rjones@redhat.com> - 1:3.21-2
88 - Add upstream patch to drop supplemental groups (RHBZ#902476).
89 - Remove 'Group:' RPM headers which are no longer necessary.
90 - Remove some commented-out requirements.
91
92 * Sat Dec 22 2012 Richard W.M. Jones <rjones@redhat.com> - 1:3.21-1
93 - New upstream version 3.21.
94
95 * Fri Aug 31 2012 Richard W.M. Jones <rjones@redhat.com> - 1:3.20-1
96 - New upstream version 3.20.
97
98 * Wed Aug 22 2012 Richard W.M. Jones <rjones@redhat.com> - 1:3.19-2
99 - Work around brokenness in yum (RHBZ#850913).
100 - Remove defattr, no longer required.
101
102 * Tue Jul 31 2012 Richard W.M. Jones <rjones@redhat.com> - 1:3.19-1
103 - New upstream version 3.19.
104
105 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.18-2
106 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
107
108 * Mon Jun 18 2012 Richard Jones <rjones@redhat.com> - 3.18-1
109 - New upstream version 3.18.
110 - This adds support for EPEL 5.
111
112 * Thu Jun 14 2012 Richard Jones <rjones@redhat.com> - 3.17-1
113 - New upstream version 3.17.
114
115 * Wed Jun 13 2012 Richard Jones <rjones@redhat.com> - 3.16-1
116 - New upstream version 3.16.
117
118 * Tue Jun 12 2012 Richard Jones <rjones@redhat.com> - 3.15-1
119 - New upstream version 3.15.
120 - This version includes root=<device> support, needed for libguestfs
121   with virtio-scsi.
122 - Remove upstream patch.
123
124 * Thu May 17 2012 Richard Jones <rjones@redhat.com> - 3.14-6
125 - For RHEL 7 only, add ExclusiveArch x86-64.
126
127 * Tue May 15 2012 Richard Jones <rjones@redhat.com> - 3.14-5
128 - Bundled gnulib (RHBZ#821752).
129
130 * Fri Apr 13 2012 Richard Jones <rjones@redhat.com> - 3.14-4
131 - Add back explicit dependencies for external programs.
132
133 * Fri Apr 13 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 3.14-3
134 - Drop ExclusiveArch as it's supported on all primary & secondary arches
135 - Cleanup spec and deps
136
137 * Fri Mar 30 2012 Richard Jones <rjones@redhat.com> - 3.14-2
138 - New upstream version 3.14.
139 - Add upstream patch to fix RHBZ#808421.
140
141 * Thu Mar 29 2012 Richard Jones <rjones@redhat.com> - 3.13-4
142 - e2fsprogs moved /sbin/mke2fs to /usr/sbin (thanks Eric Sandeen).
143
144 * Thu Mar  1 2012 Richard Jones <rjones@redhat.com> - 3.13-2
145 - Missing BR zlib-static.
146
147 * Thu Feb  9 2012 Richard Jones <rjones@redhat.com> - 3.13-1
148 - New upstream version 3.13.
149 - Remove upstream patch which is included in this version.
150
151 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12-5
152 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
153
154 * Tue Jan  3 2012 Richard Jones <rjones@redhat.com> - 3.12-4
155 - Depend on latest e2fsprogs (RHBZ#771310).
156
157 * Wed Nov  9 2011 Richard Jones <rjones@redhat.com> - 3.12-2
158 - Include upstream patch to work around Python stupidity.
159
160 * Tue Oct 18 2011 Richard Jones <rjones@redhat.com> - 3.12-1
161 - New upstream version 3.12.
162 - Remove upstream patch which is included in this version.
163
164 * Fri Oct 14 2011 Richard Jones <rjones@redhat.com> - 3.11-2
165 - Add upstream patch to fix febootstrap on non-Debian.
166
167 * Fri Oct 14 2011 Richard Jones <rjones@redhat.com> - 3.11-1
168 - New upstream version 3.11.
169
170 * Thu Sep  1 2011 Richard Jones <rjones@redhat.com> - 3.10-1
171 - New upstream version 3.10.
172
173 * Fri Aug 26 2011 Richard Jones <rjones@redhat.com> - 3.9-1
174 - New upstream version 3.9.
175
176 * Tue Jul 26 2011 Richard Jones <rjones@redhat.com> - 3.8-1
177 - New upstream version 3.8.
178
179 * Fri Jul 15 2011 Richard Jones <rjones@redhat.com> - 3.7-1
180 - New upstream version 3.7.
181
182 * Wed Jun  1 2011 Richard Jones <rjones@redhat.com> - 3.6-1
183 - New upstream version 3.6.
184 - This version no longer needs external insmod.static.
185
186 * Fri May 27 2011 Richard Jones <rjones@redhat.com> - 3.5-1
187 - New upstream version 3.5.
188 - Remove patch which is now upstream.
189
190 * Fri Mar 18 2011 Richard Jones <rjones@redhat.com> - 3.4-2
191 - Don't fail if objects are created in a symlinked dir (RHBZ#698089).
192
193 * Fri Mar 18 2011 Richard Jones <rjones@redhat.com> - 3.4-1
194 - New upstream version 3.4.
195 - febootstrap-supermin-helper Obsoletes older versions of febootstrap.
196
197 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3-5
198 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
199
200 * Fri Jan 14 2011 Richard Jones <rjones@redhat.com> - 3.3-4
201 - Split package into febootstrap (for building) and febootstrap-supermin-helper
202   (for running).  Note that febootstrap depends on febootstrap-supermin-helper,
203   but you can install febootstrap-supermin-helper on its own.
204
205 * Fri Jan 14 2011 Richard Jones <rjones@redhat.com> - 3.3-3
206 - Clear executable stack flag on febootstrap-supermin-helper.
207
208 * Thu Jan 13 2011 Dan HorĂ¡k <dan[at]danny.cz> - 3.3-2
209 - add the ocaml's ExclusiveArch
210
211 * Sat Dec 11 2010 Richard Jones <rjones@redhat.com> - 3.3-1
212 - New upstream version 3.3.
213
214 * Tue Dec  7 2010 Richard Jones <rjones@redhat.com> - 3.2-1
215 - New upstream version 3.2.
216 - Remove upstream patches.
217
218 * Tue Dec  7 2010 Richard Jones <rjones@redhat.com> - 3.1-5
219 - Previous fix for RHBZ#654638 didn't work, fix it correctly.
220
221 * Mon Dec  6 2010 Richard Jones <rjones@redhat.com> - 3.1-4
222 - Properly ignore .*.hmac files (accidental reopening of RHBZ#654638).
223
224 * Mon Dec  6 2010 Richard Jones <rjones@redhat.com> - 3.1-3
225 - Uses yumdownloader at runtime, so require yum-utils.
226
227 * Mon Dec  6 2010 Richard Jones <rjones@redhat.com> - 3.1-2
228 - New upstream version 3.1.
229 - BR insmod.static.
230
231 * Sun Dec  5 2010 Richard Jones <rjones@redhat.com> - 3.0-2
232 - New upstream version 3.0 (note this is incompatible with 2.x).
233 - Fix upstream URLs.
234 - fakeroot, fakechroot no longer required.
235 - insmod.static is required at runtime (missing dependency from earlier).
236 - The only programs are 'febootstrap' and 'febootstrap-supermin-helper'.
237 - BR ocaml, ocaml-findlib-devel.
238 - No examples are provided with this version of febootstrap.
239
240 * Thu Nov 25 2010 Richard Jones <rjones@redhat.com> - 2.11-1
241 - New upstream version 2.11.
242 - Fixes "ext2fs_mkdir .. No free space in directory" bug which affects
243   libguestfs on rawhide.
244
245 * Thu Oct 28 2010 Richard Jones <rjones@redhat.com> - 2.10-1
246 - New upstream version 2.10.
247 - Adds -u and -g options to febootstrap-supermin-helper which are
248   required by virt-v2v.
249
250 * Fri Aug 27 2010 Richard Jones <rjones@redhat.com> - 2.9-1
251 - New upstream version 2.9.
252 - Fixes directory ordering problem in febootstrap-supermin-helper.
253
254 * Tue Aug 24 2010 Richard Jones <rjones@redhat.com> - 2.8-1
255 - New upstream version 2.8.
256
257 * Sat Aug 21 2010 Richard Jones <rjones@redhat.com> - 2.8-0.2
258 - New pre-release version of 2.8.
259   + Note this is based on 2.7 + mailing list patches.
260 - New BRs on mke2fs, libext2fs, glibc-static.
261
262 * Fri May 14 2010 Richard Jones <rjones@redhat.com> - 2.7-2
263 - New upstream version 2.7.
264 - febootstrap-supermin-helper shell script rewritten in C for speed.
265 - This package contains C code so it is no longer 'noarch'.
266 - MAKEDEV isn't required.
267
268 * Fri Jan 22 2010 Richard Jones <rjones@redhat.com> - 2.6-1
269 - New upstream release 2.6.
270 - Recheck package in rpmlint.
271
272 * Thu Oct 22 2009 Richard Jones <rjones@redhat.com> - 2.5-2
273 - New upstream release 2.5.
274 - Remove BR upx (not needed by upstream).
275 - Two more scripts / manpages.
276
277 * Thu Jul 30 2009 Richard Jones <rjones@redhat.com> - 2.4-1
278 - New upstream release 2.4.
279
280 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-2
281 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
282
283 * Mon Jun 15 2009 Richard Jones <rjones@redhat.com> - 2.3-1
284 - New upstream release 2.3.
285
286 * Mon Jun 15 2009 Richard Jones <rjones@redhat.com> - 2.2-1
287 - New upstream release 2.2.
288
289 * Mon May 11 2009 Richard Jones <rjones@redhat.com> - 2.0-1
290 - New upstream release 2.0.
291
292 * Thu May  7 2009 Richard Jones <rjones@redhat.com> - 1.9-1
293 - New upstream release 1.9.
294
295 * Fri May  1 2009 Richard Jones <rjones@redhat.com> - 1.8-1
296 - New upstream release 1.8.
297
298 * Mon Apr 20 2009 Richard Jones <rjones@redhat.com> - 1.7-1
299 - New upstream release 1.7.
300
301 * Tue Apr 14 2009 Richard Jones <rjones@redhat.com> - 1.5-3
302 - Configure script has (unnecessary) BuildRequires on fakeroot,
303   fakechroot, yum.
304
305 * Tue Apr 14 2009 Richard Jones <rjones@redhat.com> - 1.5-2
306 - Initial build for Fedora.