Author: arekm Date: Wed Jun 28 15:34:11 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - ipmievd subpackage; init scripts
---- Files affected: SPECS: ipmitool.spec (1.9 -> 1.10) ---- Diffs: ================================================================ Index: SPECS/ipmitool.spec diff -u SPECS/ipmitool.spec:1.9 SPECS/ipmitool.spec:1.10 --- SPECS/ipmitool.spec:1.9 Sat Sep 17 21:13:08 2005 +++ SPECS/ipmitool.spec Wed Jun 28 17:34:06 2006 @@ -2,14 +2,15 @@ Summary: Simple command-line interface to systems that support the IPMI Summary(pl): Prosty działający z linii poleceń interfejs do systemów obsługujących IPMI Name: ipmitool -Version: 1.8.1 +Version: 1.8.8 Release: 1 License: BSD Group: Applications/System -Source0: http://dl.sourceforge.net/ipmitool/%{name}-%{version}.tar.bz2 -# Source0-md5: e24e00b077af2f00590cb09c4cfe5f7d +Source0: http://dl.sourceforge.net/ipmitool/%{name}-%{version}.tar.gz +# Source0-md5: 8ae20a7621b00148acacab5b44540f3e +Source1: %{name}-ipmievd.init +Source2: %{name}-ipmievd.sysconfig Patch0: %{name}-nodoc.patch -Patch1: %{name}-typo.patch URL: http://ipmitool.sourceforge.net/ BuildRequires: autoconf >= 2.50 BuildRequires: automake @@ -39,10 +40,24 @@ systemowego dostarczonego przez sterownik urządzenia w jądrze, taki jak OpenIPMI. +%package ipmievd +Summary: IPMI event daemon for sending events to syslog +Summary(pl): Demon IPMI przesyłający zdarzenia do sysloga +Group: Networking/Daemons +Requires(post,preun): /sbin/chkconfig +Requires: rc-scripts + +%description ipmievd +ipmievd is a daemon which will listen for events from the BMC that are +being sent to the SEL and also log those messages to syslog. + +%description ipmievd -l pl +ipmievd to demon, który nasłuchuje na zdarzenia z BMC, które są +wysyłane do SEL i loguje wiadomości do sysloga. + %prep %setup -q %patch0 -p1 -%patch1 -p1 %build %{__libtoolize} --ltdl @@ -67,17 +82,37 @@ %{__make} install \ DESTDIR=$RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_sysconfdir}/{rc.d/init.d,sysconfig} +install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/ipmievd +install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/ipmievd + %clean rm -rf $RPM_BUILD_ROOT +%post ipmievd +/sbin/chkconfig --add ipmievd +%service ipmievd restart + +%preun ipmievd +if [ "$1" = "0" ]; then + %service ipmievd stop + /sbin/chkconfig --del ipmievd +fi + %files %defattr(644,root,root,755) %doc AUTHORS COPYING README ChangeLog %attr(755,root,root) %{_bindir}/* -%attr(755,root,root) %{_sbindir}/* %dir %{_datadir}/%{name} %{_datadir}/%{name}/* -%{_mandir}/man?/* +%{_mandir}/man1/* + +%files ipmievd +%defattr(644,root,root,755) +%attr(755,root,root) %{_sbindir}/* +%{_mandir}/man8/* +%attr(754,root,root) /etc/rc.d/init.d/ipmievd +%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ipmievd %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -85,6 +120,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.10 2006/06/28 15:34:06 arekm +- ipmievd subpackage; init scripts + Revision 1.9 2005/09/17 19:13:08 arekm - rel 1 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/ipmitool.spec?r1=1.9&r2=1.10&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
