]> git.pld-linux.org Git - SPECS.git/blob - etherboot.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / etherboot.spec
1 %define         _doc_version    5.2.2
2 Summary:        Software package for booting x86 PCs over a network
3 Summary(pl.UTF-8):      Oprogramowanie do startowania komputerów PC poprzez sieć
4 Name:           etherboot
5 Version:        5.4.3
6 Release:        1
7 License:        GPL
8 Group:          Applications/System
9 Source0:        http://dl.sourceforge.net/etherboot/%{name}-%{version}.tar.bz2
10 # Source0-md5:  813a9e1d5dec57dd1b9ddc106585acbe
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 >= 3.9.10-1.20070411.1 
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.UTF-8
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 allroms \
56         allzdsks allzhds allzlilos allzpxes allzroms    \
57         -C src CC="%{__cc}"
58 # alllisos // Removed from make because It doesn't compile with proper mtools (don't know why)
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT{%{_libdir}/%{name}/{com,elf,iso,liso,rom,zdsk,zhd,zlilo,zpxe,zrom},%{_bindir}}
63
64 install src/bin/*.com $RPM_BUILD_ROOT%{_libdir}/%{name}/com
65 install src/bin/*.elf $RPM_BUILD_ROOT%{_libdir}/%{name}/elf
66 install src/bin/*.iso $RPM_BUILD_ROOT%{_libdir}/%{name}/iso
67 #install src/bin/*.liso $RPM_BUILD_ROOT%{_libdir}/%{name}/liso
68 install src/bin/*.rom $RPM_BUILD_ROOT%{_libdir}/%{name}/rom
69 install src/bin/*.zdsk $RPM_BUILD_ROOT%{_libdir}/%{name}/zdsk
70 install src/bin/*.zhd $RPM_BUILD_ROOT%{_libdir}/%{name}/zhd
71 install src/bin/*.zlilo $RPM_BUILD_ROOT%{_libdir}/%{name}/zlilo
72 install src/bin/*.zpxe $RPM_BUILD_ROOT%{_libdir}/%{name}/zpxe
73 install src/bin/*.zrom $RPM_BUILD_ROOT%{_libdir}/%{name}/zrom
74 install src/util/makerom.pl $RPM_BUILD_ROOT%{_bindir}/makerom.pl
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %doc index.html contrib INSTALL RELNOTES doc/text/*txt src/bin/NIC
82 %{_libdir}/%{name}
83 %attr(755,root,root) %{_bindir}/*
This page took 0.722967 seconds and 3 git commands to generate.