Summary: Gluster block storage utility Name: @PACKAGE_NAME@ Version: @PACKAGE_VERSION@ Release: @PACKAGE_RELEASE@ License: GPLv2 or LGPLv3+ URL: https://github.com/gluster/gluster-block Source0: @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz BuildRequires: glusterfs-api-devel >= 3.6.0 BuildRequires: help2man >= 1.36 %if ( 0%{?_with_systemd:1} ) BuildRequires: systemd-units %endif Requires: tcmu-runner >= 1.0.4 Requires: targetcli >= 2.1.fb43 %description gluster-block is a CLI utility, which aims at making gluster backed block storage creation and maintenance as simple as possible. %prep %setup %build %configure make %install make DESTDIR=${RPM_BUILD_ROOT} install %clean rm -rf ${RPM_BUILD_ROOT} %files %license COPYING-GPLV2 COPYING-LGPLV3 %doc README.md %{_sbindir}/gluster-block %{_sbindir}/gluster-blockd %if ( 0%{?_with_systemd:1} ) %{_unitdir}/gluster-blockd.service %endif %changelog * Thu Feb 23 2017 Niels de Vos - cleanup and add licenses and README.md to the package * Sun Feb 5 2017 Prasanna Kumar Kalever - Initial spec file