Last change
on this file since 1131 was 918, checked in by Bruno Cornec, 18 years ago |
New improvement for build system. By default now try to build in the rpm _topdir and check if it fails, rather than creating a different directory.
|
File size:
686 bytes
|
Rev | Line | |
---|
[823] | 1 | #
|
---|
| 2 | # $Id$
|
---|
| 3 | #
|
---|
| 4 | Summary: Busybox version suited for Mindi
|
---|
| 5 | Name: mindi-busybox
|
---|
| 6 | Version: VVV
|
---|
| 7 | Release: RRR
|
---|
| 8 | License: GPL
|
---|
| 9 | Group: GRP
|
---|
| 10 | Url: http://www.mondorescue.org
|
---|
| 11 | Source: SSS
|
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
---|
[888] | 13 | REQ
|
---|
[844] | 14 | ExcludeArch: ppc
|
---|
[823] | 15 |
|
---|
| 16 | %description
|
---|
| 17 | This package provides a busybox version suited for Mindi.
|
---|
| 18 |
|
---|
| 19 | %prep
|
---|
| 20 | %setup -n %name-%{version}
|
---|
| 21 |
|
---|
| 22 | %build
|
---|
[830] | 23 | make oldconfig
|
---|
[825] | 24 | make busybox
|
---|
[823] | 25 |
|
---|
| 26 | %install
|
---|
| 27 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
| 28 |
|
---|
[842] | 29 | DESTDIR=${RPM_BUILD_ROOT}%{_libdir}/mindi/rootfs
|
---|
[829] | 30 | make PREFIX=$DESTDIR install
|
---|
[825] | 31 |
|
---|
[823] | 32 | %clean
|
---|
| 33 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
| 34 |
|
---|
| 35 | %files
|
---|
| 36 | %defattr(-,root,root)
|
---|
[832] | 37 | %doc ChangeLog INSTALL LICENSE AUTHORS README TODO changelog svn.log
|
---|
[823] | 38 | %{_libdir}/mindi
|
---|
| 39 |
|
---|
| 40 | %changelog
|
---|
Note:
See
TracBrowser
for help on using the repository browser.