%{!?latex_doc: %define latex_doc 0} Name: lilo Version: 24.2 Release: 1mamba Summary: The boot loader for Linux and other operating systems Group: System/Kernel and Hardware Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://lilo.alioth.debian.org Source0: http://lilo.alioth.debian.org/ftp/sources/lilo-%{version}.tar.gz Source1: lilo-conf Source2: lilo-message Source3: openmamba-bootscreen.bmp Source4: lilo-config.sh # note: a wrong `bcc' binary is found if the `graphviz' package is installed Patch: %{name}-22.8-Makefile.patch Patch1: lilo-24.1-fix-make-install.patch License: MIT, GPL #BuildRequires: nasm >= 0.98.35 %if %latex_doc BuildRequires: tetex-latex %endif ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libdevmapper-devel ## AUTOBUILDREQ-END Provides: bootloader BuildRoot: %{_tmppath}/%{name}-%{version}-root %description LILO (LInux LOader) is a basic system program which boots your Linux system. LILO loads the Linux kernel from a floppy or a hard drive, boots the kernel and passes control of the system to the kernel. LILO can also boot other operating systems. %prep %setup -q #%patch0 -p1 %patch1 -p1 %build %make all %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ -f sample/README ] && mv sample/README sample/README.samples install -d %{buildroot}%{_mandir} %makeinstall \ CFLAGS="%{optflags}" \ ROOT=%{buildroot} \ MAN_DIR=%{_mandir} install -m640 %{SOURCE1} %{buildroot}%{_sysconfdir}/lilo.conf install -m644 %{SOURCE2} %{buildroot}/boot/message install -m644 %{SOURCE3} %{buildroot}/boot/ install -m755 %{SOURCE4} %{buildroot}/sbin/lilo-config %if %latex_doc mv doc/README doc/README.dvi %endif %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post if [ $1 -eq 2 ]; then sed -i "\ s/^bmp-colors=.*/bmp-colors=254,92,115,92,254,115/ s/^bmp-table=.*/bmp-table=129p,169p/ s/^bmp-timer=.*/bmp-timer=479p,370p,254,92,115/" /etc/lilo.conf [ -e /dev/.devfsd ] && /sbin/lilo-config --killdevfs sed -i "s|qilinux-bootscreen.bmp|openmamba-bootscreen.bmp|" /etc/lilo.conf /sbin/lilo fi exit 0 %files %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/lilo.conf %{_sysconfdir}/initramfs/post-update.d/runlilo %{_sysconfdir}/kernel/postinst.d/zz-runlilo %{_sysconfdir}/kernel/postrm.d/zz-runlilo %{_sysconfdir}/lilo.conf_example /boot/* /sbin/* %{_sbindir}/* %{_mandir}/man5/* %{_mandir}/man8/* %doc COPYING README* sample/* %if %latex_doc %doc doc/tech.dvi doc/user.dvi doc/README.dvi %endif %changelog * Mon Nov 23 2015 Automatic Build System 24.2-1mamba - automatic version update by autodist * Sun Oct 26 2014 Automatic Build System 24.1-1mamba - automatic version update by autodist * Mon Aug 12 2013 Automatic Build System 24.0-1mamba - automatic version update by autodist * Mon Mar 12 2012 Automatic Build System 23.2-1mamba - update to 23.2 * Fri Feb 05 2010 Silvan Calarco 22.8-2mamba - rebuilt to remove executable requirements * Thu Jun 19 2008 Silvan Calarco 22.8-1mamba - update to 22.8 - added openmamba bootscreen image * Tue Jan 24 2006 Davide Madrisan 22.7.1-3qilnx - rebuilt with lilo-conf version 0.9.1 * Fri Jan 20 2006 Davide Madrisan 22.7.1-2qilnx - lilo-conf 0.9.0: new option '--killdevfs' to convert lilo.conf files compliant with udevfs to files udev-compliant - run '/sbin/lilo-config --killdevfs' in the %%post scriptlet * Mon Sep 19 2005 Davide Madrisan 22.7.1-1qilnx - update to version 22.7.1 by autospec - also fixes an insecure temporary file creation vulnerability (`mkrescue') * Tue Aug 23 2005 Davide Madrisan 22.7-4qilnx - lilo-conf: full support for /dev/root (lilo-config 0.8.8) * Thu May 05 2005 Davide Madrisan 22.7-3qilnx - rebuild with lilo-config 0.8.7 * Fri Apr 29 2005 Davide Madrisan 22.7-2qilnx - rebuild with lilo-config 0.8.6 * Thu Apr 14 2005 Davide Madrisan 22.7-1qilnx - update to version 22.7 by autospec * Thu Mar 31 2005 Davide Madrisan 22.6.1-4qilnx - rebuild with lilo-config 0.8.5 * Fri Mar 25 2005 Davide Madrisan 22.6.1-3qilnx - rebuild with lilo-config 0.8.4 * Wed Mar 23 2005 Davide Madrisan 22.6.1-2qilnx - modified lilo-config script for better interoperability with the previous implementation (lilo-config version < 0.8.2) * Mon Mar 21 2005 Davide Madrisan 22.6.1-1qilnx - update to version 22.6.1 by autospec - removed build requirement for nasm - lilo-config script rewritten * Mon Aug 09 2004 Silvan Calarco 22.5.9-4qilnx - added new QiLinux 1.1 bootsplash * Mon May 31 2004 Davide Madrisan 22.5.9-3qilnx - added boolean 'latest_kernels_first' flag in /sbin/lilo-config * Wed May 19 2004 Davide Madrisan 22.5.9-2qilnx - integrated some code that was previously implemented in the kernel specfile * Fri Apr 09 2004 Davide Madrisan 22.5.9-1qilnx - new version rebuild * Thu Apr 08 2004 Davide Madrisan 22.5.8-8qilnx - yet another lilo-config improvement * Sun Mar 14 2004 Davide Madrisan 22.5.8-6qilnx - lilo-config script completed and improved - added the Makefile patch to remove the check for the existence of the bcc binary (Borland C compiler) and the generation of diagnostic stuff via bcc because unfortynately a bcc binary is also present in the graphviz package * Thu Mar 11 2004 Davide Madrisan 22.5.8-5qilnx - fixed a lilo-config bug when parsing a non qilinux compliant lilo.conf file * Wed Feb 11 2004 Davide Madrisan 22.5.8-4qilnx - modified lilo-config script * Tue Jan 27 2004 Davide Madrisan 22.5.8-3qilnx - added lilo-config script * Sat Nov 22 2003 Davide Madrisan 22.5.8-2qilnx - added 'Provides: bootloader' to support the use of different bootloaders * Fri Nov 14 2003 Davide Madrisan 22.5.8-1qilnx - upgraded to new version - added 'vga=normal' to lilo.conf - added documents to the rpm package * Wed Oct 08 2003 Silvan Calarco - added QiLinux graphical boot screen * Fri Oct 03 2003 Silvan Calarco - upgraded to new version * Mon Apr 23 2003 Silvan Calarco - added sample lilo.conf and /boot/message file * Mon Apr 14 2003 Luca Tinelli - first modify for put nasm dependency * Tue Apr 08 2003 Luca Tinelli - first build