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

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

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


Revision 1.3 - (hide annotations) (download)
Sun Jul 31 23:07:28 2022 UTC (2 years, 3 months ago) by trevorb
Branch: MAIN
Changes since 1.2: +2 -1 lines
execute new patch...

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

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