source: trunk/pkg/rpm/jobmonarch-jobmond.spec @ 378

Last change on this file since 378 was 378, checked in by bastiaans, 15 years ago

pkg, Makefile:

  • added sources and Makefile for creating releases/tarball/debs/rpms
File size: 770 bytes
Line 
1Buildroot: 
2Name: jobmonarch-jobmond
3Version: 
4Release: 
5Summary: Job Monitoring Daemon
6License: see /usr/share/doc/jobmonarch-jobmond/copyright
7Distribution: Debian
8Group: Converted/misc
9
10%define _rpmdir ../
11%define _rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
12%define _unpackaged_files_terminate_build 0
13
14%post
15#!/bin/sh
16
17PATH=/bin:/sbin:/usr/bin:/usr/sbin
18
19if [ -x /etc/init.d/jobmond ] && [ -x /usr/sbin/jobmond ]
20        then
21
22                chkconfig jobmond on
23
24fi
25
26/etc/init.d/jobmond restart
27
28
29%preun
30#!/bin/sh
31
32/etc/init.d/jobmond stop
33
34
35%postun
36#!/bin/sh
37
38PATH=/bin:/sbin:/usr/bin:/usr/sbin
39
40chkconfig jobmond off
41
42
43%description
44
45
46Job MonArch's monitoring daemon.
47
48%files
49"/etc/init.d/jobmond"
50"/usr/sbin/jobmond.py"
51"/usr/sbin/jobmond"
52%config "/etc/jobmond.conf"
Note: See TracBrowser for help on using the repository browser.