]> git.pld-linux.org Git - packages/srptools.git/blame - srptools.spec
- new
[packages/srptools.git] / srptools.spec
CommitLineData
183a51db
JB
1# TODO: PLDify init script
2Summary: Tools for SRP/IB
3Summary(pl.UTF-8): Narzędzia do SRP/IB
4Name: srptools
5Version: 1.0.1
6Release: 1
7License: BSD or GPL v2
8Group: Networking/Utilities
9Source0: http://www.openfabrics.org/downloads/srptools/%{name}-%{version}.tar.gz
10# Source0-md5: dfec73fda72bc2e2c234c1cffe62a190
11URL: http://www.openfabrics.org/
12BuildRequires: libstdc++-devel
13BuildRequires: zlib-devel
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17In conjunction with the kernel ib_srp driver, srptools allows you to
18discover and use SCSI devices via the SCSI RDMA Protocol over
19InfiniBand.
20
21%description -l pl.UTF-8
22W połączeniu ze sterownikiem jądra ib_srp, srptools pozwalają na
23wykrywanie i używanie urządzeń SCSI poprzez protokół SCSI RDMA po
24InfiniBand.
25
26%prep
27%setup -q
28
29%build
30%configure
31%{__make}
32
33%install
34rm -rf $RPM_BUILD_ROOT
35
36%{__make} install \
37 DESTDIR=$RPM_BUILD_ROOT
38
39install -d $RPM_BUILD_ROOT/etc/rc.d
40%{__mv} $RPM_BUILD_ROOT/etc/init.d $RPM_BUILD_ROOT/etc/rc.d
41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%files
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*
This page took 0.093928 seconds and 4 git commands to generate.