]> git.pld-linux.org Git - packages/bash-completion.git/blobdiff - bash-completion.spec
- s/man --path/\/usr\/bin\/man --path/ (man --path doesn't work if man is
[packages/bash-completion.git] / bash-completion.spec
index fbcce2cd8592ff933cd14350e2b338bb6c7a8fdc..24368a8501d78e105c60311530290221c2f0d314 100644 (file)
@@ -1,7 +1,8 @@
 %define bashversion 2.05a
-Name:          bash-completion
 Summary:       bash-completion offers programmable completion for bash %{bashversion}
-Version:       20020402
+Summary(pl):   Programowalne uzupe³nianie nazw dla basha %{bashversion}
+Name:          bash-completion
+Version:       20020418
 Release:       1
 Group:         Applications/Shells
 License:       GPL
@@ -11,7 +12,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 BuildArch:     noarch
 Requires:      bash >= %{bashversion}-3
 Requires(post):        grep
-Requires(postun):      sed
+Requires(postun): sed
 
 %description
 bash-completion is a collection of shell functions that take advantage
@@ -20,7 +21,7 @@ this collection, you ideally need bash 2.05a or later.
 
 %description -l pl
 bash-completion jest kolekcj± funkcji shella, które opieraj± siê na
-wbudowanych rozszerzeniach basha 2.04 lub pó¼niejszego. Aby u¿ywac tej
+wbudowanych rozszerzeniach basha 2.04 lub pó¼niejszego. Aby u¿ywaæ tej
 kolekcji, potrzebujesz basha 2.05a lub pó¼niejszego.
 
 %prep
@@ -33,6 +34,7 @@ install bash_completion $RPM_BUILD_ROOT%{_sysconfdir}
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
 
 gzip -9nf README Changelog
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -42,7 +44,7 @@ if ! grep -q '\[ -f '%{_sysconfdir}'/bash_completion \]' \
     cat <<'EOF' >> %{_sysconfdir}/bashrc
 # START bash completion -- do not remove this line
 bash=${BASH_VERSION%.*}; bmajor=${bash%.*}; bminor=${bash#*.}
-if [ "$PS1" ] && [ $bmajor -eq 2 ] && [ $bminor '>' 04 ] \
+if [ "$PS1" ] && [ "$bmajor" -eq 2 ] && [ "$bminor" '>' 04 ] \
    && [ -f %{_sysconfdir}/bash_completion ]; then      # interactive shell
        # Source completion code
         . %{_sysconfdir}/bash_completion
@@ -59,7 +61,6 @@ if [ "$1" -eq 0 ]; then
     mv -f /etc/bashrc.tmp /etc/bashrc
 fi
 
-
 %files
 %defattr(644,root,root,755)
 %{_sysconfdir}/bash_completion
This page took 0.035765 seconds and 4 git commands to generate.