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

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

Provides before Conflicts for mindi-busybox

File size: 730 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
14Provides: busybox
15Conflicts: busybox
16OBS
17
18%description
19This package provides a busybox version suited for Mindi.
20
21%prep
22%setup -n %name-%{version}
23
24%build
25make oldconfig
26make busybox
27
28%install
29%{__rm} -rf $RPM_BUILD_ROOT
30
31DESTDIR=${RPM_BUILD_ROOT}%{_libdir}/mindi/rootfs
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 LICENSE AUTHORS README TODO changelog svn.log
42%{_libdir}/mindi
43
44%changelog
Note: See TracBrowser for help on using the repository browser.