packages: rdiff-backup/rdiff-backup.spec - bash-completion subpackage - rel up

uzsolt uzsolt at pld-linux.org
Tue Jun 21 16:43:45 CEST 2011


Author: uzsolt                       Date: Tue Jun 21 14:43:45 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- bash-completion subpackage
- rel up

---- Files affected:
packages/rdiff-backup:
   rdiff-backup.spec (1.78 -> 1.79) 

---- Diffs:

================================================================
Index: packages/rdiff-backup/rdiff-backup.spec
diff -u packages/rdiff-backup/rdiff-backup.spec:1.78 packages/rdiff-backup/rdiff-backup.spec:1.79
--- packages/rdiff-backup/rdiff-backup.spec:1.78	Thu Jul  8 10:45:53 2010
+++ packages/rdiff-backup/rdiff-backup.spec	Tue Jun 21 16:43:40 2011
@@ -4,11 +4,12 @@
 Summary(pl.UTF-8):	Oprogramowanie do robienia kopii zapasowych
 Name:		rdiff-backup
 Version:	1.2.8
-Release:	2
+Release:	3
 License:	GPL
 Group:		Networking/Utilities
 Source0:	http://download.savannah.gnu.org/releases-noredirect/rdiff-backup/%{name}-%{version}.tar.gz
 # Source0-md5:	1a94dc537fcf74d6a3a80bd27808e77b
+Source1:	bash-completion.sh
 URL:		http://www.nongnu.org/rdiff-backup/
 BuildRequires:	librsync-devel >= 0.9.6
 BuildRequires:	popt-devel
@@ -55,6 +56,14 @@
 bezpiecznego połączenia SSH, gdzie jedynymi przesyłanymi danymi będą
 różnice w stosunku do poprzedniej kopii zapasowej.
 
+%package -n bash-completion-rdiff-backup
+Summary:	This package provides bash-completion for rdiff-backup
+Group:		Applications/Shells
+Requires:	bash-completion
+
+%description -n bash-completion-rdiff-backup
+This package provides bash-completion for rdiff-backup.
+
 %prep
 %setup -q
 
@@ -68,6 +77,11 @@
 	--optimize=2 \
 	--root=$RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT/%{_datadir}/bash-completion
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
+install %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/bash-completion/%{name}
+ln -s ../../%{_datadir}/bash-completion/%{name} $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -83,12 +97,21 @@
 %{py_sitedir}/rdiff_backup/*.py[co]
 %attr(755,root,root) %{py_sitedir}/rdiff_backup/*.so
 
+%files -n bash-completion-rdiff-backup
+%defattr(644,root,root,755)
+%{_datadir}/bash-completion/%{name}
+%{_sysconfdir}/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.79  2011/06/21 14:43:40  uzsolt
+- bash-completion subpackage
+- rel up
+
 Revision 1.78  2010/07/08 08:45:53  arekm
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rdiff-backup/rdiff-backup.spec?r1=1.78&r2=1.79&f=u



More information about the pld-cvs-commit mailing list