]>
Commit | Line | Data |
---|---|---|
b52dd7ea MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = bash-completion | |
810177ed | 7 | version = 2.4 |
cb0c82aa | 8 | release = 3 |
b52dd7ea MT |
9 | arch = noarch |
10 | ||
11 | groups = Development/Languages | |
810177ed | 12 | url = https://github.com/scop/bash-completion |
b52dd7ea MT |
13 | license = GPLv2+ |
14 | summary = Programmable completion for Bash. | |
15 | ||
16 | description | |
17 | bash-completion is a collection of shell functions that take advantage | |
18 | of the programmable completion feature of bash. | |
19 | end | |
20 | ||
810177ed SS |
21 | source_dl = https://github.com/scop/bash-completion/releases/download/%{version}/ |
22 | sources = %{thisapp}.tar.xz | |
b52dd7ea MT |
23 | |
24 | build | |
25 | install_cmds | |
26 | rm -rvf %{BUILDROOT}%{datadir}/bash-completion/completions/{cawsay,cowthink} | |
27 | ||
cb0c82aa SS |
28 | # Drop files which are provided by util-linux >= 2.28 and 2.34 |
29 | rm -rvf %{BUILDROOT}%{datadir}/bash-completion/completions/{mount,umount,rfkill} | |
7053f0ec | 30 | |
b52dd7ea MT |
31 | install -Dpm 644 %{DIR_SOURCE}/bash-completion-1.99-redefine_filedir.bash \ |
32 | %{BUILDROOT}%{sysconfdir}/bash_completion.d/redefine_filedir | |
33 | end | |
34 | end | |
35 | ||
36 | packages | |
37 | package %{name} | |
e18810fd | 38 | groups += Base |
b52dd7ea | 39 | |
e18810fd MT |
40 | requires |
41 | bash >= 4.1 | |
42 | end | |
b52dd7ea MT |
43 | end |
44 | end |