source:
ProjectBuilder/projects/mondorescue/pbconf/branches/3.3/mindi-busybox/rpm/mindi-busybox.spec@
2670
Last change on this file since 2670 was 2661, checked in by , 4 years ago | |
---|---|
File size: 873 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} | |
[2660] | 20 | PBPATCHSRC |
[384] | 21 | |
22 | %description | |
[1199] | 23 | PBDESC |
[384] | 24 | |
25 | %prep | |
[2115] | 26 | %setup -q -n %{name}-%{version}PBEXTDIR |
[2660] | 27 | PBPATCHCMD |
[384] | 28 | |
29 | %build | |
30 | make oldconfig | |
[2661] | 31 | make V=1 busybox |
[384] | 32 | |
33 | %install | |
[488] | 34 | rm -rf $RPM_BUILD_ROOT |
[384] | 35 | |
[1805] | 36 | export DESTDIR=${RPM_BUILD_ROOT}%{_libdir}/mindi/rootfs |
[384] | 37 | make CONFIG_PREFIX=$DESTDIR install |
[1805] | 38 | # Make it compatible with latest crazy /bin removal |
39 | ./mondo-install.sh | |
[384] | 40 | |
41 | %clean | |
[488] | 42 | rm -rf $RPM_BUILD_ROOT |
[384] | 43 | |
44 | %files | |
45 | %defattr(-,root,root) | |
[2082] | 46 | %doc ChangeLog LICENSE AUTHORS README TODO NEWS |
[384] | 47 | #svn.log |
[1788] | 48 | %{_libdir}/mindi/rootfs |
[384] | 49 | |
50 | %changelog | |
51 | PBLOG |
Note:
See TracBrowser
for help on using the repository browser.