Name: nbd Version: 2.9.2 Release: 1%{?dist} Summary: Network Block Device (TCP version) Group: Applications/System License: GPLv2 URL: http://nbd.sourceforge.net/ Source0: http://downloads.sourceforge.net/nbd/nbd-2.9.2.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) #BuildRequires: #Requires: %description Tools for the Linux Kernel's network block device, allowing you to use remote block devices over a TCP/IP network. %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README simple_test %{_mandir}/man*/nbd* %{_bindir}/nbd-server %{_sbindir}/nbd-client %changelog