X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Monitor.spec;h=87c0e629df0cb6e574dd8a21300892f862946238;hb=9a3f616ba7f24ef6dd9b0de395ba7d997c273a13;hp=e0a58e73693a6270b289cda6add768460ec9e7ea;hpb=c6cd7998ff200fcb63bf70a172fed2ad5cbd0aab;p=monitor.git diff --git a/Monitor.spec b/Monitor.spec index e0a58e7..87c0e62 100644 --- a/Monitor.spec +++ b/Monitor.spec @@ -77,7 +77,7 @@ as Zabbix DB. %build # NOTE: the build uses g++ cmdamt/ # NOTE: TMPDIR is needed here b/c the tmpfs of the build vserver is too small. -cd cmdamt +cd pcucontrol/models/intelamt export TMPDIR=$PWD/tmp make cd .. @@ -117,6 +117,7 @@ rsync -a monitor/ $RPM_BUILD_ROOT/%{python_sitearch}/monitor/ #for file in __init__.py database.py config.py ; do # install -D -m 644 monitor/$file $RPM_BUILD_ROOT/%{python_sitearch}/monitor/$file #done +rsync -a pcucontrol/ $RPM_BUILD_ROOT/%{python_sitearch}/pcucontrol/ install -D -m 755 threadpool.py $RPM_BUILD_ROOT/%{python_sitearch}/threadpool.py touch $RPM_BUILD_ROOT/var/www/cgi-bin/monitor/monitorconfig.php @@ -140,6 +141,7 @@ rm -rf $RPM_BUILD_ROOT %{python_sitearch}/threadpool.pyc %{python_sitearch}/threadpool.pyo %{python_sitearch}/monitor +%{python_sitearch}/pcucontrol %{_sysconfdir}/plc.d/monitor %files client @@ -152,7 +154,7 @@ rm -rf $RPM_BUILD_ROOT # an API server or so on. # TODO: create real monitorconfig.py from monitorconfig-default.py # TODO: create monitorconfig.php using phpconfig.py -# TODO: create symlink in /var/lib/monitor-server for chroot environments +# TODO: create symlink in /var/lib/monitor for chroot environments # TODO: update the content of automate_pl03.sh # TODO: Use the installed version of bootcd to create custom boot images. ( or, use the api now).