source: projects/specs/branches/6/s/sash/sash-vl.spec @ 5581

Revision 5581, 4.3 KB checked in by Takemikaduchi, 12 years ago (diff)

rebuild packages

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