source: ProjectBuilder/projects/mondorescue/pbconf/branches/3.2/mindi-busybox/rpm/mindi-busybox.spec@ 1805

Last change on this file since 1805 was 1805, checked in by Bruno Cornec, 10 years ago
  • mindi-busybox is now built fully under /usr and packge build call the new post install script
File size: 730 bytes
Line 
1#
2# $Id$
3#
4Summary: PBSUMMARY
5Name: PBPKG
6Version: PBVER
7Release: PBTAGPBSUF
8License: GPLv2
9Group: PBGRP
10Url: PBURL
11Source: PBREPO/PBSRC
12BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
13PBBUILDREQ
14# Cf: https://bugzilla.redhat.com/show_bug.cgi?id=588550
15ExcludeArch: ppc
16
17%description
18PBDESC
19
20%prep
21%setup -q
22
23%build
24make oldconfig
25make busybox
26
27%install
28rm -rf $RPM_BUILD_ROOT
29
30export DESTDIR=${RPM_BUILD_ROOT}%{_libdir}/mindi/rootfs
31make CONFIG_PREFIX=$DESTDIR install
32# Make it compatible with latest crazy /bin removal
33./mondo-install.sh
34
35%clean
36rm -rf $RPM_BUILD_ROOT
37
38%files
39%defattr(-,root,root)
40%doc ChangeLog LICENSE AUTHORS README TODO NEWS
41#svn.log
42%{_libdir}/mindi/rootfs
43
44%changelog
45PBLOG
Note: See TracBrowser for help on using the repository browser.