1 |
Summary: The GNU core utilities: a set of tools commonly used in shell scripts |
Summary: The GNU core utilities: a set of tools commonly used in shell scripts |
2 |
Name: coreutils |
Name: coreutils |
3 |
Version: 8.17 |
Version: 8.17 |
4 |
Release: %mkrel 1 |
Release: %mkrel 2 |
5 |
License: GPLv3+ |
License: GPLv3+ |
6 |
Group: System/Base |
Group: System/Base |
7 |
Url: http://www.gnu.org/software/coreutils/ |
Url: http://www.gnu.org/software/coreutils/ |
89 |
BuildRequires: bison |
BuildRequires: bison |
90 |
BuildRequires: flex |
BuildRequires: flex |
91 |
BuildRequires: strace |
BuildRequires: strace |
92 |
|
Requires(pre): filesystem >= 2.1.9-18 |
93 |
Requires: pam >= 0.66-12 |
Requires: pam >= 0.66-12 |
94 |
|
|
95 |
Provides: mktemp = %{version} |
Provides: mktemp = %{version} |
201 |
make mandir=%{buildroot}%{_mandir} install-man |
make mandir=%{buildroot}%{_mandir} install-man |
202 |
|
|
203 |
# let be compatible with old fileutils, sh-utils and textutils packages : |
# let be compatible with old fileutils, sh-utils and textutils packages : |
204 |
mkdir -p %{buildroot}{/bin,%{_bindir},%{_sbindir},%{_sysconfdir}/pam.d} |
mkdir -p %{buildroot}{%{_sbindir},%{_sysconfdir}/pam.d} |
|
for f in basename cat chgrp chmod chown cp cut date dd df echo env expr false id link ln ls mkdir mknod mktemp mv nice pwd rm rmdir sleep sort stat stty sync touch true uname unlink tac |
|
|
do |
|
|
mv %{buildroot}/{%{_bindir},bin}/$f |
|
|
done |
|
205 |
|
|
206 |
# chroot was in /usr/sbin : |
# chroot was in /usr/sbin : |
207 |
mv %{buildroot}/{%{_bindir},%{_sbindir}}/chroot |
mv %{buildroot}/{%{_bindir},%{_sbindir}}/chroot |
|
# {cat,sort,cut} were previously moved from bin to /usr/bin and linked into |
|
|
for f in cut env expr tac; do |
|
|
ln -s /bin/$f %{buildroot}%{_bindir}/$f |
|
|
done |
|
208 |
|
|
209 |
install -m644 src/dircolors.hin -D %{buildroot}%{_sysconfdir}/DIR_COLORS |
install -m644 src/dircolors.hin -D %{buildroot}%{_sysconfdir}/DIR_COLORS |
210 |
|
|
211 |
# su |
# su |
212 |
install -m 4755 src/su %{buildroot}/bin |
install -m 4755 src/su %{buildroot}/%{_bindir} |
213 |
|
|
214 |
install -m 644 %{SOURCE200} %{buildroot}%{_sysconfdir}/pam.d/su |
install -m 644 %{SOURCE200} %{buildroot}%{_sysconfdir}/pam.d/su |
215 |
install -m 644 %{SOURCE201} %{buildroot}%{_sysconfdir}/pam.d/runuser |
install -m 644 %{SOURCE201} %{buildroot}%{_sysconfdir}/pam.d/runuser |
243 |
%config(noreplace) %{_sysconfdir}/pam.d/su-l |
%config(noreplace) %{_sysconfdir}/pam.d/su-l |
244 |
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l |
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l |
245 |
%doc README |
%doc README |
|
/bin/* |
|
246 |
%{_bindir}/* |
%{_bindir}/* |
247 |
%{_sbindir}/chroot |
%{_sbindir}/chroot |
248 |
%dir %{_libdir}/coreutils |
%dir %{_libdir}/coreutils |