source: branches/1.0/pkg/rpm/jobmonarch.spec.in @ 873

Last change on this file since 873 was 873, checked in by olahaye, 8 years ago

[rpm packaging:jobmonarch.spec.in] Added some messages (same as debian packages)

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