summaryrefslogtreecommitdiffstats
path: root/wraplinux.spec.in
blob: bccc9820caa6240b7aefb3f0f242355b6827b349 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Summary: Utility to wrap a Linux kernel and initrd into an ELF or NBI file
Name: wraplinux
Version: @@VERSION@@
Release: 1
License: GPL
Group: Applications/System
URL: http://www.kernel.org/pub/linux/utils/boot/wraplinux/
Source: http://www.kernel.org/pub/linux/utils/boot/wraplinux/wraplinux-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Epoch: 1

%description
A tool to wrap an x86 Linux kernel and one or more initrd files into a
single file in ELF or NBI format, as required by some booting protocols.

%prep
%setup -q 

%build
%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install INSTALLROOT="$RPM_BUILD_ROOT"

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc COPYING
%{_bindir}/wraplinux
%{_mandir}/man1/wraplinux.1*

%changelog
* Thu Jan 10 2008 H. Peter Anvin <hpa@zytor.com>
- Initial version.