initial commit of file from CVS for smeserver-sysmon on Sat Sep 7 21:06:49 AEST 2024
This commit is contained in:
115
smeserver-sysmon.spec
Normal file
115
smeserver-sysmon.spec
Normal file
@@ -0,0 +1,115 @@
|
||||
# $Id: smeserver-sysmon.spec,v 1.8 2022/09/21 08:05:30 trevorb Exp $
|
||||
# Authority: slords
|
||||
# Name: Shad L. Lords
|
||||
|
||||
Summary: sme server system monitor
|
||||
%define name smeserver-sysmon
|
||||
Name: %{name}
|
||||
%define version 6.5
|
||||
%define release 6
|
||||
Version: %{version}
|
||||
Release: %{release}%{?dist}
|
||||
License: Freely distributable
|
||||
Group: Service
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
BuildRoot: /var/tmp/e-smith-buildroot
|
||||
BuildRequires: e-smith-devtools
|
||||
BuildArchitectures: noarch
|
||||
Requires: smeserver-release >= 10
|
||||
Requires: sysstat >= 5
|
||||
Requires: rrdtool >= 1.2
|
||||
Requires: perl(RRDs)
|
||||
Requires: fping
|
||||
Requires: perl(File::Find::Rule)
|
||||
Requires: perl(File::Slurp)
|
||||
AutoReqProv: no
|
||||
|
||||
%changelog
|
||||
* Sat Sep 07 2024 cvs2git.sh aka Brian Read <brianr@koozali.org> 6.5-6.sme
|
||||
- Roll up patches and move to git repo [SME: 12338]
|
||||
|
||||
* Sat Sep 07 2024 BogusDateBot
|
||||
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
||||
by assuming the date is correct and changing the weekday.
|
||||
|
||||
* Wed Sep 21 2022 Trevor Batley <trevor@batley.id.au> 6.5-5.sme
|
||||
- redo patch to remove 50koozali.conf (as not added to cvs) [SME: 12191]
|
||||
|
||||
* Wed Sep 21 2022 Trevor Batley <trevor@batley.id.au> 6.5-4.sme
|
||||
- remove superflous and incorrect references to 50koozali.conf [SME: 12191]
|
||||
|
||||
* Mon Aug 15 2022 Trevor Batley <trevor@batley.id.au> 6.5-3.sme
|
||||
- add -U parameter to sadf call to enforce datetime type [SME: 11702]
|
||||
- alter sysmon service to use to use systemd [SME: 11072]
|
||||
- initial release to contribs10
|
||||
|
||||
* Sun Jul 31 2022 Trevor Batley <trevor@batley.id.au> 6.5-2.sme
|
||||
- add to backup [SME: 12024]
|
||||
|
||||
* 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
|
||||
|
||||
* Thu Jan 18 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 6.4-6.sme
|
||||
- Fix database backups iunspec file [[SME: 7096]]
|
||||
|
||||
* Mon Jan 15 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 6.4-5.sme
|
||||
- Fix missing swap information [[SME: 10493]]
|
||||
- Remove unnecessary daemonising line
|
||||
|
||||
* Thu Sep 24 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 6.4-4.sme
|
||||
- Network labels have changed in rrdtools
|
||||
- Added smeserver-sysmon-6.4.change_rrd_network_label.patch
|
||||
|
||||
* Thu Sep 24 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 6.4-2.sme
|
||||
- Initial release to contribs9
|
||||
|
||||
* Wed Aug 15 2012 JP Pialasse <tests@pialasse.com> 6.2-2.sme
|
||||
- patch for sysstats 7 and for 64 bit systems
|
||||
|
||||
* Thu Aug 9 2012 Shad L. Lords <slords@mail.com> 6.2-1.sme
|
||||
- Initial version
|
||||
|
||||
%description
|
||||
System monitor for SME Server version 9
|
||||
|
||||
%prep
|
||||
%setup
|
||||
|
||||
%build
|
||||
perl createlinks
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
|
||||
rm -f %{name}-%{version}-filelist
|
||||
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
|
||||
echo "%doc COPYING" >> %{name}-%{version}-filelist
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%pre
|
||||
if [ $1 -ge 1 ]; then
|
||||
/sbin/service sysmon stop &> /dev/null || :
|
||||
fi
|
||||
|
||||
%post
|
||||
if [ $1 -ge 2 ]; then
|
||||
/sbin/service sysmon restart &> /dev/null || :
|
||||
fi
|
||||
|
||||
|
||||
%preun
|
||||
if [ $1 -eq 0 ]; then
|
||||
/sbin/service sysmon stop &> /dev/null || :
|
||||
fi
|
||||
|
||||
%postun
|
||||
if [ $1 -ge 1 ]; then
|
||||
/sbin/service sysmon restart &> /dev/null || :
|
||||
fi
|
||||
|
||||
%files -f %{name}-%{version}-filelist
|
||||
%defattr(-,root,root)
|
||||
Reference in New Issue
Block a user