Summary: Small system utilities for embedded systems Name: embutils Version: 0.19 Release: %mkrel 3 License: GPL Group: System/Base URL: http://www.fefe.de/ Source0: http://www.fefe.de/embutils/%{name}-%{version}.tar.bz2 Source1: http://www.fefe.de/embutils/%{name}-%{version}.tar.bz2.sig BuildRequires: dietlibc-devel >= 0.32 Prefix: %{_libdir}/%{name} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description Most of the typical Unix userland typically comes from either the GNU project or the BSD people. Those sources are ancient and optimized for features, not for small size, and now that computers are fast enough and have lots of RAM, implementations became larger and larger. Features like internationalization eat lots of memory and disk space. For embedded system and boot disks (and desktops and servers for purist Unix users), you rather want small than internationalized versions of the utilities. That's why I started to reimplement a few important typical userland programs that I need on boot and rescue disks, making sure that you can link it against diet libc to create very small statically linked binaries. %prep %setup -q %build make FLAGS="-DPAGE_SIZE=\"`getconf PAGE_SIZE`\"" %install rm -rf %{buildroot} install -d %{buildroot}%{prefix}/bin make DESTDIR="%{buildroot}%{prefix}" prefix="" install # fix softlinks... ln -snf chown %{buildroot}%{prefix}/bin/chgrp ln -snf mv %{buildroot}%{prefix}/bin/cp ln -snf mknod %{buildroot}%{prefix}/bin/mkfifo %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc CHANGES TODO %{prefix}/bin/allinone %{prefix}/bin/arch %{prefix}/bin/basename %{prefix}/bin/cat %{prefix}/bin/chgrp %{prefix}/bin/chmod %{prefix}/bin/chown %{prefix}/bin/chroot %{prefix}/bin/chrootuid %{prefix}/bin/chvt %{prefix}/bin/clear %{prefix}/bin/cmp %{prefix}/bin/cp %{prefix}/bin/date %{prefix}/bin/dd %{prefix}/bin/df %{prefix}/bin/dirname %{prefix}/bin/dmesg %{prefix}/bin/domainname %{prefix}/bin/du %{prefix}/bin/echo %{prefix}/bin/env %{prefix}/bin/false %{prefix}/bin/head %{prefix}/bin/hostname %{prefix}/bin/id %{prefix}/bin/insmod %{prefix}/bin/install %{prefix}/bin/kill %{prefix}/bin/ln %{prefix}/bin/ls %{prefix}/bin/lsmod %{prefix}/bin/md5sum %{prefix}/bin/mesg %{prefix}/bin/mkdir %{prefix}/bin/mkfifo %{prefix}/bin/mknod %{prefix}/bin/mktemp %{prefix}/bin/mount %{prefix}/bin/mv %{prefix}/bin/nice %{prefix}/bin/nohup %{prefix}/bin/pivot_root %{prefix}/bin/printenv %{prefix}/bin/pwd %{prefix}/bin/renice %{prefix}/bin/rm %{prefix}/bin/rmdir %{prefix}/bin/rmmod %{prefix}/bin/sleep %{prefix}/bin/sleep2 %{prefix}/bin/soscp %{prefix}/bin/sosln %{prefix}/bin/soslns %{prefix}/bin/sosmv %{prefix}/bin/sosrm %{prefix}/bin/strings %{prefix}/bin/sync %{prefix}/bin/tail %{prefix}/bin/tar %{prefix}/bin/tee %{prefix}/bin/test %{prefix}/bin/time %{prefix}/bin/touch %{prefix}/bin/tr %{prefix}/bin/true %{prefix}/bin/truncate %{prefix}/bin/tty %{prefix}/bin/umount %{prefix}/bin/uname %{prefix}/bin/uniq %{prefix}/bin/uudecode %{prefix}/bin/uuencode %{prefix}/bin/wc %{prefix}/bin/which %{prefix}/bin/whoami %{prefix}/bin/write %{prefix}/bin/yes %changelog * Thu Sep 03 2009 Thierry Vignaud <tvignaud@mandriva.com> 0.19-3mdv2010.0 + Revision: 428591 - rebuild * Thu Aug 07 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.19-2mdv2009.0 + Revision: 266621 - rebuild early 2009.0 package (before pixel changes) * Wed Jun 11 2008 Oden Eriksson <oeriksson@mandriva.com> 0.19-1mdv2009.0 + Revision: 217972 - 0.19 - fix build - rebuilt against dietlibc-devel-0.32 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Fri Dec 22 2006 Oden Eriksson <oeriksson@mandriva.com> 0.17-2mdv2007.0 + Revision: 101723 - Import embutils * Sat Apr 29 2006 Oden Eriksson <oeriksson@mandriva.com> 0.17-2mdk - rebuild * Tue Feb 01 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 0.17-1mdk - 0.17 - added date, mount, umount, printenv, insmod, lsmod, pivot_root, rmmod - drop P0, seems integrated upstream and it compiles fine without it * Mon Nov 01 2004 Christiaan Welvaart <cjw@daneel.dyndns.org> 0.16-2mdk - patch0: fix build with gcc 3.4