sash-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. Summary: A statically linked shell, including some built-in basic commands.
  2. Summary(ja): 基本的な組み込みコマンドを持つ,静的リンクされたシェル
  3. Name: sash
  4. Version: 3.7
  5. Release: 9%{?_dist_release}
  6. License: GPL
  7. Group: System Environment/Shells
  8. Source0: http://members.tip.net.au/~dbell/programs/sash-%{version}.tar.gz
  9. Patch0: sash-3.6-misc.patch
  10. Patch1: sash-3.6-scriptarg.patch
  11. Patch2: sash-3.4-losetup.patch
  12. Patch3: sash-pwdfunc.patch
  13. Patch4: sash-3.7-segfault.patch
  14. Patch100: sash-3.7-fixinclude.patch
  15. BuildRequires: zlib-devel, e2fsprogs-devel
  16. Buildroot: %{_tmppath}/%{name}-%{version}-root
  17. %description
  18. Sash is a simple, standalone, statically linked shell which includes
  19. simplified versions of built-in commands like ls, dd and gzip. Sash
  20. is statically linked so that it can work without shared libraries, so
  21. it is particularly useful for recovering from certain types of system
  22. failures. Sash can also be used to safely upgrade to new versions of
  23. shared libraries.
  24. %description -l ja
  25. sash はシンプルかつ単独で利用できる,スタティックリンクされた
  26. シェルです.ls, dd, gzip といったコマンドが組み込まれています.
  27. sash は一切共有ライブラリがない環境でも動作する様にスタティック
  28. リンクされており,システムのトラブル時にも利用することが出来ます.
  29. また sash は共有ライブラリを安全にアップグレードする際にも
  30. 使うことが出来ます.
  31. %prep
  32. %setup -q
  33. %patch0 -p1 -b .misc
  34. %patch1 -p1 -b .scriptarg
  35. %patch2 -p1 -b .losetup
  36. %patch3 -p1 -b .pwd
  37. %patch4 -p1 -b .segf
  38. %patch100 -p1 -b .fixinclude
  39. %build
  40. make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
  41. %install
  42. rm -rf $RPM_BUILD_ROOT
  43. mkdir -p $RPM_BUILD_ROOT%{_syssbindir}
  44. mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
  45. install -s -m755 sash $RPM_BUILD_ROOT%{_syssbindir}
  46. install -m644 sash.1 $RPM_BUILD_ROOT%{_mandir}/man8/sash.8
  47. %clean
  48. rm -rf $RPM_BUILD_ROOT
  49. %files
  50. %defattr(-,root,root)
  51. %{_syssbindir}/sash
  52. %{_mandir}/man8/sash.8*
  53. %changelog
  54. * Mon Jun 08 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.7-9
  55. - spec in utf-8
  56. * Fri May 9 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.7-8
  57. - add Patch100 (s|linux/ext2_fs.h|ext2fs/ext2_fs.h|)
  58. - add e2fsprogs-devel to BuildRequires
  59. * Sun May 4 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.7-7
  60. - applied new versioning policy
  61. * Mon Oct 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.7-6vl2
  62. - rebuilt with new toolchain
  63. - updated Source0 URL
  64. * Sat Nov 12 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.7-6vl1
  65. - updated to 3.7 based on Fedora package
  66. * Fri Mar 26 2004 Karsten Hopp <karsten@redhat.de> 3.7-3
  67. - add some functions from the ELKS libc-8086/pwd package to fix static
  68. linking
  69. - fix segfault (#119206)
  70. * Fri Jan 23 2004 Karsten Hopp <karsten@redhat.de> 3.7-1
  71. - update
  72. * Tue Sep 09 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.4-8vl3
  73. - rebuild with new toolchains
  74. - s/Copyright/License/
  75. - add BuildPrereq: zlib-devel
  76. * Fri Mar 15 2002 Satoshi MACHINO <machino@vinelinux.org> 3.4-8vl2
  77. - rebuild on zlib-1.1.4(security fix.)
  78. * Fri Jan 19 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  79. - 3.4-8vl1
  80. - based on 3.4-8 from Rawhide
  81. - use better macros (%%{_tmppath}, %%{_syssbindir})
  82. - added Japanese summary and description
  83. * Wed Aug 30 2000 Matt Wilson <msw@redhat.com>
  84. - rebuild to cope with glibc locale binary incompatibility, again
  85. * Wed Jul 19 2000 Jakub Jelinek <jakub@redhat.com>
  86. - rebuild to cope with glibc locale binary incompatibility
  87. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  88. - automatic rebuild
  89. * Tue Jun 13 2000 Preston Brown <pbrown@redhat.com>
  90. - FHS paths
  91. * Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
  92. - rebuild to gzip man page
  93. * Mon Oct 04 1999 Cristian Gafton <gafton@redhat.com>
  94. - rebuild against new glibc in the sparc tree
  95. * Mon Aug 2 1999 Jeff Johnson <jbj@redhat.com>
  96. - upgrade to 3.3 (#4301).
  97. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  98. - auto rebuild in the new build environment (release 4)
  99. * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
  100. - Injected new description and group.
  101. * Fri Dec 18 1998 Preston Brown <pbrown@redhat.com>
  102. - bumped spec number for initial rh 6.0 build