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