]>
Commit | Line | Data |
---|---|---|
128c6dfb | 1 | %define _doc_version 5.2.2 |
ef5fdb73 | 2 | Summary: Software package for booting x86 PCs over a network |
7b0b5d94 | 3 | Summary(pl.UTF-8): Oprogramowanie do startowania komputerów PC poprzez sieć |
4f2cfe62 | 4 | Name: etherboot |
5a58f44f | 5 | Version: 5.4.3 |
8dea84ec | 6 | Release: 1 |
4d8afaf2 | 7 | License: GPL |
4614d510 | 8 | Group: Applications/System |
161207a0 | 9 | Source0: http://dl.sourceforge.net/etherboot/%{name}-%{version}.tar.bz2 |
5a58f44f | 10 | # Source0-md5: 813a9e1d5dec57dd1b9ddc106585acbe |
0f7f42aa | 11 | Source1: http://dl.sourceforge.net/etherboot/%{name}-doc-%{_doc_version}.tar.bz2 |
128c6dfb | 12 | # Source1-md5: 1531d654a9534361c5339d931d5f92f4 |
4614d510 | 13 | URL: http://etherboot.sourceforge.net/ |
8dea84ec | 14 | BuildRequires: cdrtools-mkisofs |
5a58f44f | 15 | BuildRequires: mtools >= 3.9.10-1.20070411.1 |
92cf0dd0 ER |
16 | BuildRequires: perl-base |
17 | BuildRequires: syslinux | |
8dea84ec | 18 | BuildRequires: syslinux |
a1d142d4 | 19 | ExclusiveArch: %{ix86} |
d393493b | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
4f2cfe62 | 21 | |
8dea84ec ER |
22 | %define _noautostrip .* |
23 | ||
4f2cfe62 | 24 | %description |
4d8afaf2 | 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 | |
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 |
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. | |
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 | |
61 | rm -rf $RPM_BUILD_ROOT | |
8dea84ec | 62 | install -d $RPM_BUILD_ROOT{%{_libdir}/%{name}/{com,elf,iso,liso,rom,zdsk,zhd,zlilo,zpxe,zrom},%{_bindir}} |
4f2cfe62 | 63 | |
8dea84ec ER |
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 | |
5a58f44f | 67 | #install src/bin/*.liso $RPM_BUILD_ROOT%{_libdir}/%{name}/liso |
8dea84ec ER |
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 | |
80d51e7b | 74 | install src/util/makerom.pl $RPM_BUILD_ROOT%{_bindir}/makerom.pl |
4f2cfe62 | 75 | |
4f2cfe62 AM |
76 | %clean |
77 | rm -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}/* |