1 # TODO: PLDify init script
2 Summary: Tools for SRP/IB
3 Summary(pl.UTF-8): Narzędzia do SRP/IB
8 Group: Networking/Utilities
9 Source0: http://www.openfabrics.org/downloads/srptools/%{name}-%{version}.tar.gz
10 # Source0-md5: 164cd5b9f783dce19b142d6cd1a1c89a
11 URL: http://www.openfabrics.org/
12 BuildRequires: libstdc++-devel
13 BuildRequires: zlib-devel
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 In conjunction with the kernel ib_srp driver, srptools allows you to
18 discover and use SCSI devices via the SCSI RDMA Protocol over
21 %description -l pl.UTF-8
22 W połączeniu ze sterownikiem jądra ib_srp, srptools pozwalają na
23 wykrywanie i używanie urządzeń SCSI poprzez protokół SCSI RDMA po
34 rm -rf $RPM_BUILD_ROOT
37 DESTDIR=$RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT/etc/rc.d
40 %{__mv} $RPM_BUILD_ROOT/etc/init.d $RPM_BUILD_ROOT/etc/rc.d
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
47 %doc COPYING ChangeLog NEWS README
48 %attr(755,root,root) %{_sbindir}/srp_daemon
49 %attr(755,root,root) %{_sbindir}/srp_daemon.sh
50 %attr(755,root,root) %{_sbindir}/ibsrpdm
51 %attr(755,root,root) %{_sbindir}/run_srp_daemon
52 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/srp_daemon.conf
53 %attr(754,root,root) /etc/rc.d/init.d/srpd
54 %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/srp_daemon
55 #%config(noreplace) %verify(not md5 mtime size) /etc/rsyslog.d/srp_daemon.conf
56 %{_mandir}/man1/ibsrpdm.1*
57 %{_mandir}/man1/srp_daemon.1*