Eric Andersen | f52947b | 2001-07-09 18:34:12 +0000 | [diff] [blame] | 1 | %define name busybox |
| 2 | %define epoch 0 |
Eric Andersen | d36cdd2 | 2001-08-22 04:16:36 +0000 | [diff] [blame] | 3 | %define version 0.61.pre |
Eric Andersen | f52947b | 2001-07-09 18:34:12 +0000 | [diff] [blame] | 4 | %define release %(date -I | sed -e 's/-/_/g') |
| 5 | %define serial 1 |
| 6 | |
| 7 | Name: %{name} |
| 8 | #Epoch: %{epoch} |
| 9 | Version: %{version} |
| 10 | Release: %{release} |
| 11 | Serial: %{serial} |
| 12 | Copyright: GPL |
Eric Andersen | cc8ed39 | 1999-10-05 16:24:54 +0000 | [diff] [blame] | 13 | Group: System/Utilities |
| 14 | Summary: BusyBox is a tiny suite of Unix utilities in a multi-call binary. |
Eric Andersen | 2423b12 | 2001-12-08 01:56:15 +0000 | [diff] [blame] | 15 | URL: http://busybox.net/ |
| 16 | Source: ftp://busybox.net/busybox/%{name}-%{version}.tar.gz |
Eric Andersen | f52947b | 2001-07-09 18:34:12 +0000 | [diff] [blame] | 17 | Buildroot: /var/tmp/%{name}-%{version} |
Eric Andersen | 4b8a1e8 | 2001-11-20 11:41:37 +0000 | [diff] [blame] | 18 | Packager : Erik Andersen <andersen@codepoet.org> |
Eric Andersen | cc8ed39 | 1999-10-05 16:24:54 +0000 | [diff] [blame] | 19 | |
| 20 | %Description |
Erik Andersen | e90f404 | 2000-04-21 21:53:58 +0000 | [diff] [blame] | 21 | BusyBox combines tiny versions of many common UNIX utilities into a single |
| 22 | small executable. It provides minimalist replacements for most of the utilities |
| 23 | you usually find in fileutils, shellutils, findutils, textutils, grep, gzip, |
| 24 | tar, etc. BusyBox provides a fairly complete POSIX environment for any small |
| 25 | or emdedded system. The utilities in BusyBox generally have fewer options then |
| 26 | their full featured GNU cousins; however, the options that are provided behave |
| 27 | very much like their GNU counterparts. |
Eric Andersen | cc8ed39 | 1999-10-05 16:24:54 +0000 | [diff] [blame] | 28 | |
| 29 | %Prep |
Eric Andersen | f52947b | 2001-07-09 18:34:12 +0000 | [diff] [blame] | 30 | %setup -q -n %{name}-%{version} |
Eric Andersen | cc8ed39 | 1999-10-05 16:24:54 +0000 | [diff] [blame] | 31 | |
| 32 | %Build |
Erik Andersen | 05df239 | 2000-01-13 04:43:48 +0000 | [diff] [blame] | 33 | make |
Eric Andersen | cc8ed39 | 1999-10-05 16:24:54 +0000 | [diff] [blame] | 34 | |
| 35 | %Install |
| 36 | rm -rf $RPM_BUILD_ROOT |
Eric Andersen | eded54b | 1999-11-12 08:03:23 +0000 | [diff] [blame] | 37 | make PREFIX=$RPM_BUILD_ROOT install |
Eric Andersen | cc8ed39 | 1999-10-05 16:24:54 +0000 | [diff] [blame] | 38 | |
| 39 | %Clean |
| 40 | rm -rf $RPM_BUILD_ROOT |
| 41 | |
| 42 | %Files |
| 43 | %defattr(-,root,root) |
| 44 | / |