packages: bzr/bzr.spec - bash-completion package; rel 3
glen
glen at pld-linux.org
Fri Oct 29 19:43:43 CEST 2010
Author: glen Date: Fri Oct 29 17:43:43 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- bash-completion package; rel 3
---- Files affected:
packages/bzr:
bzr.spec (1.65 -> 1.66)
---- Diffs:
================================================================
Index: packages/bzr/bzr.spec
diff -u packages/bzr/bzr.spec:1.65 packages/bzr/bzr.spec:1.66
--- packages/bzr/bzr.spec:1.65 Wed Oct 6 18:31:50 2010
+++ packages/bzr/bzr.spec Fri Oct 29 19:43:38 2010
@@ -3,7 +3,7 @@
Summary(pl.UTF-8): Bazaar - rozproszony system kontroli wersji
Name: bzr
Version: 2.2.1
-Release: 2
+Release: 3
License: GPL v2
Group: Development/Version Control
Source0: http://launchpad.net/bzr/2.2/%{version}/+download/%{name}-%{version}.tar.gz
@@ -66,10 +66,22 @@
systemów kontroli wersji, GUI są dostępne poprzez dodatkowe pakiety
rozszerzeń.
+%package -n bash-completion-%{name}
+Summary: bash-completion for bzr
+Group: Applications/Shells
+Requires: %{name} = %{version}-%{release}
+Requires: bash-completion
+
+%description -n bash-completion-%{name}
+This package provides bash-completion for bzr.
+
%prep
%setup -q
%patch0 -p0
+# move out of contrib, as we package contrib as doc
+mv contrib/bash/bzr bash_completion.sh
+
%build
%{__python} setup.py build
@@ -82,6 +94,10 @@
%py_postclean
+# bash-completion
+install -d $RPM_BUILD_ROOT/etc/bash_completion.d
+install -p bash_completion.sh $RPM_BUILD_ROOT/etc/bash_completion.d/%{name}
+
# don't package tests
rm -rf $RPM_BUILD_ROOT%{py_sitedir}/bzrlib/plugins/bash_completion/tests
rm -rf $RPM_BUILD_ROOT%{py_sitedir}/bzrlib/plugins/launchpad/test_*.py*
@@ -95,7 +111,7 @@
%files
%defattr(644,root,root,755)
-%doc doc/*.txt NEWS README TODO
+%doc doc/*.txt NEWS README TODO contrib
%attr(755,root,root) %{_bindir}/bzr
%{_mandir}/man1/bzr.1*
%{py_sitedir}/bzrlib
@@ -103,12 +119,19 @@
%{py_sitedir}/*.egg-info
%endif
+%files -n bash-completion-%{name}
+%defattr(644,root,root,755)
+/etc/bash_completion.d/%{name}
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.66 2010/10/29 17:43:38 glen
+- bash-completion package; rel 3
+
Revision 1.65 2010/10/06 16:31:50 wiget
- fix for bug #612096
- release 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/bzr/bzr.spec?r1=1.65&r2=1.66&f=u
More information about the pld-cvs-commit
mailing list