Accepting request 32973 from shells
Copy from shells/bash-completion based on submit request 32973 from user poletti_marco OBS-URL: https://build.opensuse.org/request/show/32973 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash-completion?expand=0&rev=1
This commit is contained in:
commit
f83c26731f
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
bash-completion-1.1.tar.bz2
Normal file
3
bash-completion-1.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7cd415c948e44e143c2f76b6ac6f52e1e44a2762db9201cd2892fe81df807ca4
|
||||
size 135741
|
12
bash-completion-speedup_rpm.patch
Normal file
12
bash-completion-speedup_rpm.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- contrib/rpm.orig 2009-10-20 14:01:24.171874435 +0200
|
||||
+++ contrib/rpm 2009-10-20 14:03:32.696958718 +0200
|
||||
@@ -13,6 +13,9 @@
|
||||
COMPREPLY=( $( sed -ne \
|
||||
's|^\('$cur'[^[:space:]]*\)-[^[:space:]-]\+-[^[:space:]-]\+\.rpm$|\1|p' \
|
||||
/var/log/rpmpkgs ) )
|
||||
+ elif command -v rpmqpack >/dev/null; then
|
||||
+ # SUSE's rpmqpack is faster than rpm -qa
|
||||
+ COMPREPLY=( $(rpmqpack | grep "^$cur") )
|
||||
else
|
||||
_rpm_nodigsig
|
||||
COMPREPLY=( $( rpm -qa $nodig $nosig --qf='%{NAME} ' "$cur*" ) )
|
153
bash-completion.changes
Normal file
153
bash-completion.changes
Normal file
@ -0,0 +1,153 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 20 14:23:47 CEST 2009 - poletti.marco@gmail.com
|
||||
|
||||
- Update to version 1.1, that supports bash 4.0 better
|
||||
* Split many completions in files under contrib/
|
||||
* Added new completions
|
||||
* Improved existing completions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 5 11:32:39 CEST 2009 - vuntz@opensuse.org
|
||||
|
||||
- Update to version 1.0 (too many changes to list).
|
||||
- Remove all our patches except bash-completion-speedup_rpm.patch:
|
||||
+ bash-completion-bzip2_fix.patch: should be fixed upstream.
|
||||
+ bash-completion-cd.patch: doesn't seem to be needed.
|
||||
+ bash-completion-complete_spm.patch: source rpms are now src.rpm
|
||||
as far as I can tell, so no need to complete on spm.
|
||||
+ bash-completion-mount_dir_fix.patch: the fix is not correct. It
|
||||
should not be for root only. bnc#386459 should be forwarded
|
||||
upstream for a proper fix.
|
||||
+ bash-completion-no_tilde_expansion.patch: I'm unsure we want
|
||||
to diverge there. bnc#386844 should be forwarded upstream for a
|
||||
proper fix.
|
||||
+ bash-completion-readonly_fix.patch: this is now fixed upstream,
|
||||
I think.
|
||||
+ bash-completion-svn_filenames.patch: fixed upstream.
|
||||
+ bash_completion-rpm_install_complete.patch: I'm really not sure
|
||||
the fix is right. bnc#242123 should be forwarded upstream.
|
||||
- Respin bash-completion-speedup_rpm.patch.
|
||||
- Remove the git completion: it's now in git itself.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 11 16:25:46 CET 2008 - werner@suse.de
|
||||
|
||||
- Make completion for cd command smart (bnc#442827)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 26 16:29:52 CEST 2008 - mkoenig@suse.de
|
||||
|
||||
- fix problem with readonly vars [bnc#383486]
|
||||
- speed up rpm completion [bnc#402659]
|
||||
- complete on .spm [bnc#416901]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 6 15:37:54 CEST 2008 - mkoenig@suse.de
|
||||
|
||||
- remove default tilde expansion, as this should be configurable
|
||||
by the expand-tilde readline setting, even with bash-completion
|
||||
installed [bnc#386844]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 5 16:12:47 CEST 2008 - mkoenig@suse.de
|
||||
|
||||
- fix mount completion for root [bnc#386459]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 22 16:30:44 CEST 2008 - mkoenig@suse.de
|
||||
|
||||
- use -o filenames for svn completion [bnc#382280]
|
||||
- add empty %build section
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 1 16:38:39 CEST 2007 - mkoenig@suse.de
|
||||
|
||||
- fix bzip2 completion to handle filenames with spaces [#278608]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 8 12:51:15 CET 2007 - mkoenig@suse.de
|
||||
|
||||
- enhance rpm completion [#242123]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 15 11:43:10 CET 2007 - mkoenig@suse.de
|
||||
|
||||
- add git-completion
|
||||
- add %clean target to specfile
|
||||
- only install really useful completions by default
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 7 13:23:19 CET 2007 - mkoenig@suse.de
|
||||
|
||||
- update to version 20060301
|
||||
* There were probable bash 3.1 POSIX quote problems if
|
||||
UserKnownHostsFile or GlobalKnownHostsFile keywords were used
|
||||
inside ssh config files. Fixed.
|
||||
* Added new subversion completion implementation
|
||||
* Added minicom completion
|
||||
* --nodigest and --nosignature options must be set in $nodig and
|
||||
$nosig within _rpm_installed_packages() itself, not just set
|
||||
in _rpm() before _rpm_installed_packages() is called. This is
|
||||
because other completion functions also call
|
||||
_rpm_installed_packages().
|
||||
* Minor playmidi and timidity additions for .MID(I)
|
||||
(capital letters) files.
|
||||
* Add kdvi, dvipdf and advi to programs that complete on .dvi
|
||||
files
|
||||
* iconv completion improvement
|
||||
* Replace invoke-rc.d completion
|
||||
- move useful completion files to /etc/bash_completion.d/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:45:51 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 2 13:35:20 CEST 2005 - cthiel@suse.de
|
||||
|
||||
- Update to version 20050721.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 7 11:46:48 CET 2005 - agruen@suse.de
|
||||
|
||||
- Update to version 20050121.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 21 20:01:03 CEST 2004 - agruen@suse.de
|
||||
|
||||
- Update to version 20040711. Drop obsolete patches.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 23 16:27:44 CET 2004 - hmacht@suse.de
|
||||
|
||||
- added option # norootforbuild in specfile
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 18 15:48:32 CEST 2003 - agruen@suse.de
|
||||
|
||||
- #30648: fix insmod tab completion regexp quoting bug.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 3 14:53:08 CEST 2003 - agruen@suse.de
|
||||
|
||||
- rschiele@uni-mannheim.de: bash_completion searches lsmod in
|
||||
/sbin, but it is in /bin now.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 28 18:26:44 CEST 2003 - agruen@suse.de
|
||||
|
||||
- Remove /etc/bash_completion.d/ directory from files list: This
|
||||
directory is now "owned" by bash. (We still must create an
|
||||
/etc directory in the build root, though.)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 25 15:38:35 CEST 2003 - agruen@suse.de
|
||||
|
||||
- Mark /usr/share/doc/packages/bash-completion/ as owned by that
|
||||
package (RPMv4 complained about that).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 24 15:40:01 CEST 2003 - agruen@suse.de
|
||||
|
||||
- Create initial package.
|
58
bash-completion.spec
Normal file
58
bash-completion.spec
Normal file
@ -0,0 +1,58 @@
|
||||
#
|
||||
# spec file for package bash-completion (Version 1.1)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: bash-completion
|
||||
Version: 1.1
|
||||
Release: 1
|
||||
License: GPLv2+
|
||||
Summary: Programmable Completion for Bash
|
||||
Url: http://bash-completion.alioth.debian.org/
|
||||
Group: System/Shells
|
||||
Source0: http://bash-completion.alioth.debian.org/files/%{name}-%{version}.tar.bz2
|
||||
# PATCH-FEATURE-OPENSUSE bash-completion-speedup_rpm.patch -- We have rpmqpack that is faster than "rpm -qa"
|
||||
Patch0: bash-completion-speedup_rpm.patch
|
||||
Requires: bash
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
bash-completion is a collection of shell functions that take advantage
|
||||
of the programmable completion feature of Bash 2.04 and later.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
|
||||
%build
|
||||
%configure
|
||||
%__make %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING README
|
||||
%config %{_sysconfdir}/bash_completion
|
||||
%config %{_sysconfdir}/bash_completion.d/*
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user