source: projects/specs/trunk/s/sash/sash-vl.spec @ 521

Revision 521, 4.2 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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