rpms/moomps/devel moomps.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jean-Luc Fontaine (jfontain) fedora-extras-commits at redhat.com
Fri May 20 19:43:49 UTC 2005


Author: jfontain

Update of /cvs/extras/rpms/moomps/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10249/devel

Modified Files:
	.cvsignore sources 
Added Files:
	moomps.spec 
Log Message:
auto-import moomps-5.0-4 on branch devel from moomps-5.0-4.src.rpm


--- NEW FILE moomps.spec ---
Name: moomps
Version: 5.0
Release: 4%{?dist}
Summary: Powerful modular monitoring service
Group: Applications/System
License: GPL
#Source0: http://download.sourceforge.net/moodss/moomps-5.0.tar.bz2
Source0: http://jfontain.free.fr/moomps-5.0.tar.bz2
URL: http://moodss.sourceforge.net/
BuildArchitectures: noarch
BuildRoot: %_tmppath/%name-%version-%release-root-%(%__id_u -n)
BuildRequires: tcl-devel >= 8.4.8
Requires(pre): %_sbindir/useradd, %_sbindir/usermod
Requires(preun): /sbin/chkconfig, /sbin/service
Requires(post): /sbin/chkconfig
Requires(postun): /sbin/service
Requires: moodss >= 20.0, tclx >= 8.3

%description
moomps (Modular Object Oriented Multi-Purpose Service) is a modular
monitoring daemon used along with the moodss GUI package also
included in the distribution. It can send alert emails or execute
scripts when predefined thresholds are crossed, and archive data
history over time in a database (MySQL or ODBC). Uses dashboard
files created by moodss in order to load any number of modules.
Distributed monitoring is also possible with data exchange between
moomps and moodss application instances.

%prep
%setup -q

%build
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make ROOTDIR=$RPM_BUILD_ROOT install

%pre
# if not present, add moomps user (even when upgrading):
if ! %_sbindir/usermod -l moomps moomps 2>/dev/null; then
    %_sbindir/useradd -M moomps -d %_sysconfdir/moomps -c 'moodss service'\
        -s '/sbin/nologin'
fi

%preun
if [ $1 -eq 0 ]; then                                             # uninstalling
    chkconfig --del moomps
    # ignore error when daemon is not running:
    service moomps stop >/dev/null || :
fi

%post
if [ $1 -eq 1 ]; then                                               # installing
    chkconfig --add moomps
fi

%postun
if [ $1 -ne 0 ]; then                                                # upgrading
    service moomps try-restart >/dev/null || :
fi

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc documentation/COPYRIGHT documentation/moomps*.htm
%_mandir/man1/moomps.*
%_sbindir/moomps
%_initrddir/moomps
%dir %attr(0755,moomps,root) %_sysconfdir/moomps
/srv/moomps
%dir %attr(0755,moomps,root) /srv/moomps
# secure rc file as it may contain a database password:
%config(noreplace) %attr(0600,moomps,root) %_sysconfdir/moomps/rc


%changelog

* Fri May 20 2005 Jean-Luc Fontaine <jfontain at free.fr> 5.0-4
- in files, added dashboard (data) directory in /srv hierarchy

* Sun May 15 2005 Jean-Luc Fontaine <jfontain at free.fr> 5.0-3
- moved files section right before change log
- in post uninstallation, no longer delete moomps user and PID files,
  blocked standard output and use try-restart command instead of
  condrestart in service command
- added requirements for pre and post scriptlets
- removed erroneous comment about home directory non existence for
  moomps user
- in build stage, used SMP flags with make
- removed manual page redundant marking as documentation
- in pre-uninstallation, removed echoed help message and blocked
  standard output
- made rc file belong to root group
- made initialization script LSB compliant, closer in style to
  template from fedora rpm tools package and properly manage PID file
- in scriptlets, use more appropriate integer comparisons for numbers

* Sun May 15 2005 Jean-Luc Fontaine <jfontain at free.fr> 5.0-2
- require Tcl 8.4.8 with bug fixes for 64 bit architecture
- appended distribution to release
- removed all epochs as they are out of style as of FC-4
- require recent tclx

