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
RevLine 
[384]1#
2# $Id$
3#
[1439]4Summary: PBSUMMARY
[384]5Name: PBPKG
6Version: PBVER
7Release: PBTAGPBSUF
[1770]8License: GPLv2
[384]9Group: PBGRP
[488]10Url: PBURL
[429]11Source: PBREPO/PBSRC
[384]12BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
[1024]13PBBUILDREQ
[1022]14# Cf: https://bugzilla.redhat.com/show_bug.cgi?id=588550
[384]15ExcludeArch: ppc
16
17%description
[1199]18PBDESC
[384]19
20%prep
[1789]21%setup -q
[384]22
23%build
24make oldconfig
25make busybox
26
27%install
[488]28rm -rf $RPM_BUILD_ROOT
[384]29
[1805]30export DESTDIR=${RPM_BUILD_ROOT}%{_libdir}/mindi/rootfs
[384]31make CONFIG_PREFIX=$DESTDIR install
[1805]32# Make it compatible with latest crazy /bin removal
33./mondo-install.sh
[384]34
35%clean
[488]36rm -rf $RPM_BUILD_ROOT
[384]37
38%files
39%defattr(-,root,root)
[1770]40%doc ChangeLog LICENSE AUTHORS README TODO NEWS
[384]41#svn.log
[1788]42%{_libdir}/mindi/rootfs
[384]43
44%changelog
45PBLOG
Note: See TracBrowser for help on using the repository browser.