2007-01-16 00:38:32 +01:00
|
|
|
#
|
2010-04-13 22:05:36 +02:00
|
|
|
# spec file for package syslinux (Version 3.86)
|
2007-01-16 00:38:32 +01:00
|
|
|
#
|
2010-04-13 22:05:36 +02:00
|
|
|
# Copyright (c) 2010 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-04-15 15:40:48 +02:00
|
|
|
|
2007-01-16 00:38:32 +01:00
|
|
|
Name: syslinux
|
2008-10-22 18:51:33 +02:00
|
|
|
ExclusiveArch: %ix86 x86_64
|
2009-07-21 12:41:55 +02:00
|
|
|
BuildRequires: libpng-devel nasm netpbm python
|
2008-04-15 15:40:48 +02:00
|
|
|
Url: http://syslinux.zytor.com/
|
2010-04-13 22:05:36 +02:00
|
|
|
License: GPLv2+
|
2007-01-16 00:38:32 +01:00
|
|
|
Group: System/Boot
|
2007-06-22 12:14:56 +02:00
|
|
|
Requires: mtools
|
2008-04-15 15:40:48 +02:00
|
|
|
AutoReqProv: on
|
2007-01-16 00:38:32 +01:00
|
|
|
Summary: Boot Loader for Linux
|
2010-04-13 22:05:36 +02:00
|
|
|
Version: 3.86
|
2010-04-20 02:23:02 +02:00
|
|
|
Release: 3
|
2007-01-16 00:38:32 +01:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
Source1: isolinux-config
|
2009-07-21 12:41:55 +02:00
|
|
|
Source2: README.gfxboot
|
2009-08-11 18:27:34 +02:00
|
|
|
Patch0: %{name}-%{version}-gfxboot.diff
|
|
|
|
Patch1: %{name}-%{version}-suse.diff
|
|
|
|
Patch2: %{name}-%{version}-compat.diff
|
2010-04-16 13:39:20 +02:00
|
|
|
Patch3: %{name}-%{version}-com32.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
|
2009-07-21 12:41:55 +02:00
|
|
|
%patch2 -p1
|
2010-04-16 13:39:20 +02:00
|
|
|
%patch3 -p1
|
2007-01-16 00:38:32 +01:00
|
|
|
|
|
|
|
%build
|
2009-07-21 12:41:55 +02:00
|
|
|
cp %{SOURCE2} .
|
2007-01-16 00:38:32 +01:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
2009-07-21 12:41:55 +02:00
|
|
|
chmod +x core/add_crc
|
2010-04-27 18:00:09 +02:00
|
|
|
rm -f modules/gfxboot.com
|
2009-07-21 12:41:55 +02:00
|
|
|
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
|