summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz2004-11-27 21:46:40 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit5080613397c5197f2265a3327af0cc18bbb06a0e (patch)
tree8d347e3d1523e7745533dfe137a94f10ae5c9ab8
downloadelilo-5080613397c5197f2265a3327af0cc18bbb06a0e.zip
elilo-5080613397c5197f2265a3327af0cc18bbb06a0e.tar.gz
Changed files: elilo.spec -> 1.1
-rw-r--r--elilo.spec47
1 files changed, 47 insertions, 0 deletions
diff --git a/elilo.spec b/elilo.spec
new file mode 100644
index 0000000..86b6b79
--- /dev/null
+++ b/elilo.spec
@@ -0,0 +1,47 @@
+Summary: ELILO: EFI Linux Boot Loader
+Summary(pl): ELILO - linuksowy bootloader dla platform EFI
+Name: elilo
+Version: 3.5
+%define bver pre1
+Release: 0.%{bver}.1
+License: GPL
+Group: Applications/System
+Source0: http://dl.sourceforge.net/elilo/%{name}-%{version}-%{bver}.tgz
+# Source0-md5: c2dec77ef23fa273797df52fc1780e65
+URL: http://elilo.sourceforge.net/
+BuildRequires: gnu-efi >= 3.0a
+ExclusiveArch: %{ix86} ia64
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ELILO is the EFI Linux boot loader for IA-64 (IPF) and IA-32 (x86)
+EFI-based platforms.
+
+%description -l pl
+ELILO to linuksowy bootloader dla platform IA-64 (IPF) i IA-32 (x86)
+opartych na EFI.
+
+%prep
+%setup -q -n %{name}
+
+%build
+%{__make} \
+ CC="%{__cc}" \
+ OPTIMFLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sbindir},/boot/efi}
+
+install tools/eliloalt $RPM_BUILD_ROOT%{_sbindir}
+install elilo.efi $RPM_BUILD_ROOT/boot/efi
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README* TODO docs/*.txt examples
+%attr(755,root,root) %{_sbindir}/eliloalt
+%dir /boot/efi
+/boot/efi/elilo.efi