git://git.onelab.eu
/
monitor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move clean_policy.py into monitor package
[monitor.git]
/
Monitor.spec
diff --git
a/Monitor.spec
b/Monitor.spec
index
15b24c1
..
87c0e62
100644
(file)
--- 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.
%build
# NOTE: the build uses g++ cmdamt/
# NOTE: TMPDIR is needed here b/c the tmpfs of the build vserver is too small.
-cd
cmd
amt
+cd
pcucontrol/models/intel
amt
export TMPDIR=$PWD/tmp
make
cd ..
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
#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
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}/threadpool.pyc
%{python_sitearch}/threadpool.pyo
%{python_sitearch}/monitor
+%{python_sitearch}/pcucontrol
%{_sysconfdir}/plc.d/monitor
%files client
%{_sysconfdir}/plc.d/monitor
%files client