2 Summary: GNU Core Utilities
5 BuildRequires: automake
6 BuildRequires: gmp-devel
7 BuildRequires: help2man
8 BuildRequires: libacl-devel
9 BuildRequires: libcap-devel
10 BuildRequires: pam-devel
12 Url: http://www.gnu.org/software/coreutils/
15 Provides: fileutils = %{version}
16 Provides: mktemp = %{version}
17 Provides: sh-utils = %{version}
18 Provides: stat = %version}
19 Provides: textutils = %{version}
20 Obsoletes: fileutils < %{version}
21 Obsoletes: mktemp < %{version}
22 Obsoletes: sh-utils < %{version}
23 Obsoletes: stat < %version}
24 Obsoletes: textutils < %{version}
25 Requires: pam >= 1.1.1.90
26 Source: coreutils-%{version}.tar.xz
29 Source3: baselibs.conf
30 Source4: coreutils-%{version}.de.po.xz
33 Basic file, shell, and text manipulation utilities. The package
34 contains the following programs:
36 [ arch base64 basename cat chcon chgrp chmod chown chroot cksum comm cp
37 csplit cut date dd df dir dircolors dirname du echo env expand expr
38 factor false fmt fold groups head id install join kill link ln logname
39 ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup od paste pathchk
40 pinky pr printenv printf ptx pwd readlink rm rmdir runcon seq sha1sum
41 sha224sum sha256sum sha384sum sha512sum shred shuf sleep sort split
42 stat stty su sum sync tac tail tee test timeout touch tr true tsort tty
43 uname unexpand uniq unlink uptime users vdir wc who whoami yes
51 AUTOPOINT=true autoreconf -fi
52 export CFLAGS="%optflags -Wall"
53 %configure --libexecdir=%{_libdir} --without-included-regex \
54 --enable-install-program=arch,su \
55 gl_cv_func_printf_directive_n=yes \
56 gl_cv_func_isnanl_works=yes \
57 DEFAULT_POSIX2_VERSION=199209
60 make %{?_smp_mflags} V=1
63 %makeinstall pkglibexecdir=%{_libdir}/%{name}
64 test -f %{buildroot}%{_bindir}/su || \
65 install src/su %{buildroot}%{_bindir}/su
66 install -d -m 755 %{buildroot}/etc/pam.d
67 install -m 644 %{S:1} %{buildroot}/etc/pam.d/su
68 install -m 644 %{S:1} %{buildroot}/etc/pam.d/su-l
69 install -d -m 755 %{buildroot}/etc/default
70 install -m 644 %{S:2} %{buildroot}/etc/default/su
71 echo '.so man1/test.1' > %{buildroot}/%{_mandir}/man1/\[.1
76 %install_info --info-dir=%{_infodir} %{_infodir}/coreutils.info.gz
79 %install_info_delete --info-dir=%{_infodir} %{_infodir}/coreutils.info.gz
85 %config %{_sysconfdir}/pam.d/su
86 %config %{_sysconfdir}/pam.d/su-l
87 %config(noreplace) %{_sysconfdir}/default/su
88 %attr(4755,root,root) %{_bindir}/su
91 %doc %{_infodir}/coreutils.info*.gz
92 %doc %{_mandir}/man1/*.1.gz
93 %dir %{_prefix}/share/locale/*/LC_TIME