source: MondoRescue/branches/2.2.5/pbconf/mindi-busybox/rpm/mindi-busybox.spec@ 1806

Last change on this file since 1806 was 1806, checked in by Bruno Cornec, 16 years ago

Adaptation of build process to upcoming 0.8.12 version of pb

File size: 702 bytes
Line 
1#
2# $Id$
3#
4Summary: Busybox version suited for Mindi
5Name: PBPKG
6Version: PBVER
7Release: PBTAGPBSUF
8License: GPL
9Group: PBGRP
10Url: http://www.mondorescue.org
11Source: PBSRC
12BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
13PBREQ
14ExcludeArch: ppc
15
16%description
17This package provides a busybox version suited for Mindi.
18
19%prep
20%setup -n %name-%{version}
21
22%build
23make oldconfig
24make busybox
25
26%install
27%{__rm} -rf $RPM_BUILD_ROOT
28
29DESTDIR=${RPM_BUILD_ROOT}%{_libdir}/mindi/rootfs
30make CONFIG_PREFIX=$DESTDIR install
31
32%clean
33%{__rm} -rf $RPM_BUILD_ROOT
34
35%files
36%defattr(-,root,root)
37%doc ChangeLog INSTALL LICENSE AUTHORS README TODO NEWS #svn.log
38%{_libdir}/mindi
39
40%changelog
41PBLOG
Note: See TracBrowser for help on using the repository browser.