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

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

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


Revision 1.2 - (hide annotations) (download)
Fri Aug 21 15:54:13 2015 UTC (9 years, 2 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-sme9admin-1_5-15_el6
Changes since 1.1: +2 -2 lines
Fri Aug 21 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5-15.sme - Initial release to contribs9

1 stephdl 1.1 # $Id: smeserver-sme9admin.spec,v 1.4 2013/12/30 06:47:01 unnilennium Exp $
2     # Authority: vip-ire
3     # Name: Daniel Berteaud
4     #
5    
6     Summary: A graphical monitor, alert raising, and services supervision tool for your SME Server.
7     %define name smeserver-sme9admin
8     Name: %{name}
9     %define version 1.5
10     %define release 15
11     Version: %{version}
12     Release: %{release}%{?dist}
13     License: GPL
14     Group: Networking/Daemons
15     Source: %{name}-%{version}.tar.gz
16    
17     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
18     BuildArchitectures: noarch
19    
20     BuildRequires: e-smith-devtools
21     BuildRequires: gettext
22    
23     Requires: e-smith-base
24     Requires: smeserver-release >= 9
25     Requires: rrdtool-perl
26     Requires: rrdtool
27     Requires: hddtemp
28     Requires: sysstat
29     Requires: lm_sensors
30     Obsoletes: smeserver-sme8admin
31    
32     AutoReqProv: no
33    
34     %changelog
35 stephdl 1.2 * Fri Aug 21 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5-15.sme
36     - Initial release to contribs9
37 stephdl 1.1
38     * Wed Dec 24 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.5-14.sme
39     - changed $mypid = `cat $mypid` by open(FIC,"<$mypid") [SME:8740]
40    
41     * Tue Dec 23 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.5-13.sme
42     - Corrected bug of empty pids [SME:8732]
43     - Added exeption if the server is not in server & gateway [SME:8739]
44    
45     * Thu Dec 11 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.5-12.sme
46     - corrected the dhcpd lease not reported [SME:8724]
47    
48     * Tue Nov 25 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.5-11.sme
49     - Added a restart to sme9admind when settings are changed in the sme9admin panel
50    
51     * Sat Nov 22 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.5-10.sme
52     - added a second fan speed sensors
53     - added four HD TEMP sensors
54     - added a new graph only for hd temperature sensor
55     - added an event sme9admin-update for avoiding to restart the server
56     - added a tab to check the raid status
57    
58     * Sun Nov 16 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.5-9.sme
59     - Changed in sme9admind L937 °C in .{1,2} .... Thanks JPP
60    
61     * Fri Nov 14 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.5-8.sme
62     - Added a service in rc7.d for lm_sensors
63     - added to sadf the -S to collect swap data
64     - changed txbyt/rxbyt to rxkB/txkB for collecting network load
65    
66     * Mon Sep 01 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.5-7.sme
67     - added 755 to /usr/bin/sme9admind
68    
69     * Wed Jun 18 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.5-6.sme
70     - Initial release to sme9
71    
72     * Sun Dec 15 2013 JP Pialasse <test@pialasse.com> 1.3-4.sme
73     - fix obsolete missing [SME: 7109]
74     - fix pppoe and vpn loging [SME: 8061]
75     - added monthly ppoe log
76     - fix stop on mysql error too many connections [SME: 7683]
77    
78     * Sun Sep 09 2012 JP Pialasse <test@pialasse.com> 1.3-3.sme
79     - startup fix [SME 3022]
80    
81     * Wed Aug 15 2012 JP Pialasse <test@pialasse.com> 1.3-2.sme
82     - 64 bits [SME 7040]
83    
84     * Sun Jun 10 2012 JP Pialasse <test@pialasse.com> 1.3-1.sme
85     - Initial version
86    
87     %description
88     The main part of sme9admin is a daemon which gathers informations from logs
89     and other tools like systat, it then feed a mysql database and create RRD
90     graphs about your system state.
91     This daemon can also send periodics mails (with some logs), and alerts mails
92     based on configurable thresolds.
93    
94     A panel is also available in the server-manager, with which you can access gathered
95     data, display the RRD graphs and configure the service.
96    
97     This contrib is a bit inspired by e-smith-sysmon from Shad Lords.
98    
99     %prep
100     %setup
101    
102     %build
103     perl createlinks
104     %{__mkdir_p} root/etc/e-smith/web/panels/manager/html/sme9admin
105     %{__mkdir_p} root/usr/share/locale/en_US/LC_MESSAGES
106    
107     xgettext --from-code UTF-8 -F --no-wrap -L perl \
108     -o root/usr/share/locale/en_US/LC_MESSAGES/sme9admin.po \
109     root/etc/e-smith/web/functions/sme9admin \
110     root/usr/bin/sme9admind
111    
112     /sbin/e-smith/generate-lexicons
113    
114     %install
115     rm -rf $RPM_BUILD_ROOT
116     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
117     rm -f %{name}-%{version}-filelist
118     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
119    
120     %clean
121     rm -rf $RPM_BUILD_ROOT
122    
123     %pre
124    
125     %preun
126    
127    
128     %post
129    
130     %postun
131    
132     %files -f %{name}-%{version}-filelist
133     %defattr(-,root,root)
134     %attr(755,root,root) /etc/e-smith/sql/init/sme9admin
135     %attr(755,root,root) /usr/bin/sme9admind
136     %attr(755,root,root) /usr/share/doc/smeserver-sme9admin/add_ds_to_rrd.pl

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