source:
ProjectBuilder/projects/mondorescue/pbconf/tags/3.2.2/mindi-busybox/rpm/mindi-busybox.spec@
2609
Last change on this file since 2609 was 2081, checked in by , 8 years ago | |
---|---|
File size: 795 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 |
[2081] | 16 | # Avoids to generate debug packages |
17 | %global debug_package %{nil} | |
[384] | 18 | |
19 | %description | |
[1199] | 20 | PBDESC |
[384] | 21 | |
22 | %prep | |
[1789] | 23 | %setup -q |
[384] | 24 | |
25 | %build | |
26 | make oldconfig | |
27 | make busybox | |
28 | ||
29 | %install | |
[488] | 30 | rm -rf $RPM_BUILD_ROOT |
[384] | 31 | |
[1805] | 32 | export DESTDIR=${RPM_BUILD_ROOT}%{_libdir}/mindi/rootfs |
[384] | 33 | make CONFIG_PREFIX=$DESTDIR install |
[1805] | 34 | # Make it compatible with latest crazy /bin removal |
35 | ./mondo-install.sh | |
[384] | 36 | |
37 | %clean | |
[488] | 38 | rm -rf $RPM_BUILD_ROOT |
[384] | 39 | |
40 | %files | |
41 | %defattr(-,root,root) | |
[1770] | 42 | %doc ChangeLog LICENSE AUTHORS README TODO NEWS |
[384] | 43 | #svn.log |
[1788] | 44 | %{_libdir}/mindi/rootfs |
[384] | 45 | |
46 | %changelog | |
47 | PBLOG |
Note:
See TracBrowser
for help on using the repository browser.