X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=examples%2Fbusybox.spec;h=494eed94135d3a4f112d0acfce727f08c8e0dffd;hb=88ce2748e4c26991facfa57f89f2b2637bd8fa73;hp=dc03da0048cc30f447ad6107ec4a2ada1d04b911;hpb=e272915e1ffd6978ef3555ce4ae1798a9fbcee56;p=oweals%2Fbusybox.git diff --git a/examples/busybox.spec b/examples/busybox.spec index dc03da004..494eed941 100644 --- a/examples/busybox.spec +++ b/examples/busybox.spec @@ -1,35 +1,44 @@ -Name: busybox -Version: 0.43 -Release: 1 +%define name busybox +%define epoch 0 +%define version 0.61.pre +%define release %(date -I | sed -e 's/-/_/g') +%define serial 1 + +Name: %{name} +#Epoch: %{epoch} +Version: %{version} +Release: %{release} +Serial: %{serial} +Copyright: GPL Group: System/Utilities Summary: BusyBox is a tiny suite of Unix utilities in a multi-call binary. -Copyright: GPL -Packager : Erik Andersen -Conflicts: fileutils grep shellutils -Buildroot: /tmp/%{Name}-%{Version} -Source: %{Name}-%{Version}.tar.gz +URL: http://busybox.net/ +Source: ftp://busybox.net/busybox/%{name}-%{version}.tar.gz +Buildroot: /var/tmp/%{name}-%{version} +Packager : Erik Andersen %Description -BusyBox is a suite of "tiny" Unix utilities in a multi-call binary. It -provides a pretty complete POSIX environment in a very small package. -Just add a kernel, "ash" (Keith Almquists tiny Bourne shell clone), and -an editor such as "elvis-tiny" or "ae", and you have a full system. This -is makes an excellent environment for a "rescue" disk or any small or -embedded system. +BusyBox combines tiny versions of many common UNIX utilities into a single +small executable. It provides minimalist replacements for most of the utilities +you usually find in fileutils, shellutils, findutils, textutils, grep, gzip, +tar, etc. BusyBox provides a fairly complete POSIX environment for any small +or emdedded system. The utilities in BusyBox generally have fewer options then +their full featured GNU cousins; however, the options that are provided behave +very much like their GNU counterparts. %Prep -%setup -q -n %{Name}-%{Version} +%setup -q -n %{name}-%{version} %Build make %Install rm -rf $RPM_BUILD_ROOT -make PREFIX=$RPM_BUILD_ROOT install +make CONFIG_PREFIX=$RPM_BUILD_ROOT install %Clean rm -rf $RPM_BUILD_ROOT -%Files +%Files %defattr(-,root,root) /