2007-01-16 00:38:32 +01:00
|
|
|
#
|
2011-04-27 15:16:32 +02:00
|
|
|
# spec file for package syslinux
|
2007-01-16 00:38:32 +01:00
|
|
|
#
|
2014-03-05 15:00:28 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:38:32 +01:00
|
|
|
#
|
2008-09-06 03:47:21 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:38:32 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: syslinux
|
2008-10-22 18:51:33 +02:00
|
|
|
ExclusiveArch: %ix86 x86_64
|
2012-05-31 14:42:37 +02:00
|
|
|
BuildRequires: libext2fs-devel
|
2012-05-08 11:22:42 +02:00
|
|
|
BuildRequires: libpng-devel
|
2013-02-05 08:17:19 +01:00
|
|
|
BuildRequires: libuuid-devel
|
2012-05-08 11:22:42 +02:00
|
|
|
BuildRequires: nasm
|
|
|
|
BuildRequires: netpbm
|
|
|
|
BuildRequires: python
|
|
|
|
BuildRequires: xz
|
2013-04-08 10:44:25 +02:00
|
|
|
Url: http://www.syslinux.org/wiki/index.php/The_Syslinux_Project
|
2007-06-22 12:14:56 +02:00
|
|
|
Requires: mtools
|
2007-01-16 00:38:32 +01:00
|
|
|
Summary: Boot Loader for Linux
|
2012-05-08 11:22:42 +02:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: System/Boot
|
2011-04-19 10:49:59 +02:00
|
|
|
Version: 4.04
|
2012-05-08 11:22:42 +02:00
|
|
|
Release: 0
|
2013-04-08 10:44:25 +02:00
|
|
|
Source: https://www.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{version}.tar.bz2
|
2007-01-16 00:38:32 +01:00
|
|
|
Source1: isolinux-config
|
2009-07-21 12:41:55 +02:00
|
|
|
Source2: README.gfxboot
|
2011-04-18 18:02:08 +02:00
|
|
|
Patch0: %{name}-%{version}-iso9660.diff
|
|
|
|
Patch1: %{name}-%{version}-cwd.diff
|
2011-04-19 15:31:54 +02:00
|
|
|
Patch2: %{name}-%{version}-noinitrd.diff
|
2011-04-20 11:28:59 +02:00
|
|
|
Patch3: %{name}-%{version}-mboot_bootif.diff
|
2011-06-22 11:41:58 +02:00
|
|
|
Patch5: %{name}-%{version}-md5pass.diff
|
2012-05-31 14:42:37 +02:00
|
|
|
Patch6: %{name}-%{version}-libext2fs.diff
|
2012-05-15 13:32:25 +02:00
|
|
|
Patch7: %{name}-%{version}-gcc47.diff
|
2013-02-04 14:30:17 +01:00
|
|
|
Patch8: %{name}-%{version}-isohybrid_efi.diff
|
2013-02-18 10:16:32 +01:00
|
|
|
Patch9: %{name}-%{version}-isohybrid_efi_optional.diff
|
2013-02-28 16:02:26 +01:00
|
|
|
Patch10: %{name}-%{version}-isohybrid_mbr.diff
|
2013-03-04 14:59:51 +01:00
|
|
|
Patch11: %{name}-%{version}-localboot.diff
|
2013-12-19 10:06:17 +01:00
|
|
|
Patch12: %{name}-%{version}-geometry.diff
|
2014-03-05 15:00:28 +01:00
|
|
|
Patch13: %{name}-%{version}-nostrip.diff
|
2014-03-21 13:11:39 +01:00
|
|
|
Patch14: %{name}-%{version}-timeout.diff
|
2007-01-16 00:38:32 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
SYSLINUX is a boot loader for the Linux operating system which operates
|
|
|
|
off an MS-DOS or Windows FAT file system. It is intended to simplify
|
|
|
|
first-time installation of Linux and for creation of rescue and other
|
|
|
|
special purpose boot disks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2009-07-21 12:41:55 +02:00
|
|
|
%patch0 -p1
|
2009-06-20 03:13:32 +02:00
|
|
|
%patch1 -p1
|
2011-04-19 15:31:54 +02:00
|
|
|
%patch2 -p1
|
2011-04-20 11:28:59 +02:00
|
|
|
%patch3 -p1
|
2011-06-22 11:41:58 +02:00
|
|
|
%patch5 -p1
|
2012-05-08 11:22:42 +02:00
|
|
|
%patch6 -p0
|
2012-05-15 13:32:25 +02:00
|
|
|
%patch7 -p0
|
2013-02-04 14:30:17 +01:00
|
|
|
%patch8 -p0
|
2013-02-18 10:16:32 +01:00
|
|
|
%patch9 -p1
|
2013-02-28 16:02:26 +01:00
|
|
|
%patch10 -p1
|
2013-03-04 14:59:51 +01:00
|
|
|
%patch11 -p1
|
2013-12-19 10:06:17 +01:00
|
|
|
%patch12 -p1
|
2014-03-05 15:00:28 +01:00
|
|
|
%patch13 -p0
|
2014-03-21 13:11:39 +01:00
|
|
|
%patch14 -p1
|
2007-01-16 00:38:32 +01:00
|
|
|
|
|
|
|
%build
|
2009-07-21 12:41:55 +02:00
|
|
|
cp %{SOURCE2} .
|
|
|
|
make spotless
|
2007-01-16 00:38:32 +01:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install-all \
|
2009-07-21 12:41:55 +02:00
|
|
|
INSTALLROOT=%{buildroot} BINDIR=%{_bindir} SBINDIR=%{_bindir} \
|
|
|
|
LIBDIR=%{_datadir} INCDIR=%{_includedir} MANDIR=%{_mandir}
|
|
|
|
# install -s -m 755 unix/syslinux $RPM_BUILD_ROOT/%{_bindir}/syslinux-nomtools
|
|
|
|
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/%{_bindir}
|
|
|
|
# install -m 755 keytab-lilo.pl syslinux2ansi.pl $RPM_BUILD_ROOT/%{_datadir}/syslinux
|
|
|
|
rm -rf $RPM_BUILD_ROOT/%{_datadir}/syslinux/com32
|
|
|
|
rm -rf $RPM_BUILD_ROOT/boot
|
|
|
|
rm -rf $RPM_BUILD_ROOT/tftpboot
|
2007-01-16 00:38:32 +01:00
|
|
|
|
|
|
|
%files
|
2007-02-09 17:07:18 +01:00
|
|
|
%defattr(-,root,root)
|
2009-07-21 12:41:55 +02:00
|
|
|
%doc doc/*.txt
|
|
|
|
%doc README* NEWS
|
2008-04-15 15:40:48 +02:00
|
|
|
%doc %{_mandir}/man1/*
|
2007-01-16 00:38:32 +01:00
|
|
|
%{_bindir}/*
|
2009-07-21 12:41:55 +02:00
|
|
|
%{_datadir}/syslinux
|
2007-01-16 00:38:32 +01:00
|
|
|
|
2007-06-22 12:14:56 +02:00
|
|
|
%changelog
|