SPECS: webapps.spec (NEW) - initial idea

glen glen at pld-linux.org
Sun Nov 20 18:01:47 CET 2005


Author: glen                         Date: Sun Nov 20 17:01:46 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial idea

---- Files affected:
SPECS:
   webapps.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/webapps.spec
diff -u /dev/null SPECS/webapps.spec:1.1
--- /dev/null	Sun Nov 20 18:01:46 2005
+++ SPECS/webapps.spec	Sun Nov 20 18:01:41 2005
@@ -0,0 +1,48 @@
+# $Revision$, $Date$
+Summary:	webapps
+Name:		webapps
+Version:	0.1
+Release:	0.2
+License:	GPL
+Group:		Applications/WWW
+Source0:	%{name}.README
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_sysconfdir	/etc/webapps
+
+%description
+webapps is a package for having web applications configuration files
+and webserver config fragments in unified place.
+
+webserver configs are in $webapps/$httpd
+web application configs are in $webapps/configs/$webapp
+
+individual directory for $webapps/$httpd is provided by webserver
+itself.
+
+%prep
+cp %{SOURCE0} README
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/config
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%dir %attr(751,root,http) %{_sysconfdir}
+%dir %attr(751,root,http) %{_sysconfdir}/config
+
+%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.1  2005/11/20 17:01:41  glen
+- initial idea
+
================================================================



More information about the pld-cvs-commit mailing list