root/lightcube_os/trunk/packages/bash/bash.spec @ 3

Revision 3, 2.0 KB (checked in by jhuntwork, 11 months ago)

Update versions on a few base packages

Line 
1Summary: GNU Bash
2Name: bash
3Version: 4.0
4Release: 2
5Group: System Environment/Base
6License: GPLv2
7Distribution: LightCube OS
8Vendor: LightCube Solutions
9URL: http://www.gnu.org/software/bash
10Source0: http://dev.lightcube.us/~jhuntwork/sources/%{name}/%{name}-%{version}.tar.gz
11Patch0: http://dev.lightcube.us/~jhuntwork/sources/%{name}/%{name}-%{version}-fixes-4.patch
12Patch1: http://dev.lightcube.us/~jhuntwork/sources/%{name}/%{name}-%{version}-rpm_requires-1.patch
13
14Requires: glibc, ncurses, readline
15
16BuildRequires: digest(%{SOURCE0}) = a90a1b5a6db4838483f05438e05e8eb9
17BuildRequires: digest(%{PATCH0}) = 1712950349a705dabedef6c920422011
18BuildRequires: digest(%{PATCH1}) = 725983bd3d3356134494d8a1ec6cf63f
19
20%package doc
21Summary: Bash Documentation
22
23%description
24%{name} is an sh-compatible shell that incorporates useful features from the
25Korn shell (ksh) and C shell (csh).
26
27%description doc
28Extensive documentation for the GNU Bash shell
29
30%prep
31%setup -q
32%patch0 -p1
33%patch1 -p1
34
35%build
36./configure --prefix=/usr --bindir=/bin --without-bash-malloc \
37  --htmldir=/usr/share/doc/%{name}-%{version}  --with-installed-readline
38make
39#sed -i 's/LANG/LC_ALL/' tests/intl.tests
40#sed -i 's@tests@& </dev/tty@' tests/run-test
41#chown -Rv nobody ./
42#su nobody -s /bin/bash -c "make tests"
43
44%install
45make DESTDIR=%{buildroot} install
46ln -vs bash %{buildroot}/bin/sh
47rm -f %{buildroot}/usr/share/info/dir
48%find_lang %{name}
49
50%clean
51rm -rf %{buildroot}
52
53%post doc
54/usr/bin/install-info %{_infodir}/bash.info %{_infodir}/dir
55
56%preun doc
57/usr/bin/install-info --delete %{_infodir}/bash.info %{_infodir}/dir
58
59%files -f %{name}.lang
60%defattr(-,root,root)
61/bin/bash
62/bin/bashbug
63/bin/sh
64/usr/share/man/man1/bash.1
65/usr/share/man/man1/bashbug.1
66
67%files doc
68/usr/share/doc/%{name}-%{version}
69/usr/share/info/bash.info
70
71%changelog
72* Thu Sat 24 2009 Jeremy Huntwork <jhuntwork@lightcubesolutions.com> -
73- Updated upstream patches
74
75* Thu Aug 13 2009 Jeremy Huntwork <jhuntwork@lightcubesolutions.com> -
76- Initial version
Note: See TracBrowser for help on using the browser.