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

Revision 5588, 1.6 KB checked in by tanakanata, 12 years ago (diff)

bash-completion initial build

Line 
1Name:           bash-completion
2Version:        1.99
3Release:        1%{?_dist_release}
4License:        GPLv2+
5Group:          System Environment/Shells
6URL:            http://bash-completion.alioth.debian.org/
7Source0:        %{name}-%{version}.tar.bz2
8Source3:        %{name}-1.99-redefine_filedir.bash
9Patch0:         %{name}-1.99-noblacklist.patch
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11
12Vendor:         Project Vine
13Distribution:   Vine Linux
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
48install -Dpm 644 %{SOURCE3} \
49        $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/redefine_filedir
50
51%clean
52%{__rm} -rf ${RPM_BUILD_ROOT}
53
54
55%files
56%defattr(-,root,root)
57%doc AUTHORS COPYING README
58%config %{_sysconfdir}/profile.d/bash_completion.sh
59%{_sysconfdir}/bash_completion.d/
60%{_datadir}/bash-completion/
61%{_datadir}/pkgconfig/bash-completion.pc
62
63%changelog
64* Tue Feb  7 2012 TANAKA hiroaki <mosaicist@par.odn.ne.jp> 1.99-1
65- 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.