X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=examples%2Fbusybox.spec;h=3986436c164f723aba377cfd5b01d8099ecfdd9c;hb=fb29b462012e43d2559f0cdf7b1051d4a7f82ef6;hp=b8e1a201ebfd00708db94389c1a61552ab198cb6;hpb=a75e2867435faa68ea03735fe09ad298fa3e4e72;p=oweals%2Fbusybox.git diff --git a/examples/busybox.spec b/examples/busybox.spec index b8e1a201e..3986436c1 100644 --- a/examples/busybox.spec +++ b/examples/busybox.spec @@ -1,13 +1,21 @@ -Name: busybox -Version: 0.51 -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 combines tiny versions of many common UNIX utilities into a single @@ -19,7 +27,7 @@ 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 @@ -31,6 +39,6 @@ make PREFIX=$RPM_BUILD_ROOT install %Clean rm -rf $RPM_BUILD_ROOT -%Files +%Files %defattr(-,root,root) /