]>
Commit | Line | Data |
---|---|---|
bba0da20 ER |
1 | # TODO |
2 | # - use pld memtest, syslinux, etc binaries in pkg/ | |
3 | # - code itself seems to be noarch | |
4 | # - re-add pld support (why it was removed, huh?) | |
5 | # - more FHS thing (config to /etc) | |
6 | Summary: DRBL (Diskless Remote Boot in Linux) package | |
7 | Name: drbl | |
ccd226fa AF |
8 | Version: 2.1.33 |
9 | Release: 0.1 | |
bba0da20 ER |
10 | License: GPL |
11 | Group: Networking/Utilities | |
ccd226fa AF |
12 | Source0: http://free.nchc.org.tw/drbl-core/src/unstable/%{name}-%{version}.tar.bz2 |
13 | # Source0-md5: ab5d805195c72b7638019a1259b682b8 | |
bba0da20 ER |
14 | URL: http://www.drbl.org/ |
15 | BuildRequires: bash | |
bba0da20 ER |
16 | Requires: findutils |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | DRBL provides a diskless or systemless environment for client | |
21 | machines. It works on Debian, Ubuntu, Mandriva, Red Hat, Fedora, | |
22 | CentOS and OpenSuSE. DRBL uses distributed hardware resources and | |
23 | makes it possible for clients to fully access local hardware. It also | |
24 | includes Clonezilla, a partition and disk cloning utility similar to | |
25 | Symantec Ghost(TM) or True Image(TM). | |
26 | ||
27 | %prep | |
7f69f246 | 28 | %setup -q -n %{name}-%{version} |
bba0da20 | 29 | |
bba0da20 ER |
30 | %build |
31 | %{__make} all | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | %{__make} install \ | |
bba0da20 ER |
36 | DESTDIR=$RPM_BUILD_ROOT |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
ccd226fa AF |
43 | %dir /etc/drbl |
44 | /etc/drbl/* | |
45 | %attr(755,root,root) /usr/sbin/* | |
46 | %attr(755,root,root) /usr/bin/* | |
bba0da20 | 47 | %{_datadir}/gdm/themes/drbl-gdm |
ccd226fa AF |
48 | %defattr(-,root,root,-) |
49 | %{_datadir}/drbl |