1 Summary: Tools for using the Network Block Device
2 Summary(pl.UTF-8): Narzędzia do używania Network Block Device
7 Group: Applications/System
8 Source0: http://atrey.karlin.mff.cuni.cz/~pavel/nbd/nbd.14.tar.gz
9 # Source0-md5: a049cf102d0649caaeb50cb45fae85a4
11 #Source1: http://www.image.dk/~ehcorry/linux/nbd.swap-patch.123-erik-2.2.13pre17
12 Source1: nbd.swap-patch.123-erik-2.2.13pre17
14 Patch0: ndb-debug.patch
15 URL: http://atrey.karlin.mff.cuni.cz/~pavel/nbd/nbd.html
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Nbd-tools are the tools needed to export a network block device and to
22 use a network block device. There are no README files or man pages,
23 but the programs have a usage-message, and you can read the source of
24 the nbd kernel module. The nbd module is part of the 2.2 kernels and
27 If you have a kernel patched for it, you can use the network block
28 device to swap over the net, which is particularly useful for diskless
31 %description -l pl.UTF-8
32 nbd-tools to narzędzia potrzebne do wyeksportowania i używania
33 sieciowego urządzenia blokowego (Network Block Device). Moduł do nbd
34 jest w jądrze 2.2 i późniejszych.
36 Jeżeli masz kernel z odpowiednią łatą, możesz używać sieciowego
37 urządzenia blokowego do swapowania przez sieć - jest to przydatne w
38 przypadku stacji bezdyskowych.
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT{/sbin,%{_sbindir}}
56 install nbd-client $RPM_BUILD_ROOT/sbin/
57 install nbd-server $RPM_BUILD_ROOT%{_sbindir}/
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
64 %doc nbd.README nbd.swap-patch.123-erik-2.2.13pre17 nbd.20.diff nbd.swap-patch.23
65 %attr(755,root,root) /sbin/nbd-client
66 %attr(755,root,root) %{_sbindir}/nbd-server