]> git.ipfire.org Git - ipfire-3.x.git/blame - coreutils/coreutils.nm
json-c: Update to version 0.17-20230812
[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
52917b52 7version = 9.1
23ba0bc2 8release = 1
166a6c21 9
d0d49567 10groups = System/Base
e14a82a1 11url = https://www.gnu.org/software/coreutils/
802ea3af
MT
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
e8da1929 26 automake >= 1.15
802ea3af 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
e8da1929
SS
46 prepare_cmds
47 autoreconf -vfi
48 end
49
651b9950 50 test
4609ee24 51 make check RUN_VERY_EXPENSIVE_TESTS=yes || true
651b9950 52 end
576c025c 53
802ea3af 54 install_cmds
576c025c
MT
55 mkdir -pv %{BUILDROOT}%{sbindir}
56 mv -v %{BUILDROOT}/usr/bin/chroot %{BUILDROOT}%{sbindir}
166a6c21 57
802ea3af 58 # Dump /etc/DIR_COLORS
576c025c 59 mkdir -pv %{BUILDROOT}%{sysconfdir}
3f642be3
MT
60 for i in DIR_COLORS DIR_COLORS.256color DIR_COLORS.lightbgcolor; do
61 install -m 644 %{DIR_SOURCE}/${i} %{BUILDROOT}%{sysconfdir}
62 done
166a6c21 63
576c025c
MT
64 # Install profile.d.
65 mkdir -pv %{BUILDROOT}%{sysconfdir}/profile.d/
66 cp -vf %{DIR_SOURCE}/profile.d/* %{BUILDROOT}/etc/profile.d/
802ea3af
MT
67 end
68end
e35eb77b 69
802ea3af
MT
70packages
71 package %{name}
d0d49567 72 groups += Base Build
576c025c
MT
73
74 provides
75 /bin/basename
76 /bin/cat
77 /bin/chgrp
78 /bin/chmod
79 /bin/chown
80 /bin/cp
81 /bin/cut
82 /bin/date
83 /bin/dd
84 /bin/df
85 /bin/echo
86 /bin/env
87 /bin/false
88 /bin/ln
89 /bin/ls
90 /bin/mkdir
91 /bin/mknod
92 /bin/mktemp
93 /bin/mv
94 /bin/nice
95 /bin/pwd
96 /bin/readlink
97 /bin/rm
98 /bin/rmdir
99 /bin/sleep
100 /bin/sort
101 /bin/stty
576c025c
MT
102 /bin/sync
103 /bin/touch
104 /bin/true
105 /bin/uname
576c025c
MT
106 end
107
108 conflicts
109 filesystem < 002
110 end
d0d49567 111 end
1f9bc2f0
MT
112
113 package %{name}-debuginfo
114 template DEBUGINFO
115 end
802ea3af 116end