]> git.pld-linux.org Git - packages/drbl.git/blob - drbl.spec
- spec based on src.rpm
[packages/drbl.git] / drbl.spec
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
8 Version:        1.9.9
9 Release:        21.1
10 License:        GPL
11 Group:          Networking/Utilities
12 Source0:        http://downloads.sourceforge.net/drbl/%{name}-%{version}-21.tar.bz2
13 # Source0-md5:  97b6393f87581a4e64a34690fdf8f40f
14 URL:            http://www.drbl.org/
15 BuildRequires:  bash
16 BuildRequires:  sed >= 4.0
17 Requires:       findutils
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 DRBL provides a diskless or systemless environment for client
22 machines. It works on Debian, Ubuntu, Mandriva, Red Hat, Fedora,
23 CentOS and OpenSuSE. DRBL uses distributed hardware resources and
24 makes it possible for clients to fully access local hardware. It also
25 includes Clonezilla, a partition and disk cloning utility similar to
26 Symantec Ghost(TM) or True Image(TM).
27
28 %prep
29 %setup -q -n %{name}-%{version}-21
30
31 grep -rl /opt/drbl/ . | xargs sed -i -e 's,/opt/drbl,%{_libdir}/%{name},g'
32
33 %build
34 %{__make} all
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 %{__make} install \
39         maindir=%{_libdir}/%{name} \
40         DESTDIR=$RPM_BUILD_ROOT
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %defattr(-,root,root,-)
48 %dir %{_libdir}/%{name}
49 %{_libdir}/%{name}/setup
50 %{_libdir}/%{name}/conf
51 %{_libdir}/%{name}/lang
52 %{_libdir}/%{name}/pkg
53 %{_libdir}/%{name}/pki
54 %{_libdir}/%{name}/image
55 %{_libdir}/%{name}/doc
56 %{_libdir}/%{name}/sbin
57 %{_libdir}/%{name}/bin
58 %{_datadir}/gdm/themes/drbl-gdm
This page took 0.05751 seconds and 4 git commands to generate.