* Sun May 1 2005 Jean-Luc Fontaine <jfontain at free.fr> 5.0-1
- 5.0 source release
- initialization script no longer tagged as configuration file
- use specific build requirements for fedora distribution
- improved description.

* Tue Feb 22 2005 Jean-Luc Fontaine <jfontain at free.fr> 4.6-0.fdr.1
- 4.5 release
- in statistics table, added standard deviation column

* Sun Jan 2 2005 Jean-Luc Fontaine <jfontain at free.fr> 4.5-0.fdr.1
- 4.5 version

* Fri Dec 17 2004 Jean-Luc Fontaine <jfontain at free.fr> 4.4-0.fdr.1
- 4.4 release

* Sun Nov 14 2004 Jean-Luc Fontaine <jfontain at free.fr> 4.3-0.fdr.1
- 4.3 release

* Sun Oct 31 2004 Jean-Luc Fontaine <jfontain at free.fr> 4.2.2-0.fdr.1
- removed program variable in init moomps script as rpmlint reported
  incoherent-subsys error
- capitalized summary

* Sat Oct 30 2004 Jean-Luc Fontaine <jfontain at free.fr> 4.2.1-0.fdr.1
- restored compatibility with Tcl 8.3 core

* Sat Oct 23 2004 Jean-Luc Fontaine <jfontain at free.fr> 4.2-0.fdr.1
- 4.2 version
- updated summary and description

* Sun Oct 17 2004 Jean-Luc Fontaine <jfontain at free.fr> 4.1-0.fdr.1
- 4.1 version

* Tue Aug 17 2004 Jean-Luc Fontaine <jfontain at free.fr> 4.0-0.fdr.1
- 4.0 version

* Sun May 30 2004 Jean-Luc Fontaine <jfontain at free.fr> 3.2-0.fdr.1
- 3.2 version

* Sun Apr 25 2004 Jean-Luc Fontaine <jfontain at free.fr> 3.1-0.fdr.1
- 3.1 version

* Sun Mar 14 2004 Jean-Luc Fontaine <jfontain at free.fr> 3.0-0.fdr.1
- 3.0 version

* Thu Feb 12 2004 Jean-Luc Fontaine <jfontain at free.fr> 2.20-0.fdr.1
- 2.20 version

* Sun Feb 8 2004 Jean-Luc Fontaine <jfontain at free.fr> 2.19-0.fdr.1
- 2.19 version

* Sun Jan 11 2004 Jean-Luc Fontaine <jfontain at free.fr> 2.18-0.fdr.2
- in build requirements, work around tcl-devel and tk-devel packages non
  existence in RH 8.0 and 9

* Sun Jan 11 2004 Jean-Luc Fontaine <jfontain at free.fr> 2.18-0.fdr.1
- 2.18 version

* Sun Dec 28 2003 Jean-Luc Fontaine <jfontain at free.fr> 2.17-0.fdr.1
- 2.17 version

* Wed Dec 24 2003 Jean-Luc Fontaine <jfontain at free.fr> 2.16-0.fdr.1
- 2.16 version

* Sat Nov 22 2003 Jean-Luc Fontaine <jfontain at free.fr> 2.15-0.fdr.1
- 2.15 version

* Sat Nov 15 2003 Jean-Luc Fontaine <jfontain at free.fr> 2.14-0.fdr.2
- require moodss (needed for its modules)
- conditional restart of daemon when upgrading

* Tue Nov 11 2003 Jean-Luc Fontaine <jfontain at free.fr> 2.14-0.fdr.1
- moved here from moodss spec file


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/moomps/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	20 May 2005 19:41:47 -0000	1.1
+++ .cvsignore	20 May 2005 19:43:46 -0000	1.2
@@ -0,0 +1 @@
+moomps-5.0.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/moomps/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	20 May 2005 19:41:47 -0000	1.1
+++ sources	20 May 2005 19:43:46 -0000	1.2
@@ -0,0 +1 @@
+dd6c896c9e7c145e5cefc7108f5e77c4  moomps-5.0.tar.bz2




More information about the fedora-extras-commits mailing list