]> git.pld-linux.org Git - packages/kexec-tools.git/blob - kexec-tools.spec
3e87ca4a416d446e4fc603cc6153a784049aa3ad
[packages/kexec-tools.git] / kexec-tools.spec
1 %define         kernel_version  2.5.73
2 Summary:        Tool to starting new kernel without reboot.
3 Summary(pl):    Narzêdzie pozwalaj±ce za³adowaæ nowe j±dro bez konieczno¶ci restartu.
4 Name:           kexec-tools
5 Version:        1.8
6 Release:        0.1
7 License:        GPL
8 Group:          Applications/System
9 Source0:        http://www.osdl.org/archive/andyp/kexec/%{kernel_version}/%{name}-%{version}-%{kernel_version}.tgz
10 # Source0-md5:  1fb70ca3ab2075a4da1acc79917fd084
11 Source1:        do-kexec.sh
12 URL:            http://www.xmission.com/~ebiederm/files/kexec/
13 BuildRequires:  libstdc++-devel
14 Requires:       kernel >= %{kernel_version}
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18
19 %description -l pl
20 Narzedzie to pozwala wykorzystac zaimplementowany w jadrach 2.5/2.6
21 system pozwalajacy zaladowac nastepny kernel bez koniecznosci restartu
22 maszyny. Od momentu wydania polecenia kexec do startu nowego kernela
23 uplywa czas ponizej 0.5 sekundy!
24
25 %prep
26 rm -rf $RPM_BUILD_ROOT
27 %setup -q -n %{name}-%{version}-%{kernel_version}
28
29 %build
30 find ./objdir -type f | xargs rm -f
31 %{__make}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{_sbindir}
36 install objdir/build/sbin/kexec $RPM_BUILD_ROOT%{_sbindir}
37 install objdir/build/bin/kexec_test $RPM_BUILD_ROOT%{_sbindir}
38 install %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc TODO News
46 %attr(755,root,root) %{_sbindir}/*
This page took 0.111176 seconds and 2 git commands to generate.