source:
ProjectBuilder/projects/mondorescue/pbconf/branches/3.2/mindi-busybox/rpm/mindi-busybox.spec@
2074
Last change on this file since 2074 was 1805, checked in by , 11 years ago | |
---|---|
File size: 730 bytes |
Rev | Line | |
---|---|---|
[384] | 1 | # |
2 | # $Id$ | |
3 | # | |
[1439] | 4 | Summary: PBSUMMARY |
[384] | 5 | Name: PBPKG |
6 | Version: PBVER | |
7 | Release: PBTAGPBSUF | |
[1770] | 8 | License: GPLv2 |
[384] | 9 | Group: PBGRP |
[488] | 10 | Url: PBURL |
[429] | 11 | Source: PBREPO/PBSRC |
[384] | 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n) |
[1024] | 13 | PBBUILDREQ |
[1022] | 14 | # Cf: https://bugzilla.redhat.com/show_bug.cgi?id=588550 |
[384] | 15 | ExcludeArch: ppc |
16 | ||
17 | %description | |
[1199] | 18 | PBDESC |
[384] | 19 | |
20 | %prep | |
[1789] | 21 | %setup -q |
[384] | 22 | |
23 | %build | |
24 | make oldconfig | |
25 | make busybox | |
26 | ||
27 | %install | |
[488] | 28 | rm -rf $RPM_BUILD_ROOT |
[384] | 29 | |
[1805] | 30 | export DESTDIR=${RPM_BUILD_ROOT}%{_libdir}/mindi/rootfs |
[384] | 31 | make CONFIG_PREFIX=$DESTDIR install |
[1805] | 32 | # Make it compatible with latest crazy /bin removal |
33 | ./mondo-install.sh | |
[384] | 34 | |
35 | %clean | |
[488] | 36 | rm -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 | |
45 | PBLOG |
Note:
See TracBrowser
for help on using the repository browser.