Name: bash-completion Version: 1.3 Release: 1mamba Epoch: 1 Summary: Programmable completion for bash Group: Applications/Shells Vendor: openmamba Distribution: openmamba Packager: Ercole 'ercolinux' Carpanetto URL: http://bash-completion.alioth.debian.org Source: http://bash-completion.alioth.debian.org/files/bash-completion-%{version}.tar.bz2 Patch0: %{name}-1.2-rpm-630328.patch License: GPL Requires: bash BuildRoot: %{_tmppath}/%{name}-%{version}-root %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 #%patch -p1 %build %configure %make # bash_completion.sh %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall install -d %{buildroot}%{_sysconfdir}/profile.d install -m644 bash_completion.sh %{buildroot}%{_sysconfdir}/profile.d/ install -m644 bash_completion %{buildroot}%{_sysconfdir}/ rm -f contrib/apache2ctl rm -f contrib/aptitude rm -f contrib/heimdal rm -f contrib/kldload rm -f contrib/larch rm -f contrib/lilo rm -f contrib/lintian rm -f contrib/p4 rm -f contrib/pkg_install rm -f contrib/pkgtools rm -f contrib/portupgrade rm -f contrib/reportbug rm -f contrib/sysv-rc #install -d -m755 %{buildroot}%{_sysconfdir}/bash_completion.d #cp -a contrib/* %{buildroot}%{_sysconfdir}/bash_completion.d/ %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_sysconfdir}/bash_completion %{_sysconfdir}/profile.d/bash_completion.sh %{_sysconfdir}/bash_completion.d %doc AUTHORS CHANGES COPYING README TODO %changelog * Thu Aug 25 2011 Silvan Calarco 1.3-1mamba - update to 1.3 * Wed Feb 02 2011 Davide Madrisan 1.2-1mamba - update url - remove files not applicable to openmamba - add upstream patch for rpm * Tue Feb 01 2011 Silvan Calarco 20060301-3mamba - remove unuseful %dir to fix a self installation loop * Fri Sep 26 2008 Silvan Calarco 20060301-2mamba - fix installation of /etc/bash_completion - add bash_completion.sh in /etc/profile.d - install contrib file in /etc/bash_completion.d * Tue Sep 23 2008 Ercole 'ercolinux' Carpanetto 20060301-1mamba - package created by autospec