]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - bash-completion/bash-completion.nm
kernel: update to 4.12.10
[people/arne_f/ipfire-3.x.git] / bash-completion / bash-completion.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = bash-completion
7 version = 2.4
8 release = 2
9 arch = noarch
10
11 groups = Development/Languages
12 url = https://github.com/scop/bash-completion
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
21 source_dl = https://github.com/scop/bash-completion/releases/download/%{version}/
22 sources = %{thisapp}.tar.xz
23
24 build
25 install_cmds
26 rm -rvf %{BUILDROOT}%{datadir}/bash-completion/completions/{cawsay,cowthink}
27
28 # Drop files which are provided by util-linux >= 2.28
29 rm -rvf %{BUILDROOT}%{datadir}/bash-completion/completions/{mount,umount}
30
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}
38 groups += Base
39
40 requires
41 bash >= 4.1
42 end
43 end
44 end