This commit is contained in:
committed by
Git OBS Bridge
parent
ce85676f16
commit
4a681b6cfc
129
syslinux.spec
129
syslinux.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package syslinux (Version 3.63)
|
||||
# spec file for package syslinux (Version 3.81)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,21 +19,31 @@
|
||||
|
||||
Name: syslinux
|
||||
ExclusiveArch: %ix86 x86_64
|
||||
BuildRequires: glibc-devel-32bit libpng-devel nasm netpbm
|
||||
%ifarch x86_64
|
||||
BuildRequires: gcc-32bit
|
||||
BuildRequires: gcc-32bit glibc-32bit glibc-devel-32bit
|
||||
%else
|
||||
BuildRequires: glibc glibc-devel libpng-devel nasm netpbm
|
||||
%endif
|
||||
BuildRequires: libpng-devel nasm netpbm
|
||||
Url: http://syslinux.zytor.com/
|
||||
License: GPL v2 or later
|
||||
Group: System/Boot
|
||||
Requires: mtools
|
||||
AutoReqProv: on
|
||||
Summary: Boot Loader for Linux
|
||||
Version: 3.63
|
||||
Release: 44
|
||||
Version: 3.81
|
||||
Release: 1
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source1: isolinux-config
|
||||
Patch: %{name}-%{version}.diff
|
||||
Patch1: %{name}-no-win32
|
||||
Patch2: %{name}-nonzero-target-segment-fix.diff
|
||||
Patch3: %{name}-debug.diff
|
||||
Patch4: %{name}-disable-broken-code.diff
|
||||
Patch5: %{name}-eject.diff
|
||||
Patch6: %{name}-install-isohybrid
|
||||
Patch7: %{name}-isolinux-path-config
|
||||
Patch8: %{name}-gfxboot-keyword
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@@ -44,38 +54,123 @@ special purpose boot disks.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
H. Peter Anvin <hpa@zytor.com>
|
||||
|
||||
%package devel
|
||||
License: GPL v2 or later
|
||||
Summary: Boot Loader for Linux
|
||||
Group: System/Boot
|
||||
Requires: syslinux
|
||||
|
||||
%description devel
|
||||
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>
|
||||
|
||||
%package extlinux
|
||||
License: GPL v2 or later
|
||||
Summary: Boot Loader for Linux
|
||||
Group: System/Boot
|
||||
Requires: syslinux
|
||||
|
||||
%description extlinux
|
||||
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>
|
||||
|
||||
%package tftpboot
|
||||
License: GPL v2 or later
|
||||
Summary: Boot Loader for Linux
|
||||
Group: System/Boot
|
||||
Requires: syslinux
|
||||
|
||||
%description tftpboot
|
||||
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
|
||||
%patch
|
||||
%patch -p1
|
||||
%patch1 -p1
|
||||
#%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
chmod +x add_crc
|
||||
make spotless
|
||||
make clean
|
||||
make -C core spotless
|
||||
make
|
||||
make -C sample tidy
|
||||
|
||||
%install
|
||||
make install-all \
|
||||
INSTALLROOT=%{buildroot} BINDIR=%{_bindir} SBINDIR=%{_bindir} \
|
||||
LIBDIR=%{_datadir} INCDIR=%{_includedir} MANDIR=%{_mandir}
|
||||
install -s -m 755 unix/syslinux $RPM_BUILD_ROOT/%{_bindir}/syslinux-nomtools
|
||||
INSTALLROOT=%{buildroot} BINDIR=%{_bindir} SBINDIR=%{_sbindir} \
|
||||
LIBDIR=%{_datadir} DATADIR=%{_datadir} \
|
||||
INCDIR=%{_includedir} MANDIR=%{_mandir}
|
||||
TFTPBOOT=/tftpboot EXTLINUXDIR=/boot/extlinux
|
||||
make -C sample tidy
|
||||
mkdir -p %{buildroot}/etc
|
||||
install -m 755 %{_sourcedir}/isolinux-config $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
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc doc/*.txt
|
||||
%doc README* NEWS
|
||||
%doc COPYING NEWS sample doc/*
|
||||
%doc %{_mandir}/man1/*
|
||||
%{_bindir}/*
|
||||
%{_datadir}/syslinux
|
||||
%{_datadir}/syslinux/*.com
|
||||
%{_datadir}/syslinux/*.c32
|
||||
%{_datadir}/syslinux/*.bin
|
||||
%{_datadir}/syslinux/*.0
|
||||
%{_datadir}/syslinux/memdisk
|
||||
|
||||
%files devel
|
||||
%{_datadir}/syslinux/com32
|
||||
|
||||
%files extlinux
|
||||
%{_sbindir}/extlinux
|
||||
/boot/extlinux
|
||||
|
||||
%files tftpboot
|
||||
/tftpboot
|
||||
|
||||
%changelog
|
||||
* Fri May 29 2009 jeffm@suse.com
|
||||
- Update to 3.81
|
||||
- Lots of bug fixes
|
||||
- Support for disk/CD hybrid images
|
||||
- Integrated gfxboot support
|
||||
- Added support for deprecated 'gfxboot' param
|
||||
- Split into 4 packages
|
||||
* Tue Nov 04 2008 snwint@suse.de
|
||||
- gfxboot: increase usable mem size to 8MB
|
||||
* Fri Oct 17 2008 olh@suse.de
|
||||
@@ -336,7 +431,7 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/syslinux/com32
|
||||
- support graphics boot screen
|
||||
* Sun Jan 14 2001 snwint@suse.de
|
||||
- new messages for our Driver Update feature
|
||||
* Wed Jan 10 2001 ro@suse.de
|
||||
* Tue Jan 09 2001 ro@suse.de
|
||||
- re-added README.SuSE to diff
|
||||
* Mon Dec 18 2000 snwint@suse.de
|
||||
- detect BIOS extended read capability
|
||||
|
Reference in New Issue
Block a user