SPECS: webapps.spec - bash completion support; version 0.3

glen glen at pld-linux.org
Fri Sep 29 12:51:04 CEST 2006


Author: glen                         Date: Fri Sep 29 10:51:04 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- bash completion support; version 0.3

---- Files affected:
SPECS:
   webapps.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/webapps.spec
diff -u SPECS/webapps.spec:1.16 SPECS/webapps.spec:1.17
--- SPECS/webapps.spec:1.16	Mon Feb 27 10:24:45 2006
+++ SPECS/webapps.spec	Fri Sep 29 12:50:59 2006
@@ -2,12 +2,13 @@
 Summary:	webapps framework
 Summary(pl):	Szkielet dla aplikacji WWW
 Name:		webapps
-Version:	0.2
-Release:	6
+Version:	0.3
+Release:	1
 License:	GPL
 Group:		Applications/WWW
-Source0:	%{name}.sh
-Source1:	%{name}.README
+Source0:	%{name}.README
+Source1:	%{name}.sh
+Source2:	webapp-bash_completion.sh
 Requires:	coreutils
 Requires:	webserver
 Conflicts:	apache < 2.0.55-2.2
@@ -17,6 +18,7 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_sysconfdir	/etc/webapps
+%define		_bashcompletiondir	/etc/bash_completion.d
 
 %description
 webapps is a package for having web applications configuration files
@@ -28,12 +30,13 @@
 
 %prep
 %setup -qcT
-cp %{SOURCE1} README
+cp %{SOURCE0} README
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir}}
-install %{SOURCE0} $RPM_BUILD_ROOT%{_sbindir}/webapp
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},%{_bashcompletiondir}}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/webapp
+install %{SOURCE2} $RPM_BUILD_ROOT%{_bashcompletiondir}/webapp
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -43,6 +46,7 @@
 %doc README
 %dir %attr(751,root,http) %{_sysconfdir}
 %attr(755,root,root) %{_sbindir}/*
+%{_bashcompletiondir}/webapp
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -50,6 +54,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2006/09/29 10:50:59  glen
+- bash completion support; version 0.3
+
 Revision 1.16  2006/02/27 09:24:45  glen
 - rel 6
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/webapps.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list