[packages/ibsim] - new
qboosh
qboosh at pld-linux.org
Sun Feb 2 19:34:33 CET 2014
commit aad90379e0e3a15a93cea1cc802e97987995962e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Feb 2 19:36:04 2014 +0100
- new
ibsim.spec | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
---
diff --git a/ibsim.spec b/ibsim.spec
new file mode 100644
index 0000000..0816c17
--- /dev/null
+++ b/ibsim.spec
@@ -0,0 +1,59 @@
+Summary: Voltaire Infiniband Fabric Simulator
+Summary(pl.UTF-8): Symulator materiału Infiniband Voltaire
+Name: ibsim
+Version: 0.6
+Release: 1
+License: BSD or GPL v2
+Group: Networking/Utilities
+Source0: http://www.openfabrics.org/downloads/management/%{name}-%{version}.tar.gz
+# Source0-md5: d08e196d980e7c88066b3e5e25bf5432
+URL: http://www.openfabrics.org/
+BuildRequires: libibmad-devel
+BuildRequires: libibumad-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ibsim emulates the fabric behavior by using MAD communication with the
+SM/SA and the PerfMgr. This simple tool is ideally suitable for
+various research, development, debug and testing tasks where IB subnet
+management is involved.
+
+%description -l pl.UTF-8
+ibsim emuluje zachowanie materiału poprzez wykorzystanie komunikacji
+MAD wraz z SM/SA oraz PerfMgr. To proste narzędzie nadaje się idealnie
+do różnych badań, rozwijania oprogramowania, zadań diagnostycznych i
+testowych związanych z zarządzaniem podsieciami IB.
+
+%prep
+%setup -q
+
+%build
+CFLAGS="%{rpmcflags}" \
+LDFLAGS="%{rpmldflags}" \
+%{__make} \
+ CC="%{__cc}" \
+ prefix=%{_prefix} \
+ libpath=%{_libdir} \
+ binpath=%{_bindir}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+# NOTE: flags are needed here to avoid recompilation
+CFLAGS="%{rpmcflags}" \
+LDFLAGS="%{rpmldflags}" \
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ prefix=%{_prefix} \
+ libpath=%{_libdir} \
+ binpath=%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README TODO
+%attr(755,root,root) %{_bindir}/ibsim
+%dir %{_libdir}/umad2sim
+%attr(755,root,root) %{_libdir}/umad2sim/libumad2sim.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ibsim.git/commitdiff/aad90379e0e3a15a93cea1cc802e97987995962e
More information about the pld-cvs-commit
mailing list