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

Last change on this file since 953 was 953, checked in by olahaye, 6 years ago

Packaging: Added support for native systemd service files (Makefile and rpm side)
Reworked rpm to add --with flags for easy rpm customization.

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