############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = coreutils version = 8.21 release = 1 groups = System/Base url = http://www.gnu.org/software/coreutils/ license = GPLv3+ summary = A set of basic GNU tools commonly used in shell scripts. description These are the GNU core utilities. This package is the combination of the old GNU fileutils, sh-utils, and textutils packages. end source_dl = http://ftp.gnu.org/gnu/coreutils/ sources = %{thisapp}.tar.xz build requires autoconf automake e2fsprogs-devel gettext-devel gmp-devel libacl-devel libattr-devel libcap-devel libselinux-devel ncurses-devel texinfo end CFLAGS += \ -D_GNU_SOURCE=1 \ -fno-strict-aliasing configure_options += \ --libexecdir=%{libdir} \ --enable-selinux \ --enable-largefile \ --disable-rpath \ --enable-install-program=arch \ --enable-no-install-program=hostname,kill,uptime \ --with-tty-group \ \ gl_cv_func_mknod_works=yes prepare_cmds autoreconf -vfi end test make check end make_install_targets += install-man install_cmds mkdir -pv %{BUILDROOT}%{sbindir} mv -v %{BUILDROOT}/usr/bin/chroot %{BUILDROOT}%{sbindir} # Dump /etc/DIR_COLORS mkdir -pv %{BUILDROOT}%{sysconfdir} for i in DIR_COLORS DIR_COLORS.256color DIR_COLORS.lightbgcolor; do install -m 644 %{DIR_SOURCE}/${i} %{BUILDROOT}%{sysconfdir} done # Install profile.d. mkdir -pv %{BUILDROOT}%{sysconfdir}/profile.d/ cp -vf %{DIR_SOURCE}/profile.d/* %{BUILDROOT}/etc/profile.d/ end end packages package %{name} groups += Base Build provides /bin/basename /bin/cat /bin/chgrp /bin/chmod /bin/chown /bin/cp /bin/cut /bin/date /bin/dd /bin/df /bin/echo /bin/env /bin/false /bin/ln /bin/ls /bin/mkdir /bin/mknod /bin/mktemp /bin/mv /bin/nice /bin/pwd /bin/readlink /bin/rm /bin/rmdir /bin/sleep /bin/sort /bin/stty /bin/sync /bin/touch /bin/true /bin/uname end conflicts filesystem < 002 end end package %{name}-debuginfo template DEBUGINFO end end