]> git.ipfire.org Git - ipfire-3.x.git/blame - coreutils/coreutils.nm
coreutils: Update to 8.19.
[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
effd5ec1
SS
7version = 8.19
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
20source_dl = http://ftp.gnu.org/gnu/coreutils/
21sources = %{thisapp}.tar.xz
166a6c21 22
802ea3af
MT
23build
24 requires
25 autoconf
26 automake
27 e2fsprogs-devel
28 gmp-devel
29 libacl-devel
30 libattr-devel
31 libcap-devel
32 libselinux-devel
33 ncurses-devel
effd5ec1 34 texinfo
802ea3af 35 end
166a6c21 36
e7f6ab54
SS
37 CFLAGS += \
38 -D_GNU_SOURCE=1 \
39 -fno-strict-aliasing
40
802ea3af 41 configure_options += \
8623a35a 42 --libexecdir=%{libdir} \
802ea3af
MT
43 --enable-selinux \
44 --enable-largefile \
e7f6ab54 45 --disable-rpath \
effd5ec1 46 --enable-install-program=arch \
6987acf5 47 --enable-no-install-program=hostname,kill,uptime \
576c025c
MT
48 --with-tty-group \
49 \
50 gl_cv_func_mknod_works=yes
166a6c21 51
802ea3af
MT
52 prepare_cmds
53 aclocal -I m4
54 autoconf --force
55 end
166a6c21 56
651b9950
SS
57 test
58 make check
59 end
576c025c
MT
60
61 make_install_targets += install-man
166a6c21 62
802ea3af 63 install_cmds
576c025c
MT
64 mkdir -pv %{BUILDROOT}%{sbindir}
65 mv -v %{BUILDROOT}/usr/bin/chroot %{BUILDROOT}%{sbindir}
166a6c21 66
802ea3af 67 # Dump /etc/DIR_COLORS
576c025c 68 mkdir -pv %{BUILDROOT}%{sysconfdir}
3f642be3
MT
69 for i in DIR_COLORS DIR_COLORS.256color DIR_COLORS.lightbgcolor; do
70 install -m 644 %{DIR_SOURCE}/${i} %{BUILDROOT}%{sysconfdir}
71 done
166a6c21 72
576c025c
MT
73 # Install profile.d.
74 mkdir -pv %{BUILDROOT}%{sysconfdir}/profile.d/
75 cp -vf %{DIR_SOURCE}/profile.d/* %{BUILDROOT}/etc/profile.d/
802ea3af
MT
76 end
77end
e35eb77b 78
802ea3af
MT
79packages
80 package %{name}
d0d49567 81 groups += Base Build
576c025c
MT
82
83 provides
84 /bin/basename
85 /bin/cat
86 /bin/chgrp
87 /bin/chmod
88 /bin/chown
89 /bin/cp
90 /bin/cut
91 /bin/date
92 /bin/dd
93 /bin/df
94 /bin/echo
95 /bin/env
96 /bin/false
97 /bin/ln
98 /bin/ls
99 /bin/mkdir
100 /bin/mknod
101 /bin/mktemp
102 /bin/mv
103 /bin/nice
104 /bin/pwd
105 /bin/readlink
106 /bin/rm
107 /bin/rmdir
108 /bin/sleep
109 /bin/sort
110 /bin/stty
576c025c
MT
111 /bin/sync
112 /bin/touch
113 /bin/true
114 /bin/uname
576c025c
MT
115 end
116
117 conflicts
118 filesystem < 002
119 end
d0d49567 120 end
1f9bc2f0
MT
121
122 package %{name}-debuginfo
123 template DEBUGINFO
124 end
802ea3af 125end