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