]> git.pld-linux.org Git - packages/etherboot.git/blame - etherboot.spec
- alllisos removed from make because it doesn't compile with proper mtools (don't...
[packages/etherboot.git] / etherboot.spec
CommitLineData
128c6dfb 1%define _doc_version 5.2.2
ef5fdb73 2Summary: Software package for booting x86 PCs over a network
7b0b5d94 3Summary(pl.UTF-8): Oprogramowanie do startowania komputerów PC poprzez sieć
4f2cfe62 4Name: etherboot
5a58f44f 5Version: 5.4.3
8dea84ec 6Release: 1
4d8afaf2 7License: GPL
4614d510 8Group: Applications/System
161207a0 9Source0: http://dl.sourceforge.net/etherboot/%{name}-%{version}.tar.bz2
5a58f44f 10# Source0-md5: 813a9e1d5dec57dd1b9ddc106585acbe
0f7f42aa 11Source1: http://dl.sourceforge.net/etherboot/%{name}-doc-%{_doc_version}.tar.bz2
128c6dfb 12# Source1-md5: 1531d654a9534361c5339d931d5f92f4
4614d510 13URL: http://etherboot.sourceforge.net/
8dea84ec 14BuildRequires: cdrtools-mkisofs
5a58f44f 15BuildRequires: mtools >= 3.9.10-1.20070411.1
92cf0dd0
ER
16BuildRequires: perl-base
17BuildRequires: syslinux
8dea84ec 18BuildRequires: syslinux
a1d142d4 19ExclusiveArch: %{ix86}
d393493b 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
4f2cfe62 21
8dea84ec
ER
22%define _noautostrip .*
23
4f2cfe62 24%description
4d8afaf2 25Etherboot is a free software package for booting x86 PCs over a
26network. In principle this could be any network technology that TCP/IP
27runs on that supports broadcasting. In practice, the bandwidth
28required means it's only practical over LANs and some WANs. Etherboot
29is useful for booting PCs diskless. This is desirable in various
30situations, 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
4f2cfe62
AM
35 and you are willing to accept the slowness of data transfers that
36 results from NFS, compared to a local disk.
4d8afaf2 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.
4f2cfe62 41
623baf2c
JR
42%description -l pl.UTF-8
43Etherboot to "wolne" oprogramowanie służące do startowania komputerów
44PC x86 poprzez sieć (dowolną sieć TCP/IP wspierającą rozgłaszanie
45adresów (broadcasting)). W praktyce wymagania co do przepustowości
46łącz ograniczają zastosowanie tego pakietu w sieciach LAN i niektórych
47WAN. Etherboot jest użyteczny do startowania bezdyskowych PC.
4f2cfe62
AM
48
49%prep
4964fe24 50%setup -q -a1
4f2cfe62
AM
51
52%build
2d912695 53# we don't use custom optimalizations here because it can cause problems
92cf0dd0 54%{__make} -j1 \
5a58f44f 55 allcoms allelfs allisos allroms \
8dea84ec
ER
56 allzdsks allzhds allzlilos allzpxes allzroms \
57 -C src CC="%{__cc}"
5a58f44f 58# alllisos // Removed from make because It doesn't compile with proper mtools (don't know why)
4f2cfe62
AM
59
60%install
61rm -rf $RPM_BUILD_ROOT
8dea84ec 62install -d $RPM_BUILD_ROOT{%{_libdir}/%{name}/{com,elf,iso,liso,rom,zdsk,zhd,zlilo,zpxe,zrom},%{_bindir}}
4f2cfe62 63
8dea84ec
ER
64install src/bin/*.com $RPM_BUILD_ROOT%{_libdir}/%{name}/com
65install src/bin/*.elf $RPM_BUILD_ROOT%{_libdir}/%{name}/elf
66install src/bin/*.iso $RPM_BUILD_ROOT%{_libdir}/%{name}/iso
5a58f44f 67#install src/bin/*.liso $RPM_BUILD_ROOT%{_libdir}/%{name}/liso
8dea84ec
ER
68install src/bin/*.rom $RPM_BUILD_ROOT%{_libdir}/%{name}/rom
69install src/bin/*.zdsk $RPM_BUILD_ROOT%{_libdir}/%{name}/zdsk
70install src/bin/*.zhd $RPM_BUILD_ROOT%{_libdir}/%{name}/zhd
71install src/bin/*.zlilo $RPM_BUILD_ROOT%{_libdir}/%{name}/zlilo
72install src/bin/*.zpxe $RPM_BUILD_ROOT%{_libdir}/%{name}/zpxe
73install src/bin/*.zrom $RPM_BUILD_ROOT%{_libdir}/%{name}/zrom
80d51e7b 74install src/util/makerom.pl $RPM_BUILD_ROOT%{_bindir}/makerom.pl
4f2cfe62 75
4f2cfe62
AM
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%files
80%defattr(644,root,root,755)
80d51e7b 81%doc index.html contrib INSTALL RELNOTES doc/text/*txt src/bin/NIC
2d912695 82%{_libdir}/%{name}
a7d151e5 83%attr(755,root,root) %{_bindir}/*
This page took 0.075245 seconds and 4 git commands to generate.