Summary(pl.UTF-8): Programowalne uzupełnianie nazw dla basha
Name: bash-completion
Version: 1.2
-Release: 3
+Release: 4
Epoch: 1
License: GPL
Group: Applications/Shells
Source4: http://svn.php.net/viewvc/pear2/sandbox/PEAR_BashCompletion/trunk/pear?revision=285425&view=co#/pear
# Source4-md5: 8ce77e4459e2c45e2096da8d03c8f43d
Patch0: %{name}-rpm-cache.patch
+Patch1: pear.patch
URL: http://bash-completion.alioth.debian.org/
Requires(triggerpostun): sed >= 4.0
Requires: bash >= 2.05a-3
%prep
%setup -q
-%patch0 -p1
cp -a %{SOURCE1} contrib/poldek
cp -a %{SOURCE3} contrib/mysqldump
cp -a %{SOURCE4} contrib/pear
+%patch0 -p1
+%patch1 -p1
# cleanup backups after patching
find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
--- /dev/null
+--- bash-completion-1.2/contrib/pear~ 2010-08-23 20:41:58.000000000 +0300
++++ bash-completion-1.2/contrib/pear 2010-10-19 22:52:26.008412279 +0300
+@@ -106,6 +106,13 @@
+ _filedir '@(tgz)'
+ return 0
+ ;;
++ make-rpm-spec)
++ if [[ "${cur}" == -* ]] ; then
++ COMPREPLY=( $(compgen -W "-t -o -r -p -d --spec-template --output --rpm-release --rpm-pkgname --rpm-depname" -- ${cur}) )
++ fi
++ _filedir '@(tgz)'
++ return 0
++ ;;
+ package|pickle)
+ if [[ "${cur}" == -* ]] ; then
+ COMPREPLY=( $(compgen -W "-Z -n --nocompress --showname" -- ${cur}) )