############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = bash-completion version = 2.4 release = 2 arch = noarch groups = Development/Languages url = https://github.com/scop/bash-completion license = GPLv2+ summary = Programmable completion for Bash. description bash-completion is a collection of shell functions that take advantage of the programmable completion feature of bash. end source_dl = https://github.com/scop/bash-completion/releases/download/%{version}/ sources = %{thisapp}.tar.xz build install_cmds rm -rvf %{BUILDROOT}%{datadir}/bash-completion/completions/{cawsay,cowthink} # Drop files which are provided by util-linux >= 2.28 rm -rvf %{BUILDROOT}%{datadir}/bash-completion/completions/{mount,umount} install -Dpm 644 %{DIR_SOURCE}/bash-completion-1.99-redefine_filedir.bash \ %{BUILDROOT}%{sysconfdir}/bash_completion.d/redefine_filedir end end packages package %{name} groups += Base requires bash >= 4.1 end end end