]> git.pld-linux.org Git - packages/etherboot.git/blob - etherboot.spec
new spec
[packages/etherboot.git] / etherboot.spec
1 Name:           etherboot
2 Version:        4.2.5
3 Release:        1
4 Summary:        software package for booting x86 PCs over a network
5 Summary(pl):    oprogramowanie do startowania komputerów PC poprzez sieæ
6 Source:         http://www.slug.org.au/etherboot/%{name}-%{version}.tar.bz2
7 Patch:          etherboot-fixes.patch
8 Group:          Utilities/System
9 Group(pl):      Narzedzia/System
10 BuildRequires:  bin86
11 Copyright:      GPL
12 URL:            http://www.slug.org.au/etherboot/
13 BuildRoot:      /tmp/%{name}-%{version}-root
14 #ExcludeArch:   i386
15
16 %description
17 Etherboot is a free software package for booting x86 PCs over a network.
18 In principle this could be any network technology that TCP/IP runs on
19 that supports broadcasting. In practice, the bandwidth required means
20 it's only practical over LANs and some WANs. Etherboot is useful for
21 booting PCs diskless. This is desirable in various situations, for
22 example:
23   * Maintaining software for a cluster of equally configured workstations
24     centrally.
25   * A low-cost X-terminal.
26   * A low cost user platform where remote partitions are mounted by NFS
27     and you are willing to accept the slowness of data transfers that
28     results from NFS, compared to a local disk.
29   * Various kinds of remote servers, e.g. a tape drive server that
30     can be accessed with the RMT protocol.
31   * Routers.
32   * Machines doing tasks in environments unfriendly to disks.
33
34 %description -l pl
35 Etherboot to "wolne" oprogramowanie s³u¿±ce do startowania komputerów PC x86
36 poprzez sieæ (dowoln± sieæ TCP/IP wspieraj±c± rozg³aszanie adresów (broadcasting)).
37 W praktyce wymagania co do przepustowo¶ci ³±cz ograniczaj± zastosowanie
38 tego pakietu w sieciach LAN i niektórych WAN. Etherboot jest u¿yteczny
39 do startowania bezdyskowych PC.
40
41 %prep
42 %setup -q -n %{name}-4.2
43 %patch -p1
44
45 %build
46 cd netboot-* && %configure && make && cd ..
47 cd src-32 && make && cd ..
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 install -d                               $RPM_BUILD_ROOT%{_sbindir}
53 install -d                               $RPM_BUILD_ROOT%{_datadir}/%{name}/{bin,lzrom,rom}
54 install -d                               $RPM_BUILD_ROOT%{_mandir}/man8
55
56 install src-32/*.bin                     $RPM_BUILD_ROOT%{_datadir}/%{name}/bin
57 install src-32/*.rom                     $RPM_BUILD_ROOT%{_datadir}/%{name}/rom
58 install src-32/*.lzrom                   $RPM_BUILD_ROOT%{_datadir}/%{name}/lzrom
59
60 install -s netboot-*/mknbi-blkdev/makec  $RPM_BUILD_ROOT%{_sbindir}/makec-blkdev
61 install -s netboot-*/mknbi-blkdev/mknbi  $RPM_BUILD_ROOT%{_sbindir}/mknbi-blkdev
62 install netboot-*/mknbi-blkdev/mknbi.man $RPM_BUILD_ROOT%{_mandir}/man8/mknbi-blkdev.8
63 install -s netboot-*/mknbi-dos/mknbi     $RPM_BUILD_ROOT%{_sbindir}/mknbi-dos
64 install netboot-*/mknbi-dos/mknbi.man    $RPM_BUILD_ROOT%{_mandir}/man8/mknbi-dos.8
65 install -s netboot-*/mknbi-linux/mknbi   $RPM_BUILD_ROOT%{_sbindir}/mknbi-linux
66 install netboot-*/mknbi-linux/mknbi.man  $RPM_BUILD_ROOT%{_mandir}/man8/mknbi-linux.8
67
68 gzip -9nf INSTALL RELNOTES index.html doc/html/* $RPM_BUILD_ROOT%{_mandir}/man8/*
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %doc {INSTALL,RELNOTES,index.html}.gz
76 %doc doc/html/* contrib
77 %attr(755,root,root) %{_sbindir}/*
78 %attr(644,root,root) %{_mandir}/man8/*
79 %attr(644,root,root) %{_datadir}/%{name}/*/*
80 %attr(755,root,root) %dir %{_datadir}/%{name}
81 %attr(755,root,root) %dir %{_datadir}/%{name}/bin
82 %attr(755,root,root) %dir %{_datadir}/%{name}/rom
83 %attr(755,root,root) %dir %{_datadir}/%{name}/lzrom
This page took 0.064392 seconds and 3 git commands to generate.