SPECS: wpkg-http.spec - add R - correct
wolvverine
wolvverine at pld-linux.org
Mon Sep 26 08:14:28 CEST 2005
Author: wolvverine Date: Mon Sep 26 06:14:28 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add R
- correct
---- Files affected:
SPECS:
wpkg-http.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/wpkg-http.spec
diff -u SPECS/wpkg-http.spec:1.1 SPECS/wpkg-http.spec:1.2
--- SPECS/wpkg-http.spec:1.1 Mon Sep 26 08:03:22 2005
+++ SPECS/wpkg-http.spec Mon Sep 26 08:14:23 2005
@@ -1,4 +1,6 @@
# $Revision$, $Date$
+#TODO:
+#- config for apache
Summary: WPKG - HTTP backend
Summary(pl): WPKG - Interfejs Webowy
Name: wpkg-http
@@ -14,6 +16,8 @@
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Requires: wpkg
+Requires: httpd
+Requires: php
%description
Web backend for configuration WPKG.
@@ -26,14 +30,14 @@
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/{classes,config,libs,locale,packages,root,smarty,xml},%{_sysconfdir}/%{name}}
-rm INSTALL
+
+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
cd $RPM_BUILD_ROOT%{_datadir}/%{name}/xml
-rm ./*
ln -s %{_sysconfdir}/%{name}/hosts.xml hosts.xml
ln -s %{_sysconfdir}/%{name}/packages.xml packages.xml
ln -s %{_sysconfdir}/%{name}/profiles.xml profiles.xml
@@ -46,7 +50,7 @@
#%doc README TODO GPL-2 LICENSE
#%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
%dir %{_datadir}/%{name}
-%{_datadir}/%{name}
+%{_datadir}/%{name}/*
#%attr(755,root,root) %{_datadir}/%{name}/wpkg.js
#%{_datadir}/%{name}/*.xml
@@ -56,6 +60,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2005/09/26 06:14:23 wolvverine
+- add R
+- correct
+
Revision 1.1 2005/09/26 06:03:22 wolvverine
- initial
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/wpkg-http.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list