packages: dic/dic.spec - bash-completion subpackage

uzsolt uzsolt at pld-linux.org
Fri Aug 7 20:42:14 CEST 2009


Author: uzsolt                       Date: Fri Aug  7 18:42:14 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- bash-completion subpackage

---- Files affected:
packages/dic:
   dic.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: packages/dic/dic.spec
diff -u packages/dic/dic.spec:1.7 packages/dic/dic.spec:1.8
--- packages/dic/dic.spec:1.7	Thu Jul 23 12:58:36 2009
+++ packages/dic/dic.spec	Fri Aug  7 20:42:09 2009
@@ -10,6 +10,7 @@
 Group:		Applications
 Source0:	http://dl.sourceforge.net/dic/%{name}-%{version}.tar.bz2
 # Source0-md5:	c604751a05298dad2492189e1f31ec21
+Source1:	%{name}-bash-completion
 URL:		http://dic.sourceforge.net/
 BuildRequires:	python-devel
 BuildRequires:	rpm-pythonprov
@@ -45,6 +46,18 @@
 Extfs plugin Midnight Commander-hez. A futó Midnight Commander-ben
 gépeld be a "cd #mcdic" sort!
 
+%package bash-completion
+Summary:	bash-completion to dic
+Summary(hu.UTF-8):	Bash automatikus kiegészítés dic-hez
+Group:		Applications/Shells
+Requires:	%{name}
+
+%description bash-completion
+Bash-completion to dic.
+
+%description bash-completion -l hu.UTF-8
+Bash automatikus kiegészítés dic-hez.
+
 %prep
 %setup -q
 
@@ -69,6 +82,9 @@
 install -d $RPM_BUILD_ROOT%{_datadir}/mc/extfs
 install build/scripts-2.6/mcdic $RPM_BUILD_ROOT%{_datadir}/mc/extfs
 
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/dic
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -86,6 +102,10 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_datadir}/mc/extfs/mcdic
 
+%files bash-completion
+%defattr(644,root,root,755)
+%{_sysconfdir}/bash_completion.d/%{name}
+
 %post mc
 if [ -f %{mcextfs} ]; then
 	grep -q mcdic %{mcextfs} || echo -e "\n# dic disk catalogizer\nmcdic:\n" >> %{mcextfs}
@@ -97,6 +117,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2009/08/07 18:42:09  uzsolt
+- bash-completion subpackage
+
 Revision 1.7  2009/07/23 10:58:36  uzsolt
 - noarch build
 - removed mc todo
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dic/dic.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list