]> git.ipfire.org Git - ipfire-3.x.git/blame - coreutils/coreutils.nm
ccache: Update to 3.7.1
[ipfire-3.x.git] / coreutils / coreutils.nm
CommitLineData
166a6c21 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
166a6c21
MT
4###############################################################################
5
802ea3af 6name = coreutils
53f15303 7version = 8.30
23ba0bc2 8release = 1
166a6c21 9
d0d49567 10groups = System/Base
802ea3af
MT
11url = http://www.gnu.org/software/coreutils/
12license = GPLv3+
13summary = A set of basic GNU tools commonly used in shell scripts.
166a6c21 14
802ea3af 15description
e7f6ab54 16 These are the GNU core utilities. This package is the combination of
166a6c21 17 the old GNU fileutils, sh-utils, and textutils packages.
802ea3af
MT
18end
19
4609ee24 20source_dl = https://ftp.gnu.org/gnu/coreutils/
802ea3af 21sources = %{thisapp}.tar.xz
166a6c21 22
802ea3af
MT
23build
24 requires
25 autoconf
26 automake
27 e2fsprogs-devel
e5317bd9 28 gettext-devel
802ea3af
MT
29 gmp-devel
30 libacl-devel
31 libattr-devel
32 libcap-devel
802ea3af 33 ncurses-devel
effd5ec1 34 texinfo
802ea3af 35 end
166a6c21 36
802ea3af 37 configure_options += \
fbb9790b
SS
38 FORCE_UNSAFE_CONFIGURE=1 \
39 --enable-dependency-tracking \
8623a35a 40 --libexecdir=%{libdir} \
802ea3af 41 --enable-largefile \
effd5ec1 42 --enable-install-program=arch \
6987acf5 43 --enable-no-install-program=hostname,kill,uptime \
4609ee24 44 --with-tty-group
fca5c2d6 45
651b9950 46 test
4609ee24 47 make check RUN_VERY_EXPENSIVE_TESTS=yes || true
651b9950 48 end
576c025c 49
802ea3af 50 install_cmds
576c025c
MT
51 mkdir -pv %{BUILDROOT}%{sbindir}
52 mv -v %{BUILDROOT}/usr/bin/chroot %{BUILDROOT}%{sbindir}
166a6c21 53
802ea3af 54 # Dump /etc/DIR_COLORS
576c025c 55 mkdir -pv %{BUILDROOT}%{sysconfdir}
3f642be3
MT
56 for i in DIR_COLORS DIR_COLORS.256color DIR_COLORS.lightbgcolor; do
57 install -m 644 %{DIR_SOURCE}/${i} %{BUILDROOT}%{sysconfdir}
58 done
166a6c21 59
576c025c
MT
60 # Install profile.d.
61 mkdir -pv %{BUILDROOT}%{sysconfdir}/profile.d/
62 cp -vf %{DIR_SOURCE}/profile.d/* %{BUILDROOT}/etc/profile.d/
802ea3af
MT
63 end
64end
e35eb77b 65
802ea3af
MT
66packages
67 package %{name}
d0d49567 68 groups += Base Build
576c025c
MT
69
70 provides
71 /bin/basename
72 /bin/cat
73 /bin/chgrp
74 /bin/chmod
75 /bin/chown
76 /bin/cp
77 /bin/cut
78 /bin/date
79 /bin/dd
80 /bin/df
81 /bin/echo
82 /bin/env
83 /bin/false
84 /bin/ln
85 /bin/ls
86 /bin/mkdir
87 /bin/mknod
88 /bin/mktemp
89 /bin/mv
90 /bin/nice
91 /bin/pwd
92 /bin/readlink
93 /bin/rm
94 /bin/rmdir
95 /bin/sleep
96 /bin/sort
97 /bin/stty
576c025c
MT
98 /bin/sync
99 /bin/touch
100 /bin/true
101 /bin/uname
576c025c
MT
102 end
103
104 conflicts
105 filesystem < 002
106 end
d0d49567 107 end
1f9bc2f0
MT
108
109 package %{name}-debuginfo
110 template DEBUGINFO
111 end
802ea3af 112end