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 |
|
---|
21 | %description
|
---|
22 | PBDESC
|
---|
23 |
|
---|
24 | %prep
|
---|
25 | %setup -q -n %{name}-%{version}PBEXTDIR
|
---|
26 |
|
---|
27 | %build
|
---|
28 | make oldconfig
|
---|
29 | make busybox
|
---|
30 |
|
---|
31 | %install
|
---|
32 | rm -rf $RPM_BUILD_ROOT
|
---|
33 |
|
---|
34 | export DESTDIR=${RPM_BUILD_ROOT}%{_libdir}/mindi/rootfs
|
---|
35 | make CONFIG_PREFIX=$DESTDIR install
|
---|
36 | # Make it compatible with latest crazy /bin removal
|
---|
37 | ./mondo-install.sh
|
---|
38 |
|
---|
39 | %clean
|
---|
40 | rm -rf $RPM_BUILD_ROOT
|
---|
41 |
|
---|
42 | %files
|
---|
43 | %defattr(-,root,root)
|
---|
44 | %doc ChangeLog LICENSE AUTHORS README TODO NEWS
|
---|
45 | #svn.log
|
---|
46 | %{_libdir}/mindi/rootfs
|
---|
47 |
|
---|
48 | %changelog
|
---|
49 | PBLOG
|
---|
Note:
See
TracBrowser
for help on using the repository browser.