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

Last change on this file since 916 was 916, checked in by Bruno Cornec, 17 years ago

Fixes to support CentOS build
Fixes for build errors reporetd by Andy Wright (mondo_at_eltofts.homelinux.com)

File size: 693 bytes
RevLine 
[823]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)
[888]13REQ
[844]14ExcludeArch: ppc
[823]15
16%description
17This package provides a busybox version suited for Mindi.
18
19%prep
20%setup -n %name-%{version}
21
22%build
[830]23make oldconfig
[825]24make busybox
[823]25
26%install
27%{__rm} -rf $RPM_BUILD_ROOT
28
[842]29DESTDIR=${RPM_BUILD_ROOT}%{_libdir}/mindi/rootfs
[829]30make PREFIX=$DESTDIR install
[825]31
[823]32%clean
33%{__rm} -rf $RPM_BUILD_ROOT
34
35%post
36
37%files
38%defattr(-,root,root)
[832]39%doc ChangeLog INSTALL LICENSE AUTHORS README TODO changelog svn.log
[823]40%{_libdir}/mindi
41
42%changelog
Note: See TracBrowser for help on using the repository browser.