SPECS: wpkg-http.spec - add config for apache
wolvverine
wolvverine at pld-linux.org
Sat Oct 1 04:19:38 CEST 2005
Author: wolvverine Date: Sat Oct 1 02:19:38 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add config for apache
---- Files affected:
SPECS:
wpkg-http.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/wpkg-http.spec
diff -u SPECS/wpkg-http.spec:1.2 SPECS/wpkg-http.spec:1.3
--- SPECS/wpkg-http.spec:1.2 Mon Sep 26 08:14:23 2005
+++ SPECS/wpkg-http.spec Sat Oct 1 04:19:33 2005
@@ -10,7 +10,7 @@
Group: Applications
Source0: http://dl.sourceforge.net/wpkg/%{name}-%{version}.tar.gz
# Source0-md5: 033e6251fb80db3ec1207f83155a5b6b
-#Source1: %{name}-
+Source1: %{name}_apache.conf
#Source2: %{name}-
URL: http://wpkg.sourceforge.net/
BuildArch: noarch
@@ -29,13 +29,14 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/{classes,config,libs,locale,packages,root,smarty,xml},%{_sysconfdir}/%{name}}
+install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/{classes,config,libs,locale,packages,root,smarty,xml},%{_sysconfdir}/{%{name},httpd/httpd.conf}}
rm INSTALL xml/{hosts.xml,packages.xml,profiles.xml} root/wpkg.tar.gz
cp -Rv * $RPM_BUILD_ROOT%{_datadir}/%{name}/
#install hosts.xml $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/hosts.xml
#install packages.xml $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/packages.xml
-#install profiles.xml $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/profiles.xml
+
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/httpd.conf/98_wpkg-http.conf
cd $RPM_BUILD_ROOT%{_datadir}/%{name}/xml
ln -s %{_sysconfdir}/%{name}/hosts.xml hosts.xml
@@ -48,7 +49,7 @@
%files
%defattr(644,root,root,755)
#%doc README TODO GPL-2 LICENSE
-#%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd/httpd.conf/*
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*
#%attr(755,root,root) %{_datadir}/%{name}/wpkg.js
@@ -60,6 +61,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2005/10/01 02:19:33 wolvverine
+- add config for apache
+
Revision 1.2 2005/09/26 06:14:23 wolvverine
- add R
- correct
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/wpkg-http.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list