diff --git a/README.md b/README.md index 72e24d2..07b1254 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # nbd +Tools for the Linux Kernel's network block device, allowing you to use remote block devices over a TCP/IP network. + diff --git a/nbd.spec b/nbd.spec new file mode 100644 index 0000000..784714d --- /dev/null +++ b/nbd.spec @@ -0,0 +1,50 @@ +Name: nbd +Version: 3.8 +Release: 1mamba +Summary: Tools for the Linux Kernel's network block device +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://nbd.sourceforge.net/ +Source: https://downloads.sourceforge.net/project/nbd/nbd/%{version}/nbd-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libglib-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Tools for the Linux Kernel's network block device, allowing you to use remote block devices over a TCP/IP network. + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/nbd-server +%{_bindir}/nbd-trdump +%{_sbindir}/nbd-client +%{_mandir}/man1/nbd-server.1* +%{_mandir}/man1/nbd-trdump.1* +%{_mandir}/man5/nbd-server.5* +%{_mandir}/man8/nbd-client.8* +%doc COPYING + +%changelog +* Tue Jun 24 2014 Silvan Calarco 3.8-1mamba +- package created using the webbuild interface