1 %global _hardened_build 1
9 URL: https://github.com/libguestfs/nbdkit
10 Source0: http://libguestfs.org/download/nbdkit/%{name}-%{version}.tar.gz
12 BuildRequires: /usr/bin/pod2man
13 BuildRequires: libvirt-devel
14 BuildRequires: xz-devel
15 BuildRequires: zlib-devel
19 NBD is a protocol for accessing block devices (hard disks and
20 disk-like things) over the network.
22 'nbdkit' is a toolkit for creating NBD servers.
26 * Multithreaded NBD server written in C with good performance.
28 * Well-documented, simple plugin API with a stable ABI guarantee.
29 Let's you export "unconventional" block devices easily.
31 * Liberal license (BSD) allows nbdkit to be linked to proprietary
32 libraries or included in proprietary code.
34 Several example plugins are included in the package.
36 To develop plugins, install the %{name}-devel package and start by
37 reading the nbdkit(1) and nbdkit-plugin(3) manual pages.
41 Summary: Development files and documentation for %{name}
44 Requires: %{name}%{?_isa} = %{version}-%{release}
48 This package contains development files and documentation
49 for %{name}. Install this package if you want to develop
58 %configure --disable-static
65 # Delete libtool crap.
66 find $RPM_BUILD_ROOT -name '*.la' -delete
73 %{_mandir}/man1/nbdkit.1*
74 %{_mandir}/man1/nbdkit-*-plugin.1*
78 %doc LICENSE README TODO
79 # Include the source of the example plugins in the documentation.
80 %doc plugins/example*/*.c
81 %{_includedir}/nbdkit-plugin.h
82 %{_mandir}/man3/nbdkit-plugin.3*
86 * Mon Jun 24 2013 Richard W.M. Jones <rjones@redhat.com> - 1.0.0-3