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

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

Fix for mindi-busybox build

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