]> git.pld-linux.org Git - packages/busybox.git/blame - busybox.spec
- added more %description,
[packages/busybox.git] / busybox.spec
CommitLineData
ee61dafa
MM
1Summary: Set of common unix utils for embeded systems
2Name: busybox
3Version: 0.50
4Release: 1
5License: GPL
6Group: Applications/File
65512310 7Group(de): Applikationen/Datei
8Group(pl): Aplikacje/Pliki
9Source0: ftp://ftp.lineo.com/pub/busybox/%{name}-%{version}.tar.gz
ee61dafa 10Source1: %{name}-config.h
65512310 11Patch0: %{name}-0.50.patch
12Patch1: %{name}-logconsole.patch
13Patch2: %{name}-tee.patch
14URL: http://busybox.lineo.com/
ee61dafa
MM
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
65512310 18BusyBox combines tiny versions of many common UNIX utilities into a
19single small executable. It provides minimalist replacements for most
20of the utilities you usually find in fileutils, shellutils, findutils,
21textutils, grep, gzip, tar, etc. BusyBox provides a fairly complete
22POSIX environment for any small or embedded system. The utilities in
23BusyBox generally have fewer options than their full-featured GNU
24cousins; however, the options that are included provide the expected
25functionality and behave very much like their GNU counterparts.
26
27BusyBox has been written with size-optimization and limited resources
28in mind. It is also extremely modular so you can easily include or
29exclude commands (or features) at compile time. This makes it easy to
30customize your embedded systems. To create a working system, just add
31a kernel, a shell (such as ash), and an editor (such as elvis-tiny or
32ae).
ee61dafa
MM
33
34%prep
35%setup -q
36%patch0 -p1
37%patch1
38%patch2
39
40%build
41cp %{SOURCE1} Config.h
42%{__make}
43
44%install
45rm -rf $RPM_BUILD_ROOT
65512310 46%{__install} -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/busybox,%{_mandir}/man1}
47
48%{__install} busybox $RPM_BUILD_ROOT%{_bindir}
49%{__install} busybox.links $RPM_BUILD_ROOT%{_libdir}/busybox
50%{__install} docs/BusyBox.1 $RPM_BUILD_ROOT%{_mandir}/man1
51echo ".so BusyBox.1" > $RPM_BUILD_ROOT%{_mandir}/man1/busybox.1
ee61dafa
MM
52
53gzip -9nf AUTHORS TODO Changelog README
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc *.gz
65512310 61%attr(755,root,root) %{_bindir}/*
62%{_libdir}/busybox
63%{_mandir}/man1/*
This page took 0.121954 seconds and 4 git commands to generate.