Last change
on this file since 1986 was 1805, checked in by Bruno Cornec, 11 years ago |
- mindi-busybox is now built fully under /usr and packge build call the
new post install script
|
File size:
730 bytes
|
Line | |
---|
1 | #
|
---|
2 | # $Id$
|
---|
3 | #
|
---|
4 | Summary: PBSUMMARY
|
---|
5 | Name: PBPKG
|
---|
6 | Version: PBVER
|
---|
7 | Release: PBTAGPBSUF
|
---|
8 | License: GPLv2
|
---|
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 | PBDESC
|
---|
19 |
|
---|
20 | %prep
|
---|
21 | %setup -q
|
---|
22 |
|
---|
23 | %build
|
---|
24 | make oldconfig
|
---|
25 | make busybox
|
---|
26 |
|
---|
27 | %install
|
---|
28 | rm -rf $RPM_BUILD_ROOT
|
---|
29 |
|
---|
30 | export DESTDIR=${RPM_BUILD_ROOT}%{_libdir}/mindi/rootfs
|
---|
31 | make CONFIG_PREFIX=$DESTDIR install
|
---|
32 | # Make it compatible with latest crazy /bin removal
|
---|
33 | ./mondo-install.sh
|
---|
34 |
|
---|
35 | %clean
|
---|
36 | rm -rf $RPM_BUILD_ROOT
|
---|
37 |
|
---|
38 | %files
|
---|
39 | %defattr(-,root,root)
|
---|
40 | %doc ChangeLog LICENSE AUTHORS README TODO NEWS
|
---|
41 | #svn.log
|
---|
42 | %{_libdir}/mindi/rootfs
|
---|
43 |
|
---|
44 | %changelog
|
---|
45 | PBLOG
|
---|
Note:
See
TracBrowser
for help on using the repository browser.