Репозитории ALT
S: | 1.6.11.1-alt1 |
5.1: | 0.8.7-alt1 |
4.1: | 0.5.5-alt1 |
4.0: | 0.4.4-alt1 |
Группа :: Мониторинг
Пакет: freeipmi
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# vim: set ft=spec: -*- rpm-spec -*-
%define docdir %_defaultdocdir/%name-%version
Name: freeipmi
Version: 0.5.5
Release: alt1
Summary: GNU FreeIPMI - Intelligent Platform Management System
Group: Monitoring
License: GPL
Url: http://www.gnu.org/software/freeipmi/
Packager: Pavlov Konstantin <thresh at altlinux.ru>
PreReq: lib%name = %version-%release
Source: %name-%version.tar
Patch: %name-%version-%release.patch
# Automatically added by buildreq on Tue Apr 10 2007
BuildRequires: libgcrypt-devel
%description
This project provides "Remote-Console" (out-of-band) and
"System Management Software" (in-band) based on Intelligent
Platform Management Interface (IPMI v1.5/2.0) specification.
%package -n lib%name
Summary: FreeIPMI shared libraries
Group: System/Libraries
%description -n lib%name
FreeIPMI shared libraries.
%package -n lib%name-devel
Summary: GNU FreeIPMI development files
Group: Development/C
Requires: lib%name = %version-%release
Requires(post): %post_ldconfig
Requires(postun): %postun_ldconfig
%description -n lib%name-devel
GNU FreeIPMI development files.
%package bmc-watchdog
Summary: GNU FreeIPMI BMC watchdog
Group: Monitoring
PreReq: lib%name = %version-%release
Requires(post): %post_service
Requires(preun): %preun_service
%description bmc-watchdog
Watchdog daemon for OS monitoring and recovery.
%package ipmidetectd
Summary: GNU FreeIPMI Detection daemon
Group: Monitoring
PreReq: lib%name = %version-%release
Requires(post): %post_service
Requires(preun): %preun_service
%description ipmidetectd
The ipmidetectd daemon regularly ipmipings remote nodes.
The ipmidetect tool and library will determine detected vs. undetected
ipmi systems based on the most recent ipmipings received.
%package doc
Summary: GNU FreeIPMI documentation
Group: Documentation
Requires(post): %install_info
Requires(preun): %uninstall_info
Conflicts: lib%name < %version-%release
Conflicts: lib%name > %version-%release
%description doc
GNU FreeIPMI documentation.
%prep
%setup
%patch -p1
%build
./autogen.sh
%configure \
--localstatedir=%_var \
--disable-static
%make_build
%install
%make_install DESTDIR=%buildroot \
docdir=%docdir \
install
find %buildroot%docdir/ -type f -size +4k \( -iname changelog\* -or -iname COPYING\* -or -iname \*ipmi\* \) -print0 |
xargs -r0 bzip2 -9f --
%post -n lib%name
touch %_localstatedir/%name/ipckey
%post_ldconfig
%preun -n lib%name
[ "$1" -eq 0 ] && rm -f %_localstatedir/%name/ipckey ||: >/dev/null 2>&1
%postun -n lib%name
%postun_ldconfig
%post ipmidetectd
%post_service %name-ipmidetectd
%preun ipmidetectd
%preun_service %name-ipmidetectd
%post bmc-watchdog
%post_service %name-bmc-watchdog
%preun bmc-watchdog
%preun_service %name-bmc-watchdog
%post doc
%install_info %name-faq.info
%preun doc
%uninstall_info %name-faq.info
%files
%_sbindir/*
%exclude %_sbindir/bmc-watchdog
%exclude %_sbindir/ipmidetectd
%_man8dir/*.8*
%exclude %_man8dir/bmc-watchdog.8*
%exclude %_man8dir/*detectd*.8*
%_man5dir/*.5*
%exclude %_man5dir/*detectd*.5*
%config %_sysconfdir/ipmi_monitoring_sensors.conf
%files -n lib%name
%_libdir/lib*.so.*
%dir %_localstatedir/%name
%ghost %_localstatedir/%name/ipckey
%dir %_logdir/%name
%files -n lib%name-devel
%_libdir/lib*.so
%_includedir/*
%_man3dir/*
%files bmc-watchdog
%config %_initdir/%name-bmc-watchdog
%config(noreplace) %_sysconfdir/sysconfig/%name-bmc-watchdog
%_sysconfdir/logrotate.d/%name-bmc-watchdog
%_sbindir/bmc-watchdog
%_man8dir/bmc-watchdog.8*
%files ipmidetectd
%_sbindir/ipmidetectd
%config %_initdir/%name-ipmidetectd
%_man5dir/*detectd*.5*
%_man8dir/*detectd*.8*
%files doc
%docdir/*
%_infodir/%name-faq.info*
%changelog
…
Полный changelog можно просмотреть здесь
%define docdir %_defaultdocdir/%name-%version
Name: freeipmi
Version: 0.5.5
Release: alt1
Summary: GNU FreeIPMI - Intelligent Platform Management System
Group: Monitoring
License: GPL
Url: http://www.gnu.org/software/freeipmi/
Packager: Pavlov Konstantin <thresh at altlinux.ru>
PreReq: lib%name = %version-%release
Source: %name-%version.tar
Patch: %name-%version-%release.patch
# Automatically added by buildreq on Tue Apr 10 2007
BuildRequires: libgcrypt-devel
%description
This project provides "Remote-Console" (out-of-band) and
"System Management Software" (in-band) based on Intelligent
Platform Management Interface (IPMI v1.5/2.0) specification.
%package -n lib%name
Summary: FreeIPMI shared libraries
Group: System/Libraries
%description -n lib%name
FreeIPMI shared libraries.
%package -n lib%name-devel
Summary: GNU FreeIPMI development files
Group: Development/C
Requires: lib%name = %version-%release
Requires(post): %post_ldconfig
Requires(postun): %postun_ldconfig
%description -n lib%name-devel
GNU FreeIPMI development files.
%package bmc-watchdog
Summary: GNU FreeIPMI BMC watchdog
Group: Monitoring
PreReq: lib%name = %version-%release
Requires(post): %post_service
Requires(preun): %preun_service
%description bmc-watchdog
Watchdog daemon for OS monitoring and recovery.
%package ipmidetectd
Summary: GNU FreeIPMI Detection daemon
Group: Monitoring
PreReq: lib%name = %version-%release
Requires(post): %post_service
Requires(preun): %preun_service
%description ipmidetectd
The ipmidetectd daemon regularly ipmipings remote nodes.
The ipmidetect tool and library will determine detected vs. undetected
ipmi systems based on the most recent ipmipings received.
%package doc
Summary: GNU FreeIPMI documentation
Group: Documentation
Requires(post): %install_info
Requires(preun): %uninstall_info
Conflicts: lib%name < %version-%release
Conflicts: lib%name > %version-%release
%description doc
GNU FreeIPMI documentation.
%prep
%setup
%patch -p1
%build
./autogen.sh
%configure \
--localstatedir=%_var \
--disable-static
%make_build
%install
%make_install DESTDIR=%buildroot \
docdir=%docdir \
install
find %buildroot%docdir/ -type f -size +4k \( -iname changelog\* -or -iname COPYING\* -or -iname \*ipmi\* \) -print0 |
xargs -r0 bzip2 -9f --
%post -n lib%name
touch %_localstatedir/%name/ipckey
%post_ldconfig
%preun -n lib%name
[ "$1" -eq 0 ] && rm -f %_localstatedir/%name/ipckey ||: >/dev/null 2>&1
%postun -n lib%name
%postun_ldconfig
%post ipmidetectd
%post_service %name-ipmidetectd
%preun ipmidetectd
%preun_service %name-ipmidetectd
%post bmc-watchdog
%post_service %name-bmc-watchdog
%preun bmc-watchdog
%preun_service %name-bmc-watchdog
%post doc
%install_info %name-faq.info
%preun doc
%uninstall_info %name-faq.info
%files
%_sbindir/*
%exclude %_sbindir/bmc-watchdog
%exclude %_sbindir/ipmidetectd
%_man8dir/*.8*
%exclude %_man8dir/bmc-watchdog.8*
%exclude %_man8dir/*detectd*.8*
%_man5dir/*.5*
%exclude %_man5dir/*detectd*.5*
%config %_sysconfdir/ipmi_monitoring_sensors.conf
%files -n lib%name
%_libdir/lib*.so.*
%dir %_localstatedir/%name
%ghost %_localstatedir/%name/ipckey
%dir %_logdir/%name
%files -n lib%name-devel
%_libdir/lib*.so
%_includedir/*
%_man3dir/*
%files bmc-watchdog
%config %_initdir/%name-bmc-watchdog
%config(noreplace) %_sysconfdir/sysconfig/%name-bmc-watchdog
%_sysconfdir/logrotate.d/%name-bmc-watchdog
%_sbindir/bmc-watchdog
%_man8dir/bmc-watchdog.8*
%files ipmidetectd
%_sbindir/ipmidetectd
%config %_initdir/%name-ipmidetectd
%_man5dir/*detectd*.5*
%_man8dir/*detectd*.8*
%files doc
%docdir/*
%_infodir/%name-faq.info*
%changelog
…
Полный changelog можно просмотреть здесь