aboutsummaryrefslogtreecommitdiff
path: root/busybox/examples/busybox.spec
diff options
context:
space:
mode:
Diffstat (limited to 'busybox/examples/busybox.spec')
-rw-r--r--busybox/examples/busybox.spec44
1 files changed, 44 insertions, 0 deletions
diff --git a/busybox/examples/busybox.spec b/busybox/examples/busybox.spec
new file mode 100644
index 000000000..3986436c1
--- /dev/null
+++ b/busybox/examples/busybox.spec
@@ -0,0 +1,44 @@
1%define name busybox
2%define epoch 0
3%define version 0.61.pre
4%define release %(date -I | sed -e 's/-/_/g')
5%define serial 1
6
7Name: %{name}
8#Epoch: %{epoch}
9Version: %{version}
10Release: %{release}
11Serial: %{serial}
12Copyright: GPL
13Group: System/Utilities
14Summary: BusyBox is a tiny suite of Unix utilities in a multi-call binary.
15URL: http://busybox.net/
16Source: ftp://busybox.net/busybox/%{name}-%{version}.tar.gz
17Buildroot: /var/tmp/%{name}-%{version}
18Packager : Erik Andersen <andersen@codepoet.org>
19
20%Description
21BusyBox combines tiny versions of many common UNIX utilities into a single
22small executable. It provides minimalist replacements for most of the utilities
23you usually find in fileutils, shellutils, findutils, textutils, grep, gzip,
24tar, etc. BusyBox provides a fairly complete POSIX environment for any small
25or emdedded system. The utilities in BusyBox generally have fewer options then
26their full featured GNU cousins; however, the options that are provided behave
27very much like their GNU counterparts.
28
29%Prep
30%setup -q -n %{name}-%{version}
31
32%Build
33make
34
35%Install
36rm -rf $RPM_BUILD_ROOT
37make PREFIX=$RPM_BUILD_ROOT install
38
39%Clean
40rm -rf $RPM_BUILD_ROOT
41
42%Files
43%defattr(-,root,root)
44/