SPECS: WebGUI.spec - webapps should be in datadir afaik
paszczus
paszczus at pld-linux.org
Fri Jul 13 10:47:04 CEST 2007
Author: paszczus Date: Fri Jul 13 08:47:04 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- webapps should be in datadir afaik
---- Files affected:
SPECS:
WebGUI.spec (1.28 -> 1.29)
---- Diffs:
================================================================
Index: SPECS/WebGUI.spec
diff -u SPECS/WebGUI.spec:1.28 SPECS/WebGUI.spec:1.29
--- SPECS/WebGUI.spec:1.28 Thu Jul 12 18:29:35 2007
+++ SPECS/WebGUI.spec Fri Jul 13 10:46:59 2007
@@ -42,7 +42,7 @@
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# optional
-%define _noautoreq 'perl(Authen::Smb)' 'perl(WebGUI::AssetBranch' 'perl(WebGUI::AssetClipboard)' 'perl(WebGUI::AssetExportHtml)' 'perl(WebGUI::AssetLineage)' 'perl(WebGUI::AssetMetaData)' 'perl(WebGUI::AssetPackage)' 'perl(WebGUI::AssetTrash)' 'perl(WebGUI::AssetVersioning)'
+%define _noautoreq 'perl(Authen::Smb)' 'perl(WebGUI::AssetBranch' 'perl(WebGUI::AssetClipboard)' 'perl(WebGUI::AssetExportHtml)' 'perl(WebGUI::AssetLineage)' 'perl(WebGUI::AssetMetaData)' 'perl(WebGUI::AssetPackage)' 'perl(WebGUI::AssetTrash)' 'perl(WebGUI::AssetVersioning)' 'perl(WebGUI)' 'perl(templates)'
%description
WebGUI is a content management platform built to allow average
@@ -62,22 +62,22 @@
%prep
%setup -q -n %{name}
-%{__perl} -pi -e 's|/data/WebGUI|%{_libdir}/WebGUI|' sbin/preload.perl etc/WebGUI.conf*
+%{__perl} -pi -e 's|/data/WebGUI|%{_datadir}/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|(\\\$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,%{_libdir}/%{name}/lib,%{_sysconfdir}/%{name},%{perl_vendorlib}}
+install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/sql,%{_datadir}/%{name}/lib,%{_sysconfdir}/%{name},%{perl_vendorlib}}
-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
+cp -rf docs/upgrades $RPM_BUILD_ROOT%{_datadir}/%{name}/sql
+install docs/create.sql $RPM_BUILD_ROOT%{_datadir}/%{name}/sql
+#gzip -9nf $RPM_BUILD_ROOT%{_datadir}/%{name}/sql{,/upgrades}/*.sql
install etc/WebGUI.conf.original $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/WebGUI.conf
install etc/spectre.conf.original $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/spectre.conf
-cp -Prf sbin www $RPM_BUILD_ROOT%{_libdir}/%{name}
+cp -Prf sbin www $RPM_BUILD_ROOT%{_datadir}/%{name}
cp -Prf lib/{Spectre,WebGUI} $RPM_BUILD_ROOT%{perl_vendorlib}
%clean
@@ -89,7 +89,7 @@
%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}
+%{_datadir}/%{name}
%dir %{perl_vendorlib}/WebGUI
%{perl_vendorlib}/WebGUI/*.pm
%dir %{perl_vendorlib}/WebGUI/AdSpace
@@ -162,6 +162,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.29 2007/07/13 08:46:59 paszczus
+- webapps should be in datadir afaik
+
Revision 1.28 2007/07/12 16:29:35 qboosh
- don't package tests
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/WebGUI.spec?r1=1.28&r2=1.29&f=u
More information about the pld-cvs-commit
mailing list