source: branches/1.1/pkg/rpm/jobmonarch.spec @ 941

Last change on this file since 941 was 941, checked in by olahaye, 7 years ago

[jobmonarch.spec] Allow to specify ganglia user at build time using --define "custom_gangliauser user.group" when doing the rpmbuild.

File size: 21.4 KB
Line 
1# Don't need debuginfo RPM
2%define debug_package %{nil}
3%define __check_files %{nil}
4
5%if 0%{?suse_version}
6%define web_prefixdir /srv/www/htdocs/ganglia
7%else
8%define web_prefixdir %{custom_web_prefixdir}
9%endif
10
11%{!?custom_web_prefixdir: %define web_prefixdir /usr/share/ganglia}
12
13%define gangliaroot        %{web_prefixdir}
14%define gangliatemplatedir %{gangliaroot}/templates
15%define gangliaaddonsdir   %{gangliaroot}/addons
16
17%define gangliauser        %{custom_gangliauser}
18%{!?custom_gangliauser: %define gangliauser ganglia.ganglia}
19
20Summary: Tools and addons to Ganglia to monitor and archive batch job info
21Name: jobmonarch
22Version: __VERSION__
23URL: https://oss.trac.surfsara.nl/jobmonarch
24Release: __RELEASE__%{?dist}
25License: GPL
26Packager: Job Monarch Development team <jobmonarch-developers@lists.sourceforge.net>
27Group: Applications/Base
28Source: ganglia_jobmonarch-%{version}.tar.bz2
29BuildArch: noarch
30BuildRoot: %{_tmppath}/%{name}
31BuildRequires: fakeroot
32
33AutoReqProv: no
34
35%description
36Job Monarch is a set of tools to monitor and optionally archive (batch) job
37information. It is a addon for the Ganglia monitoring system and plugs into an
38existing Ganglia setup.
39
40%package -n jobmonarch-jobarchived
41Summary: jobarchived is the archiving daemon for jobmonarch.
42Version: __VERSION__
43URL: https://oss.trac.surfsara.nl/jobmonarch
44Release: __RELEASE__%{?dist}
45License: GPL
46Packager: Job Monarch Development team <jobmonarch-developers@lists.sourceforge.net>
47Group: Applications/Base
48Requires: postgresql >= 8.1.22
49Requires: postgresql-server >= 8.1.22
50Requires: ganglia-gmetad >= 3.3.8
51Requires: python >= 2.5
52Requires: python-psycopg2
53Requires: rrdtool-python rrdtool
54Requires: jobmonarch-webfrontend
55
56%description -n jobmonarch-jobarchived
57Job-Monarch is a set of tools to monitor and optionally archive (batch) job
58information. It is a addon for the Ganglia monitoring system and plugs into an
59existing Ganglia setup.
60jobarchived is the Job-Monarch's job archiving daemon. It listens to Ganglia's
61XML stream and archives the job and node statistics. It stores the job
62statistics in a Postgres SQL database and the node statistics in RRD
63files. Through this daemon, users are able to lookup a old/finished job and
64view all it's statistics.
65
66%package -n jobmonarch-jobmond
67Summary: jobmond is the job monitoring daemon for jobmonarch.
68Version: __VERSION__
69URL: https://oss.trac.surfsara.nl/jobmonarch
70Release: __RELEASE__%{?dist}
71License: GPL
72Packager: Job Monarch Development team <jobmonarch-developers@lists.sourceforge.net>
73Group: Applications/Base
74Requires: python >= 2.5
75Requires: ganglia-gmond >= 3.3.8
76#Requires(hint): pbs_python
77#Requires(hint): python-pylsf
78#Requires(hint): python-pyslurm
79
80%description -n jobmonarch-jobmond
81Job-Monarch is a set of tools to monitor and optionally archive (batch) job
82information. It is a addon for the Ganglia monitoring system and plugs into an
83existing Ganglia setup.
84jobmond is the Job-Monarch's job monitoring daemon that gathers PBS/Torque/SLURM/LSF/SGE
85batch statistics on jobs/nodes and submits them into Ganglia's XML stream.
86
87%package -n jobmonarch-webfrontend
88Summary: webfrontend is the ganglia webfrontend for jobmonarch.
89Version: __VERSION__
90URL: https://oss.trac.surfsara.nl/jobmonarch
91Release: __RELEASE__%{?dist}
92License: GPL
93Packager: Job Monarch Development team <jobmonarch-developers@lists.sourceforge.net>
94Group: Applications/Base
95Requires: ganglia-web >= 3.3.8
96Requires: php >= 5.3.0
97Requires: php-pgsql
98%if 0%{?suse_version}
99Requires: php5-gd >= 2.0
100%else
101Requires: php-gd >= 2.0
102# php-mbstring, while required by Dwoo is not needed by jobmonarch-webfrontend as
103# it doesn't uses Dwoo functions that require mbstring.
104#Requires: php-mbstring
105%endif
106
107%description -n jobmonarch-webfrontend
108Job-Monarch is a set of tools to monitor and optionally archive (batch)job
109information. It is a addon for the Ganglia monitoring system and plugs into an
110existing Ganglia setup.
111webfrontend is The Job-Monarch's web frontend interfaces with the
112jobmond data and (optionally) the jobarchived and presents the data and
113graphs. It does this in a similar layout/setup as Ganglia itself, so the
114navigation and usage is intuitive.
115
116%prep
117%setup -q -n ganglia_jobmonarch-%{version}
118
119%build
120
121%install
122rm -rf $RPM_BUILD_ROOT
123
124
125# Fix rrdtool web link in footer:
126#sed -i -e 's|http:/www.rrdtool.com/|http:/oss.oetiker.ch/rrdtool/|g' ./web/addons/job_monarch/templates/footer.tpl
127
128# Install files in RPM_BUILD_ROOT
129fakeroot %__make install \
130        PREFIX=/usr \
131        GANGLIA_ROOT=%{gangliaroot} \
132        GANGLIA_USER=%{gangliauser} \
133        HTTPD_USER=apache.apache \
134        JOBARCHIVE_RRDS=%{_sharedstatedir}/jobarchive \
135        DESTDIR=$RPM_BUILD_ROOT
136
137%clean
138%__rm -rf $RPM_BUILD_ROOT
139
140%post -n jobmonarch-jobmond
141# $1 = 1 => install ($1 = 2 => upgrade)
142if [ "$1" = 1 ]; then
143    # Enable the service
144    /sbin/chkconfig --add jobmond
145    echo ""
146    echo "Additional manual changes are required to setup jobmond:"
147    echo ""
148    echo "1) Edit /etc/jobmond.conf to reflect your local settings and setup:"
149    echo "   - BATCH_API: pbs, slurm, sge (experimental), lsf (experimental)"
150    echo "2) Install the python interface to the selected batch queuing system"
151    echo "   - pbs_python (for pbs or torque)"
152    echo "   - python-pyslurm (for slurm)"
153    echo "   - python-pylsf (for lsf)"
154    echo ""
155elif [ "$1" = 2 ]; then
156    /sbin/service jobmond condrestart
157fi
158
159%post -n jobmonarch-jobarchived
160# $1 = 1 => install ($1 = 2 => upgrade)
161if [ "$1" = 1 ]; then
162    # Enable the service
163    /sbin/chkconfig --add jobarchived
164    echo "Generating random password and updating apropriate files"
165    # Generate a 8 char password for the database:
166    export DB_PASSWD=$(tr -dc A-Za-z0-9_< /dev/urandom |head -c 8 | xargs)
167    # Set the password in the SQL script
168    sed -i -e '/^.*modify me:.*$/d' -e 's/^-- ALTER/ALTER/g' -e "s/'';/'$DB_PASSWD';/g" %{_datadir}/jobarchived/job_dbase.sql
169    # Set the password in the jobarchived config.
170    sed -i -e "s/^#JOB_SQL_PASSWORD.*$/JOB_SQL_PASSWORD\t\t: $DB_PASSWD/g" %{_sysconfdir}/jobarchived.conf
171    # Set the password in the ganglia conf.php
172    sed -i -e "s|^//\$JOB_ARCHIVE_SQL_PASSWORD.*|\$JOB_ARCHIVE_SQL_PASSWORD = \"$DB_PASSWD\"|g" %{gangliaaddonsdir}/job_monarch/conf.php
173    echo ""
174    echo "Additional manual changes are required to setup jobarchived:"
175    echo ""
176    echo "1) Edit /etc/jobarchived.conf to reflect your local settings and setup:"
177    echo "   - ARCHIVE_DATASOURCES and ARCHIVE_PATH"
178    echo ""
179    echo "2) Create a 'jobarchive' database and create jobarchived's tables:" 
180    echo "   - createdb jobarchive"
181    echo "   - psql -f /usr/share/jobarchived/job_dbase.sql jobarchive"
182    echo "   - Update /var/lib/pgsql/data/pg_hba.conf by adding the following lines:"
183    echo "     local   jobarchive      jobarchive                              trust"
184    echo "     host    jobarchive      jobarchive      127.0.0.1/32            trust"
185    echo "     host    jobarchive      jobarchive      ::1/128                 trust"
186    echo "   - Restart the postgresql service"
187    echo ""
188elif [ "$1" = 2 ]; then
189    echo "Restarting jobarchived if needed..."
190    /sbin/service jobarchived condrestart
191    exit 0
192fi
193
194%post -n jobmonarch-webfrontend
195if [ "$1" = 1 ]; then
196    echo "Make sure to set your Ganglia template to job_monarch now"
197    echo ""
198    echo "In your Ganglia conf.php, set this line:"
199    echo "\$template_name = \"job_monarch\";"
200fi
201
202%preun -n jobmonarch-jobmond
203if [ "$1" = 0 ]; then
204    if [ -x /sbin/chkconfig ]; then
205        /sbin/service jobmond stop
206        /sbin/chkconfig --del jobmond
207    fi
208fi
209
210%preun -n jobmonarch-jobarchived
211if [ "$1" = 0 ]; then
212    if [ -x /sbin/chkconfig ]; then
213        /sbin/service jobarchived stop
214        /sbin/chkconfig --del jobarchived
215    fi
216fi
217
218%preun -n jobmonarch-webfrontend
219if [ "$1" = 0 ]; then
220    echo "Make sure to set your Ganglia template to previous config now"
221    echo ""
222    echo "In your Ganglia conf.php, restore your previous template:"
223    echo "\$template_name = \"default\";"
224fi
225
226%files -n jobmonarch-jobmond
227%doc jobmond/examples
228%doc AUTHORS CHANGELOG INSTALL LICENSE README TODO UPGRADE
229%config(noreplace) %{_sysconfdir}/jobmond.conf
230%{_sysconfdir}/sysconfig/jobmond
231%{_initrddir}/jobmond
232%{_sbindir}/jobmond.py
233%{_sbindir}/jobmond
234
235%files -n jobmonarch-jobarchived
236%doc jobarchived/examples
237%doc AUTHORS CHANGELOG INSTALL LICENSE README TODO UPGRADE
238%config(noreplace) %{_sysconfdir}/jobarchived.conf
239%{_sysconfdir}/sysconfig/jobarchived
240%{_initrddir}/jobarchived
241%dir %{_datadir}/jobarchived
242%{_sbindir}/jobarchived.py
243%{_sbindir}/jobarchived
244%{_datadir}/jobarchived/*
245%dir %{_sharedstatedir}/jobarchive
246
247%files -n jobmonarch-webfrontend
248%doc AUTHORS CHANGELOG INSTALL LICENSE README TODO UPGRADE
249%dir %{gangliatemplatedir}/job_monarch
250%dir %{gangliaaddonsdir}/job_monarch
251%{gangliatemplatedir}/job_monarch/cluster_extra.tpl
252%{gangliatemplatedir}/job_monarch/host_extra.tpl
253%dir %{gangliatemplatedir}/job_monarch/images
254%{gangliatemplatedir}/job_monarch/images/logo.jpg
255%config(noreplace) %{gangliaaddonsdir}/job_monarch/conf.php
256%{gangliaaddonsdir}/job_monarch/ajax-loader.gif
257%{gangliaaddonsdir}/job_monarch/cal.gif
258%{gangliaaddonsdir}/job_monarch/clusterconf
259%{gangliaaddonsdir}/job_monarch/document_archive.jpg
260%dir %{gangliaaddonsdir}/job_monarch/dwoo
261%{gangliaaddonsdir}/job_monarch/dwoo/dwooAutoload.php
262%dir %{gangliaaddonsdir}/job_monarch/dwoo/plugins
263%dir %{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin
264%dir %{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/filters
265%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/filters/html_format.php
266%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/helper.array.php
267%dir %{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/processors
268%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/processors/pre.smarty_compat.php
269%dir %{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/blocks
270%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/blocks/forelse.php
271%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/blocks/capture.php
272%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/blocks/if.php
273%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/blocks/elseif.php
274%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/blocks/block.php
275%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/blocks/smartyinterface.php
276%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/blocks/foreachelse.php
277%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/blocks/loop.php
278%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/blocks/textformat.php
279%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/blocks/template.php
280%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/blocks/withelse.php
281%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/blocks/with.php
282%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/blocks/strip.php
283%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/blocks/for.php
284%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/blocks/a.php
285%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/blocks/dynamic.php
286%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/blocks/else.php
287%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/blocks/topLevelBlock.php
288%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/blocks/auto_escape.php
289%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/blocks/section.php
290%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/blocks/foreach.php
291%dir %{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions
292%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/cat.php
293%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/fetch.php
294%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/extendsCheck.php
295%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/count_characters.php
296%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/regex_replace.php
297%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/truncate.php
298%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/escape.php
299%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/safe.php
300%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/replace.php
301%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/return.php
302%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/math.php
303%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/isset.php
304%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/strip_tags.php
305%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/capitalize.php
306%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/dump.php
307%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/cycle.php
308%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/upper.php
309%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/eval.php
310%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/mailto.php
311%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/counter.php
312%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/spacify.php
313%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/default.php
314%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/optional.php
315%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/include.php
316%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/eol.php
317%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/reverse.php
318%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/lower.php
319%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/extends.php
320%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/wordwrap.php
321%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/load_templates.php
322%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/count_paragraphs.php
323%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/indent.php
324%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/assign.php
325%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/count_sentences.php
326%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/tif.php
327%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/nl2br.php
328%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/string_format.php
329%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/whitespace.php
330%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/count_words.php
331%{gangliaaddonsdir}/job_monarch/dwoo/plugins/builtin/functions/date_format.php
332%dir %attr(775,apache,apache) %{gangliaaddonsdir}/job_monarch/dwoo/compiled
333%dir %attr(775,apache,apache) %{gangliaaddonsdir}/job_monarch/dwoo/cache
334%dir %{gangliaaddonsdir}/job_monarch/dwoo/Dwoo
335%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/IPluginProxy.php
336%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Filter.php
337%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Compiler.php
338%dir %{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Compilation
339%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Compilation/Exception.php
340%dir %{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Template
341%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Template/String.php
342%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Template/File.php
343%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/IDataProvider.php
344%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/ICompilable.php
345%dir %{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Block
346%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Block/Plugin.php
347%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/ICompiler.php
348%dir %{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/ICompilable
349%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/ICompilable/Block.php
350%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Processor.php
351%dir %{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Smarty
352%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Smarty/Adapter.php
353%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Exception.php
354%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Plugin.php
355%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Core.php
356%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/ILoader.php
357%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Data.php
358%dir %{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Security
359%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Security/Policy.php
360%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Security/Exception.php
361%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/IElseable.php
362%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/ITemplate.php
363%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Loader.php
364%dir %{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters
365%dir %{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/ZendFramework
366%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/ZendFramework/README
367%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/ZendFramework/PluginProxy.php
368%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/ZendFramework/View.php
369%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/ZendFramework/Dwoo.php
370%dir %{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/CodeIgniter
371%dir %{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/CodeIgniter/views
372%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/CodeIgniter/views/dwoowelcome.tpl
373%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/CodeIgniter/views/page.tpl
374%dir %{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/CodeIgniter/controllers
375%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/CodeIgniter/controllers/dwoowelcome.php
376%dir %{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/CodeIgniter/libraries
377%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/CodeIgniter/libraries/Dwootemplate.php
378%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/CodeIgniter/README
379%dir %{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/CodeIgniter/config
380%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/CodeIgniter/config/dwootemplate.php
381%dir %{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/CakePHP
382%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/CakePHP/README
383%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/CakePHP/dwoo.php
384%dir %{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/Agavi
385%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/Agavi/README
386%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/Agavi/DwooRenderer.php
387%dir %{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/Agavi/dwoo_plugins
388%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/Agavi/dwoo_plugins/t.php
389%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo/Adapters/Agavi/dwoo_plugins/url.php
390%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo.compiled.php
391%{gangliaaddonsdir}/job_monarch/dwoo/Dwoo.php
392%{gangliaaddonsdir}/job_monarch/footer.php
393%{gangliaaddonsdir}/job_monarch/graph.php
394%{gangliaaddonsdir}/job_monarch/host_view.php
395%{gangliaaddonsdir}/job_monarch/image.php
396%{gangliaaddonsdir}/job_monarch/index.php
397%{gangliaaddonsdir}/job_monarch/jobmonarch.gif
398%{gangliaaddonsdir}/job_monarch/libtoga.js
399%{gangliaaddonsdir}/job_monarch/libtoga.php
400%{gangliaaddonsdir}/job_monarch/logo_ned.gif
401%{gangliaaddonsdir}/job_monarch/next.gif
402%{gangliaaddonsdir}/job_monarch/overview.php
403%{gangliaaddonsdir}/job_monarch/prev.gif
404%{gangliaaddonsdir}/job_monarch/redcross.jpg
405%{gangliaaddonsdir}/job_monarch/search.php
406%{gangliaaddonsdir}/job_monarch/styles.css
407%dir %{gangliaaddonsdir}/job_monarch/templates
408%{gangliaaddonsdir}/job_monarch/templates/footer.tpl
409%{gangliaaddonsdir}/job_monarch/templates/header.tpl
410%{gangliaaddonsdir}/job_monarch/templates/host_view.tpl
411%{gangliaaddonsdir}/job_monarch/templates/overview.tpl
412%{gangliaaddonsdir}/job_monarch/templates/search.tpl
413%{gangliaaddonsdir}/job_monarch/ts_picker.js
414%{gangliaaddonsdir}/job_monarch/ts_validatetime.js
415%{gangliaaddonsdir}/job_monarch/version.php
416
417%changelog
418* Fri Sep 20 2013 Olivier Lahaye <olivier.lahaye@free.fr> 1.1.1-1
419- update to 1.1.1
420- Allow for custom ganglia user. (default: ganglia.ganglia)
421
422* Wed May 22 2013 Ramon Bastiaans <ramon.bastiaans@surfsara.nl> 1.1-1
423- update to 1.1
424- set version requirement for Ganglia
425- removed jobmond dep from webfrontend pkg
426
427%changelog
428* Wed Apr 24 2013 Olivier Lahaye <olivier.lahaye@free.fr> 1.0-3
429- Use make install to install the files
430- Fix the correct gangliaroot path
431- Fix the correct jobarchive rrd file path.
432- Generate a password for the database and update config files accordingly.
433- Set the correct permissions for %{gangliaaddonsdir}/job_monarch/dwoo/compiled
434
435* Tue Apr 23 2013 Olivier Lahaye <olivier.lahaye@free.fr> 1.0-2
436- Package missing files (/etc/sysconfig/{job{mond,archived}} and /etc/init.d scripts)
437- Fix Requires:
438  - Added missing python-psycopg2 require in jobarchived
439  - Removed pyPgSQL require (replaced by psycopg2)
440  - Removed useless requires: pbs_python from jobarchived
441  - Removed useless requires: python-rrdtools from jobmond
442
443* Mon Apr 22 2013 Olivier Lahaye <olivier.lahaye@free.fr> 1.0-1
444- Major rewrite of the spec file (sub packages)
445- Final upstream release.
446
447* Wed Mar 13 2013 Olivier Lahaye <olivier.lahaye1@free.fr> 0.4-0.4
448- Added Requires: pbs_python
449
450* Mon Mar  4 2013 Olivier Lahaye <olivier.lahaye1@free.fr> 0.4-0.3
451- Added Requires: pyPgSQL python-rrdtool
452- Fixed postinstall (Postgress initdb if required)
453- Fixed gangliaaddonsdir
454- Add %dir in file sections for gangliaaddonsdir and gangliatemplatedir
455  so rpm -qf know those dirs belong to jobmonarch package.
456- Fix web/addons/job_monarch/conf.php (GANGLIA_PATH and JOB_ARCHIVE_DIR)
457- Fix default gmond.conf path (/etc/ganglia/gmond.conf)
458- Mark %{_sharedstatedir}/jobarchived directory as part of the package
459- Fix rrdtool web URL in footer
460- Fix VERSION (it is a 0.4-pre, not a 0.3.1)
461- Patch from Daems Dirk: new pbs_python with arrays
462- Patch from Jeffrey J. Zahari: jobs attributes retrieval
463
464* Fri May 11 2012 Olivier Lahaye <olivier.lahaye1@free.fr> 0.4-0.2
465- Update to support EPEL/RF ganglia rpm.
466- Using 0.4 prerelease as there is an important bugfix over 0.3.1
467- Use macros
468
469* Fri Jul 29 2011 Olivier Lahaye <olivier.lahaye1@free.fr> 0.4-0.1
470- Update to V0.4SVN
471
472* Sun Aug 12 2006 Babu Sundaram <babu@cs.uh.edu> 0.3.1-1
473- Prepare first rpm for Job Monarch's jobmond Daemon
474
Note: See TracBrowser for help on using the repository browser.