/[smecontribs]/rpms/smeserver-sysmon/contribs9/smeserver-sysmon.spec
ViewVC logotype

Annotation of /rpms/smeserver-sysmon/contribs9/smeserver-sysmon.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.9 - (hide annotations) (download)
Fri Dec 27 03:57:07 2019 UTC (4 years, 11 months ago) by jpp
Branch: MAIN
Changes since 1.8: +5 -4 lines
* Fri Dec 27 2019 Jean-Philipe Pialasse <tests@pialasse.com> 6.5-1.sme
- fix utf8 error
- fix ups not displaying [SME: 4449]
- fix broken image when DS not all available for ups, fan, temperature and voltage graphs

1 jpp 1.9 # $Id: smeserver-sysmon.spec,v 1.8 2019/12/27 03:51:43 jpp Exp $
2 stephdl 1.1 # Authority: slords
3     # Name: Shad L. Lords
4    
5     Summary: sme server system monitor
6     %define name smeserver-sysmon
7     Name: %{name}
8 jpp 1.8 %define version 6.5
9     %define release 1
10 stephdl 1.1 Version: %{version}
11     Release: %{release}%{?dist}
12     License: Freely distributable
13     Group: Service
14 stephdl 1.2 Source: %{name}-%{version}.tar.gz
15 stephdl 1.1 BuildRoot: /var/tmp/e-smith-buildroot
16     BuildRequires: e-smith-devtools
17     BuildArchitectures: noarch
18 stephdl 1.2 Requires: smeserver-release >= 9
19 stephdl 1.1 Requires: sysstat >= 5
20     Requires: rrdtool >= 1.2
21     Requires: perl(RRDs)
22     Requires: fping
23     AutoReqProv: no
24 jpp 1.9 Patch0: smeserver-sysmon-6.5-bz4449.patch
25 stephdl 1.1
26     %changelog
27 jpp 1.8 * Fri Dec 27 2019 Jean-Philipe Pialasse <tests@pialasse.com> 6.5-1.sme
28     - fix utf8 error
29 jpp 1.9 - fix ups not displaying [SME: 4449]
30     - fix broken image when DS not all available for ups, fan, temperature and voltage graphs
31 jpp 1.8
32 jcrisp 1.7 * Thu Jan 18 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 6.4-6.sme
33     - Fix database backups iunspec file [[SME: 7096]]
34    
35 jcrisp 1.6 * Mon Jan 15 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 6.4-5.sme
36     - Fix missing swap information [[SME: 10493]]
37     - Remove unnecessary daemonising line
38    
39 stephdl 1.5 * Thu Sep 24 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 6.4-4.sme
40 stephdl 1.4 - Network labels have changed in rrdtools
41     - Added smeserver-sysmon-6.4.change_rrd_network_label.patch
42    
43 stephdl 1.3 * Thu Sep 24 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 6.4-2.sme
44 stephdl 1.1 - Initial release to contribs9
45    
46     * Wed Aug 15 2012 JP Pialasse <tests@pialasse.com> 6.2-2.sme
47     - patch for sysstats 7 and for 64 bit systems
48    
49     * Thu Aug 9 2012 Shad L. Lords <slords@mail.com> 6.2-1.sme
50     - Initial version
51    
52     %description
53 stephdl 1.4 System monitor for SME Server version 9
54 stephdl 1.1
55     %prep
56     %setup
57 jpp 1.9 %patch0 -p1
58 stephdl 1.1
59     %build
60     perl createlinks
61    
62     %install
63     rm -rf $RPM_BUILD_ROOT
64     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
65     rm -f %{name}-%{version}-filelist
66     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
67     echo "%doc COPYING" >> %{name}-%{version}-filelist
68    
69     %clean
70     rm -rf $RPM_BUILD_ROOT
71    
72     %pre
73     if [ $1 -ge 1 ]; then
74     /sbin/service sysmon stop &> /dev/null || :
75     fi
76    
77     %post
78     if [ $1 -ge 2 ]; then
79     /sbin/service sysmon restart &> /dev/null || :
80     fi
81    
82 jcrisp 1.7
83 stephdl 1.1 %preun
84     if [ $1 -eq 0 ]; then
85     /sbin/service sysmon stop &> /dev/null || :
86     fi
87    
88     %postun
89     if [ $1 -ge 1 ]; then
90     /sbin/service sysmon restart &> /dev/null || :
91     fi
92    
93     %files -f %{name}-%{version}-filelist
94     %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed