Group :: Networking/Other
RPM: srptools
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: srptools
Version: 0.0.4
Release: alt1
Summary: Tools for SRP/IB
Group: Networking/Other
License: %gpl2only
Url: http://www.openfabrics.org
Source: %name-%version.tar
Packager: Led <led at altlinux.ru>
BuildRequires(pre): rpm-build-licenses
BuildRequires: libibumad-devel libibverbs-devel
%define IB_CONF_DIR /etc/infiniband
%define ib_conf_dir %_sysconfdir/infiniband
%description
In conjunction with the kernel ib_srp driver, %name allows you to
discover and use SCSI devices via the SCSI RDMA Protocol over
InfiniBand.
%prep
%setup
%build
%configure
%make_build
%install
%make_install DESTDIR=%buildroot install
%post
if [ $1 = 1 -a -w %ib_conf_dir/openib.conf ]; then
echo >> %ib_conf_dir/openib.conf
echo "# Enable SRP High Availability daemon" >> %ib_conf_dir/openib.conf
echo "SRPHA_ENABLE=no" >> %ib_conf_dir/openib.conf
echo "SRP_DAEMON_ENABLE=no" >> %ib_conf_dir/openib.conf
fi
%files
%doc README NEWS ChangeLog COPYING
%config(noreplace) %_sysconfdir/srp_daemon.conf
%_sbindir/*
%_man1dir/*
%changelog
…
Full changelog you can see here
Version: 0.0.4
Release: alt1
Summary: Tools for SRP/IB
Group: Networking/Other
License: %gpl2only
Url: http://www.openfabrics.org
Source: %name-%version.tar
Packager: Led <led at altlinux.ru>
BuildRequires(pre): rpm-build-licenses
BuildRequires: libibumad-devel libibverbs-devel
%define IB_CONF_DIR /etc/infiniband
%define ib_conf_dir %_sysconfdir/infiniband
%description
In conjunction with the kernel ib_srp driver, %name allows you to
discover and use SCSI devices via the SCSI RDMA Protocol over
InfiniBand.
%prep
%setup
%build
%configure
%make_build
%install
%make_install DESTDIR=%buildroot install
%post
if [ $1 = 1 -a -w %ib_conf_dir/openib.conf ]; then
echo >> %ib_conf_dir/openib.conf
echo "# Enable SRP High Availability daemon" >> %ib_conf_dir/openib.conf
echo "SRPHA_ENABLE=no" >> %ib_conf_dir/openib.conf
echo "SRP_DAEMON_ENABLE=no" >> %ib_conf_dir/openib.conf
fi
%files
%doc README NEWS ChangeLog COPYING
%config(noreplace) %_sysconfdir/srp_daemon.conf
%_sbindir/*
%_man1dir/*
%changelog
…
Full changelog you can see here