Line | |
---|
1 | #
|
---|
2 | # $Id$
|
---|
3 | #
|
---|
4 | Summary: Busybox version suited for Mindi
|
---|
5 | Name: PBPKG
|
---|
6 | Version: PBVER
|
---|
7 | Release: PBTAGPBSUF
|
---|
8 | License: PBLIC
|
---|
9 | Group: PBGRP
|
---|
10 | Url: PBURL
|
---|
11 | Source: PBREPO/PBSRC
|
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
---|
13 | PBBUILDREQ
|
---|
14 | # Cf: https://bugzilla.redhat.com/show_bug.cgi?id=588550
|
---|
15 | ExcludeArch: ppc
|
---|
16 |
|
---|
17 | %description
|
---|
18 | This package provides a busybox version suited for Mindi.
|
---|
19 |
|
---|
20 | %prep
|
---|
21 | %setup -q -n %name-%{version}
|
---|
22 |
|
---|
23 | %build
|
---|
24 | make oldconfig
|
---|
25 | make busybox
|
---|
26 |
|
---|
27 | %install
|
---|
28 | rm -rf $RPM_BUILD_ROOT
|
---|
29 |
|
---|
30 | DESTDIR=${RPM_BUILD_ROOT}%{_libdir}/mindi/rootfs
|
---|
31 | make CONFIG_PREFIX=$DESTDIR install
|
---|
32 |
|
---|
33 | %clean
|
---|
34 | rm -rf $RPM_BUILD_ROOT
|
---|
35 |
|
---|
36 | %files
|
---|
37 | %defattr(-,root,root)
|
---|
38 | %doc ChangeLog INSTALL LICENSE AUTHORS README TODO NEWS
|
---|
39 | #svn.log
|
---|
40 | %{_libdir}/mindi
|
---|
41 |
|
---|
42 | %changelog
|
---|
43 | PBLOG
|
---|
Note:
See
TracBrowser
for help on using the repository browser.