1 |
Summary: A public domain clone of the Korn shell (ksh) |
Summary: A public domain clone of the Korn shell (ksh) |
2 |
Name: pdksh |
Name: pdksh |
3 |
Version: 5.2.14 |
Version: 5.2.14 |
4 |
Release: %mkrel 29 |
Release: %mkrel 30 |
5 |
License: Public Domain and BSD-like and GPLv2+ |
License: Public Domain and BSD-like and GPLv2+ |
6 |
Group: Shells |
Group: Shells |
7 |
URL: http://www.cs.mun.ca/~michael/pdksh |
URL: http://www.cs.mun.ca/~michael/pdksh |
12 |
Patch2: pdksh-child_max.patch |
Patch2: pdksh-child_max.patch |
13 |
Patch3: pdksh-5.2.14-fix-str-fmt.patch |
Patch3: pdksh-5.2.14-fix-str-fmt.patch |
14 |
Provides: /usr/bin/ksh |
Provides: /usr/bin/ksh |
15 |
|
Requires(pre): filesystem >= 2.1.9-18 |
16 |
|
|
17 |
%description |
%description |
18 |
The pdksh package contains PD-ksh, a clone of the Korn shell (ksh). |
The pdksh package contains PD-ksh, a clone of the Korn shell (ksh). |
37 |
%install |
%install |
38 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
39 |
%makeinstall |
%makeinstall |
|
# Move ksh to /bin and create a symlink in /usr/bin |
|
|
mkdir -p %{buildroot}/bin |
|
|
mv %{buildroot}%{_bindir}/ksh %{buildroot}/bin/ksh |
|
|
ln -s /bin/ksh %{buildroot}%{_bindir}/ksh |
|
40 |
# Create symlinks for pdksh |
# Create symlinks for pdksh |
41 |
ln -s /bin/ksh %{buildroot}%{_bindir}/pdksh |
ln -s ksh %{buildroot}%{_bindir}/pdksh |
42 |
ln -s ksh.1 %{buildroot}%{_mandir}/man1/pdksh.1 |
ln -s ksh.1 %{buildroot}%{_mandir}/man1/pdksh.1 |
43 |
|
|
44 |
%post |
%post |
50 |
%files |
%files |
51 |
%defattr(-,root,root) |
%defattr(-,root,root) |
52 |
%doc LEGAL README NOTES PROJECTS NEWS BUG-REPORTS |
%doc LEGAL README NOTES PROJECTS NEWS BUG-REPORTS |
|
/bin/ksh |
|
53 |
%{_bindir}/ksh |
%{_bindir}/ksh |
54 |
%{_bindir}/pdksh |
%{_bindir}/pdksh |
55 |
%{_mandir}/*/* |
%{_mandir}/*/* |