source: projects/specs/trunk/b/bash-completion/bash-completion-vl.spec @ 8066

Revision 8066, 2.2 KB checked in by tanakanata, 10 years ago (diff)

rebuild with gcc-2.4x

Line 
1Name:           bash-completion
2Version:        2.1
3Release:        2%{?_dist_release}
4License:        GPLv2+
5Group:          System Environment/Shells
6URL:            http://bash-completion.alioth.debian.org/
7Source0:        %{name}-%{version}.tar.bz2
8Source3:        %{name}-2.0-redefine_filedir.bash
9Patch0:         %{name}-1.99-noblacklist.patch
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11Distribution:   Vine Linux
12Vendor:         Project Vine
13Packager:       TANAKA hiroaki<mosaicist@jcom.home.ne.jp
14
15Summary:        Programmable completion for Bash
16Summary(ja):    bash のプログラム可能な補完拡張
17
18BuildArch:      noarch
19
20# Dependency
21
22%description
23bash-completion is a collection of shell functions that take advantage of
24the programmable completion feature of bash.
25
26%description -l ja
27bash-completion は bash のプログラム可能な補完機能を利用し、
28高機能な補完機能を bash に提供するシェル関数集です。
29
30使用にあたっては ~/.bashrc に以下の行を追加してください。
31. /etc/profile.d/bash_completion.sh
32
33
34%prep
35%setup -q
36%patch0 -p1
37
38
39%build
40%configure
41%{__make} %{?_smp_mflags}
42
43
44%install
45%{__rm} -rf ${RPM_BUILD_ROOT}
46%{__make} install DESTDIR=${RPM_BUILD_ROOT}
47
48#remove for vine
49rm $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/{cowsay,cowthink}
50%if "%{?_dist_release}" >= "vl7"
51rm $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/nmcli
52%endif
53
54install -Dpm 644 %{SOURCE3} \
55        $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/redefine_filedir
56
57%clean
58%{__rm} -rf ${RPM_BUILD_ROOT}
59
60
61%files
62%defattr(-,root,root)
63%doc AUTHORS COPYING README
64%config %{_sysconfdir}/profile.d/bash_completion.sh
65%{_sysconfdir}/bash_completion.d/
66%{_datadir}/bash-completion/
67%{_datadir}/pkgconfig/bash-completion.pc
68
69%changelog
70* Fri Dec 27 2013 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 2.1-2
71- rebuild with gcc-4.8
72
73* Sun May 28 2013 TANAKA hiroaki mosaicist@jcom.home.ne.jp > 2.1-1
74- source update
75- Don't install nmcli completion >= Vine7
76
77* Wed Jul 25 2012 TANAKA hiroaki mosaicist@jcom.home.ne.jp > 2.0-1
78- source update
79- merge bash-completion-2.0-redefine_filedir.bash from bash-completion-2.0-1.fc17
80
81* Tue Feb  7 2012 TANAKA hiroaki <mosaicist@par.odn.ne.jp> 1.99-1
82- initial build for Vine Linux based on bash-completion-1.99-1.fc17.src.rpm
Note: See TracBrowser for help on using the repository browser.