File netboot.spec of Package netboot
#
# spec file for package netboot (Version 0.10.2)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: netboot
Version: 0.10.2
Release: 1
#
License: GPL v2 or later
Group: Productivity/Networking/Boot/Clients
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: bison db-devel flex lzo-devel
Provides: %{name}-devel = %{version}-%{release}
#
URL: http://netboot.sourceforge.net/
Source: http://www.han.de:80/~gero/netboot/files/netboot-%{version}.tar.bz2
Patch: netboot-0.10_cflags.patch
Patch1: netboot-0.10.2_nostrip.patch
#
Summary: Boot a Diskless PC Using a TCP/IP Based Ethernet Network
%description
Features:
- Booting a diskless client either from an EPROM or from a floppy
without additional utility tools
- The Bootrom code can use many standard DOS packet drivers and
therefore supports almost any PC network card
- Easy configuration of the bootrom under UNIX
- The bootrom can load a BOOTP vendor extension file to support more
space for tags according to RFC 1533
- Using the bootrom menu support, it is possible to optionally boot
different operating systems
- Even if there is a hard disk installed in the client computer,
bootrom can be used as a boot manager, because it also allows
booting from any partition
- Cross-gateway booting
- Bootrom runs on any 80x86 processor but is optimized for the 386+
- Able to boot different operating systems--Linux and MS-DOS (and
clones) are currently supported
Authors:
--------
Gero Kuhlmann <gero@gkminix.han.de>
%package -n libnb0
Group: Productivity/Networking/Boot/Clients
Provides: libnb = %{version}-%{release}
#
Summary: Boot a Diskless PC Using a TCP/IP Based Ethernet Network
%description -n libnb0
Features:
- Booting a diskless client either from an EPROM or from a floppy
without additional utility tools
- The Bootrom code can use many standard DOS packet drivers and
therefore supports almost any PC network card
- Easy configuration of the bootrom under UNIX
- The bootrom can load a BOOTP vendor extension file to support more
space for tags according to RFC 1533
- Using the bootrom menu support, it is possible to optionally boot
different operating systems
- Even if there is a hard disk installed in the client computer,
bootrom can be used as a boot manager, because it also allows
booting from any partition
- Cross-gateway booting
- Bootrom runs on any 80x86 processor but is optimized for the 386+
- Able to boot different operating systems--Linux and MS-DOS (and
clones) are currently supported
Authors:
--------
Gero Kuhlmann <gero@gkminix.han.de>
%package -n libnb-devel
Group: Productivity/Networking/Boot/Clients
Requires: libnb = %{version}
#
Summary: Boot a Diskless PC Using a TCP/IP Based Ethernet Network
%description -n libnb-devel
Features:
- Booting a diskless client either from an EPROM or from a floppy
without additional utility tools
- The Bootrom code can use many standard DOS packet drivers and
therefore supports almost any PC network card
- Easy configuration of the bootrom under UNIX
- The bootrom can load a BOOTP vendor extension file to support more
space for tags according to RFC 1533
- Using the bootrom menu support, it is possible to optionally boot
different operating systems
- Even if there is a hard disk installed in the client computer,
bootrom can be used as a boot manager, because it also allows
booting from any partition
- Cross-gateway booting
- Bootrom runs on any 80x86 processor but is optimized for the 386+
- Able to boot different operating systems--Linux and MS-DOS (and
clones) are currently supported
Authors:
--------
Gero Kuhlmann <gero@gkminix.han.de>
%prep
%setup
%patch
%patch1
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
%configure \
--datadir=%{_datadir}/%{name} \
--libdir=%{_libdir}/%{name}
%{__make}
%install
%makeinstall
%{__rm} -v %{buildroot}%{_libdir}/%{name}/*.la
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root)
%doc README doc/*
%{_sysconfdir}/%{name}.config
%{_bindir}/makerom
%{_bindir}/mknbi-dos
%{_bindir}/mknbi-linux
%{_bindir}/mknbi-mgl
%{_bindir}/nbdbtool
%{_mandir}/man5/netboot.config.5*
%{_mandir}/man8/mknbi-linux.8*
%{_mandir}/man8/makerom.8*
%{_mandir}/man8/mknbi-dos.8*
%{_mandir}/man5/netboot.5*
%{_mandir}/man5/netboot.db.5*
%{_mandir}/man5/netboot.drivers.5*
%{_mandir}/man8/mknbi-mgl.8*
%{_mandir}/man8/nbdbtool.8*
%{_datadir}/%{name}
%{_libdir}/%{name}/instdrv
%{_libdir}/%{name}/mntnbi.pl
%{_libdir}/%{name}/nbmd5
%files -n libnb0
%defattr(-,root,root,-)
%dir %{_libdir}/%{name}/
%{_libdir}/%{name}/libnb.so.0
%{_libdir}/%{name}/libnb.so.0.1.5
%files -n libnb-devel
%defattr(-,root,root,-)
%{_includedir}/nblib.h
%{_libdir}/%{name}/libnb.so
%{_libdir}/%{name}/libnb.a
%changelog
* Sat Aug 04 2007 - mrueckert@suse.de
- update to version 0.10.2:
* many bug fixes and a small new utility called 'nbdbtool' to
ease the management of larger systems databases.
- enabled lzo and db4 support
- splitted out libnb0 and libnb-devel
- removed netboot-0.10_destdir.patch:
no longer needed
- rediffed netboot-0.10.1_nostrip.patch
new name netboot-0.10.2_nostrip.patch
* Fri Aug 04 2006 - mrueckert@suse.de
- update to version 0.10.1:
* many small bug fixes
- added netboot-0.10.1_nostrip.patch:
dont strip the binaries.
- removed netboot-0.10_asm_flags.patch:
fixed upstream
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 23 2006 - mrueckert@suse.de
- fix compilation of the assembler parts of mknbi-linux
and mknbi-dos
* Mon Jan 16 2006 - mrueckert@suse.de
- update to 0.10
* Mon Apr 26 2004 - nashif@suse.de
- Added -fno-strict-aliasing to CFLAGS
* Tue May 13 2003 - nashif@suse.de
- Update to version 0.9.8
- updated files list
* Wed Jan 08 2003 - nashif@suse.de
- Update to version 0.9.7
* Mon Nov 26 2001 - nashif@suse.de
- Update to version 0.9.1
* Thu Jan 04 2001 - nashif@suse.de
- Fixed bug #4977
* Sat Apr 22 2000 - nashif@suse.de
- Modified group, url, buildroot
- spec cleanup
* Fri Mar 31 2000 - nadvornik@suse.cz
- removed directories owned by aaa_dir
* Fri Feb 04 2000 - nashif@suse.de
- Moved manpages to /usr/share/man
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Wed May 19 1999 - ro@suse.de
- bracket calls of strcmp in mglparse.y
(disable broken optimization with glibc-2.1)
* Thu Feb 04 1999 - grimmer@suse.de
- Initial Version (0.8.1)