]> git.pld-linux.org Git - packages/etherboot.git/blob - etherboot.spec
- merge with AC-branch; AC-branch moved
[packages/etherboot.git] / etherboot.spec
1 %define         _doc_version    5.2.2
2 Summary:        Software package for booting x86 PCs over a network
3 Summary(pl):    Oprogramowanie do startowania komputerów PC poprzez sieæ
4 Name:           etherboot
5 Version:        5.4.2
6 Release:        1
7 License:        GPL
8 Group:          Applications/System
9 Source0:        http://dl.sourceforge.net/etherboot/%{name}-%{version}.tar.bz2
10 # Source0-md5:  ce257fbb3811448895aa2891940df8ac
11 Source1:        http://dl.sourceforge.net/etherboot/%{name}-doc-%{_doc_version}.tar.bz2
12 # Source1-md5:  1531d654a9534361c5339d931d5f92f4
13 URL:            http://etherboot.sourceforge.net/
14 BuildRequires:  cdrtools-mkisofs
15 BuildRequires:  mtools
16 BuildRequires:  perl-base
17 BuildRequires:  syslinux
18 BuildRequires:  syslinux
19 ExclusiveArch:  %{ix86}
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _noautostrip    .*
23
24 %description
25 Etherboot is a free software package for booting x86 PCs over a
26 network. In principle this could be any network technology that TCP/IP
27 runs on that supports broadcasting. In practice, the bandwidth
28 required means it's only practical over LANs and some WANs. Etherboot
29 is useful for booting PCs diskless. This is desirable in various
30 situations, for example:
31   - Maintaining software for a cluster of equally configured
32     workstations centrally.
33   - A low-cost X-terminal.
34   - A low cost user platform where remote partitions are mounted by NFS
35     and you are willing to accept the slowness of data transfers that
36     results from NFS, compared to a local disk.
37   - Various kinds of remote servers, e.g. a tape drive server that can
38     be accessed with the RMT protocol.
39   - Routers.
40   - Machines doing tasks in environments unfriendly to disks.
41
42 %description -l pl
43 Etherboot to "wolne" oprogramowanie s³u¿±ce do startowania komputerów
44 PC x86 poprzez sieæ (dowoln± sieæ TCP/IP wspieraj±c± rozg³aszanie
45 adresów (broadcasting)). W praktyce wymagania co do przepustowo¶ci
46 ³±cz ograniczaj± zastosowanie tego pakietu w sieciach LAN i niektórych
47 WAN. Etherboot jest u¿yteczny do startowania bezdyskowych PC.
48
49 %prep
50 %setup -q -a1
51
52 %build
53 # we don't use custom optimalizations here because it can cause problems
54 %{__make} -j1 \
55         allcoms allelfs allisos alllisos allroms        \
56         allzdsks allzhds allzlilos allzpxes allzroms    \
57         -C src CC="%{__cc}"
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT{%{_libdir}/%{name}/{com,elf,iso,liso,rom,zdsk,zhd,zlilo,zpxe,zrom},%{_bindir}}
62
63 install src/bin/*.com $RPM_BUILD_ROOT%{_libdir}/%{name}/com
64 install src/bin/*.elf $RPM_BUILD_ROOT%{_libdir}/%{name}/elf
65 install src/bin/*.iso $RPM_BUILD_ROOT%{_libdir}/%{name}/iso
66 install src/bin/*.liso $RPM_BUILD_ROOT%{_libdir}/%{name}/liso
67 install src/bin/*.rom $RPM_BUILD_ROOT%{_libdir}/%{name}/rom
68 install src/bin/*.zdsk $RPM_BUILD_ROOT%{_libdir}/%{name}/zdsk
69 install src/bin/*.zhd $RPM_BUILD_ROOT%{_libdir}/%{name}/zhd
70 install src/bin/*.zlilo $RPM_BUILD_ROOT%{_libdir}/%{name}/zlilo
71 install src/bin/*.zpxe $RPM_BUILD_ROOT%{_libdir}/%{name}/zpxe
72 install src/bin/*.zrom $RPM_BUILD_ROOT%{_libdir}/%{name}/zrom
73 install src/util/makerom.pl $RPM_BUILD_ROOT%{_bindir}/makerom.pl
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %files
79 %defattr(644,root,root,755)
80 %doc index.html contrib INSTALL RELNOTES doc/text/*txt src/bin/NIC
81 %{_libdir}/%{name}
82 %attr(755,root,root) %{_bindir}/*
This page took 0.028363 seconds and 3 git commands to generate.