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

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

Adds support for other RPM based distro with appropriate filters

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