Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > by-pkgid > 7cd44450224e11cdf54add6a3eec9434 > files > 2

kexec-tools-1.101-1mdk.src.rpm

%define name kexec-tools
%define version 1.101
%define mdkrelease 1mdk

Summary:	Tool for starting new kernel without reboot
Name:		%{name}
Version:	%{version}
Release:	%{mdkrelease}
License: 	GPL
Group: 		System/Configuration/Hardware
#http://developer.osdl.org/rddunlap/kexec/kexec-tools-%{version}.tar.bz2
Source0:	http://www.xmission.com/~ebiederm/files/kexec/%{name}-%{version}.tar.bz2
URL:		http://developer.osdl.org/rddunlap/kexec/
Requires:	kernel
BuildRoot: 	%{_tmppath}/%{name}-%{version}-build

%description
kexec is a set of system calls that allows you to load another kernel
from the currently executing Linux kernel. The current implementation
has only been tested, and had the kinks worked out on x86, but the
generic code should work on any architecture.

%prep
%setup -q

%build
%configure2_5x
%make

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/sbin

install objdir/build/sbin/{kexec,kdump} $RPM_BUILD_ROOT/sbin
install objdir/build/lib/kexec-tools/kexec_test $RPM_BUILD_ROOT/sbin

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc TODO News
%attr(755,root,root) /sbin/*

%changelog
* Tue Feb 22 2005 Olivier Blin <oblin@mandrakesoft.com> 1.101-1mdk
- 1.101
- ship kdump too

* Mon Feb 21 2005 Olivier Blin <oblin@mandrakesoft.com> 1.95-3mdk
- install static binaries in /sbin
 (to allow calls from halt scripts when /usr in unmounted)

* Fri Jul 23 2004 Olivier Blin <blino@mandrake.org> 1.95-2mdk
- fix URL

* Fri Jul 23 2004 Olivier Blin <blino@mandrake.org> 1.95-1mdk
- rpmbuildupdate awareness
- 1.95

* Wed May 19 2004 Nicolas Planel <nplanel@mandrakesoft.com> 1.9-1mdk
- Initial mandrake version based on pld distrib work.