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

Last change on this file since 830 was 830, checked in by Bruno Cornec, 18 years ago

Need to make oldconfig for busybox before building

File size: 737 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
26make oldconfig
27make busybox
28
29%install
30%{__rm} -rf $RPM_BUILD_ROOT
31
32DESTDIR=$RPM_BUILD_ROOT/usr/lib/mindi/rootfs/sbin
33make PREFIX=$DESTDIR install
34
35%clean
36%{__rm} -rf $RPM_BUILD_ROOT
37
38%post
39
40%files
41%defattr(-,root,root)
42%doc ChangeLog INSTALL COPYING README svn.log
43%{_libdir}/mindi
44
45%changelog
Note: See TracBrowser for help on using the repository browser.