SPECS: template-webapp.spec - default apache config

glen glen at pld-linux.org
Sun May 14 19:34:27 CEST 2006


Author: glen                         Date: Sun May 14 17:34:27 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- default apache config

---- Files affected:
SPECS:
   template-webapp.spec (1.40 -> 1.41) 

---- Diffs:

================================================================
Index: SPECS/template-webapp.spec
diff -u SPECS/template-webapp.spec:1.40 SPECS/template-webapp.spec:1.41
--- SPECS/template-webapp.spec:1.40	Tue Mar  7 13:44:19 2006
+++ SPECS/template-webapp.spec	Sun May 14 19:34:21 2006
@@ -34,9 +34,13 @@
 konfiguracji aplikacji WWW do katalogu konfiguracyjnego serwera WWW.
 
 %prep
-#%setup -q
-cat > config.conf <<EOF
-# This is sample config
+%setup -q
+
+cat >>apache.conf <'EOF'
+Alias /%{name} /usr/share/%{name}
+<Directory /usr/share/%{name}>
+	Allow from all
+</Directory>
 EOF
 
 %install
@@ -45,9 +49,9 @@
 #install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}}
 
 #install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
-install config.conf $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
-install config.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
-install config.conf $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
+install apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
+install apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
+install apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
 
 # %webapp_* macros usage extracted from /usr/lib/rpm/macros.build:
 #
@@ -176,6 +180,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.41  2006/05/14 17:34:21  glen
+- default apache config
+
 Revision 1.40  2006/03/07 12:44:19  glen
 - order
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/template-webapp.spec?r1=1.40&r2=1.41&f=u



More information about the pld-cvs-commit mailing list