source: MondoRescue/branches/stable/mindi-busybox/distributions/rpm/mindi-busybox.spec@ 825

Last change on this file since 825 was 825, checked in by Bruno Cornec, 18 years ago
File size: 745 bytes
Line 
1#
2# $Id$
3#
4Summary: Busybox version suited for Mindi
5Name: mindi-busybox
6Version: VVV
7Release: RRR
8License: GPL
9Group: GRP
10Url: http://www.mondorescue.org
11Source: SSS
12BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
13ExcludeArch: ppc
14Requires: binutils, DDD
15OBS
16# Not on all systems
17#Conflicts: bonnie++
18
19%description
20This package provides a busybox version suited for Mindi.
21
22%prep
23%setup -n %name-%{version}
24
25%build
26%configure
27make busybox
28
29%install
30%{__rm} -rf $RPM_BUILD_ROOT
31
32DESTDIR=$RPM_BUILD_ROOT/usr/lib/mindi/rootfs/sbin
33mkdir -p $DESTDIR
34cp -a busybox $DESTDIR
35
36%clean
37%{__rm} -rf $RPM_BUILD_ROOT
38
39%post
40
41%files
42%defattr(-,root,root)
43%doc ChangeLog INSTALL COPYING README svn.log
44%{_libdir}/mindi
45
46%changelog
Note: See TracBrowser for help on using the repository browser.