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