source: ProjectBuilder/projects/mondorescue/pbconf/branches/2.2.8/mindi-busybox/rpm/mindi-busybox.spec@ 648

Last change on this file since 648 was 648, checked in by Bruno Cornec, 15 years ago

mindi-busybox needs gcc to be built

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