source: MondoRescue/branches/stable/mindi-busybox/examples/busybox.spec@ 821

Last change on this file since 821 was 821, checked in by Bruno Cornec, 18 years ago

Addition of busybox 1.2.1 as a mindi-busybox new package
This should avoid delivering binary files in mindi not built there (Fedora and Debian are quite serious about that)

File size: 1.2 KB
Line 
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/
Note: See TracBrowser for help on using the repository browser.