/[packages]/cauldron/pdksh/current/SPECS/pdksh.spec
ViewVC logotype

Diff of /cauldron/pdksh/current/SPECS/pdksh.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 273157 by ennael, Fri Mar 18 14:25:22 2011 UTC revision 273158 by colin, Sat Jul 21 17:42:31 2012 UTC
# Line 1  Line 1 
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
# Line 12  Patch1:                pdksh-5.2.14-debian.patch Line 12  Patch1:                pdksh-5.2.14-debian.patch
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).
# Line 36  CFLAGS="%{optflags} -D_FILE_OFFSET_BITS= Line 37  CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=
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
# Line 53  ln -s ksh.1 %{buildroot}%{_mandir}/man1/ Line 50  ln -s ksh.1 %{buildroot}%{_mandir}/man1/
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}/*/*

Legend:
Removed from v.273157  
changed lines
  Added in v.273158

  ViewVC Help
Powered by ViewVC 1.1.30