source:
ProjectBuilder/projects/mondorescue/pbconf/branches/3.2/mindi-busybox/rpm/mindi-busybox.spec@
2526
Last change on this file since 2526 was 2115, checked in by , 8 years ago | |
---|---|
File size: 847 bytes |
Rev | Line | |
---|---|---|
[384] | 1 | # |
2 | # $Id$ | |
3 | # | |
[2115] | 4 | %define srcname PBPKG |
5 | ||
[1439] | 6 | Summary: PBSUMMARY |
[384] | 7 | Name: PBPKG |
8 | Version: PBVER | |
9 | Release: PBTAGPBSUF | |
[1770] | 10 | License: GPLv2 |
[384] | 11 | Group: PBGRP |
[488] | 12 | Url: PBURL |
[429] | 13 | Source: PBREPO/PBSRC |
[384] | 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n) |
[1024] | 15 | PBBUILDREQ |
[1022] | 16 | # Cf: https://bugzilla.redhat.com/show_bug.cgi?id=588550 |
[384] | 17 | ExcludeArch: ppc |
[2081] | 18 | # Avoids to generate debug packages |
19 | %global debug_package %{nil} | |
[384] | 20 | |
21 | %description | |
[1199] | 22 | PBDESC |
[384] | 23 | |
24 | %prep | |
[2115] | 25 | %setup -q -n %{name}-%{version}PBEXTDIR |
[384] | 26 | |
27 | %build | |
28 | make oldconfig | |
29 | make busybox | |
30 | ||
31 | %install | |
[488] | 32 | rm -rf $RPM_BUILD_ROOT |
[384] | 33 | |
[1805] | 34 | export DESTDIR=${RPM_BUILD_ROOT}%{_libdir}/mindi/rootfs |
[384] | 35 | make CONFIG_PREFIX=$DESTDIR install |
[1805] | 36 | # Make it compatible with latest crazy /bin removal |
37 | ./mondo-install.sh | |
[384] | 38 | |
39 | %clean | |
[488] | 40 | rm -rf $RPM_BUILD_ROOT |
[384] | 41 | |
42 | %files | |
43 | %defattr(-,root,root) | |
[2082] | 44 | %doc ChangeLog LICENSE AUTHORS README TODO NEWS |
[384] | 45 | #svn.log |
[1788] | 46 | %{_libdir}/mindi/rootfs |
[384] | 47 | |
48 | %changelog | |
49 | PBLOG |
Note:
See TracBrowser
for help on using the repository browser.