SPECS: WebGUI.spec - added R: perl-POE-Component-IKC - some hacks

paszczus paszczus at pld-linux.org
Sat Jun 30 13:42:33 CEST 2007


Author: paszczus                     Date: Sat Jun 30 11:42:33 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added R: perl-POE-Component-IKC
- some hacks

---- Files affected:
SPECS:
   WebGUI.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: SPECS/WebGUI.spec
diff -u SPECS/WebGUI.spec:1.20 SPECS/WebGUI.spec:1.21
--- SPECS/WebGUI.spec:1.20	Sat Jun 30 12:33:40 2007
+++ SPECS/WebGUI.spec	Sat Jun 30 13:42:28 2007
@@ -27,6 +27,7 @@
 Requires:	perl-HTML-TagFilter >= 0.07
 Requires:	perl-HTML-Template >= 2.6
 Requires:	perl-HTTP-BrowserDetect >= 0.97
+Requires:	perl-POE-Component-IKC
 Requires:	perl-Parse-PlainConfig >= 1.1
 Requires:	perl-Tie-CPHash >= 1.001
 Requires:	perl-Tie-IxHash >= 1.21
@@ -59,20 +60,21 @@
 
 %{__perl} -pi -e 's|/data/WebGUI|%{_libdir}/WebGUI|' sbin/preload.perl etc/WebGUI.conf*
 ##%{__perl} -pi -e 's|configFile\s+=\s+\"WebGUI.conf\"|configFile = \"%{_sysconfdir}/WebGUI/WebGUI.conf\"|' www/index.pl
-##%{__perl} -pi -e 's|webguiRoot\s*=\s*\".+?\"|webguiRoot = \"%{_libdir}/WebGUI\"|' www/index.pl
 %{__perl} -pi -e "s|(\\\$session\{config\}\{webguiRoot\}\s*\.\s*'%{_sysconfdir}/'\s*\.)||g;" \
 	lib/WebGUI/Session.pm
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_libdir}/%{name}/sql,%{_sysconfdir}/%{name}}
+install -d $RPM_BUILD_ROOT{%{_libdir}/%{name}/sql,%{_libdir}/%{name}/lib,%{_sysconfdir}/%{name}}
 
 cp -rf docs/upgrades $RPM_BUILD_ROOT%{_libdir}/%{name}/sql
 install docs/create.sql $RPM_BUILD_ROOT%{_libdir}/%{name}/sql
 #gzip -9nf $RPM_BUILD_ROOT%{_libdir}/%{name}/sql{,/upgrades}/*.sql
 
 install etc/WebGUI.conf.original $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/WebGUI.conf
-cp -Prf lib/WebGUI* sbin www $RPM_BUILD_ROOT%{_libdir}/%{name}
+install etc/spectre.conf.original $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/spectre.conf
+cp -Prf sbin t www $RPM_BUILD_ROOT%{_libdir}/%{name}
+cp -Prf lib/{Spectre,WebGUI} $RPM_BUILD_ROOT%{_libdir}/%{name}/lib
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -82,6 +84,7 @@
 %doc docs/{changelog,credits.txt,gotcha.txt,install.txt,legal.txt}
 %dir %{_sysconfdir}/%{name}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/WebGUI.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/spectre.conf
 %{_libdir}/%{name}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -90,6 +93,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2007/06/30 11:42:28  paszczus
+- added R: perl-POE-Component-IKC
+- some hacks
+
 Revision 1.20  2007/06/30 10:33:40  paszczus
 - added more _noautoreq
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/WebGUI.spec?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list