]> git.pld-linux.org Git - packages/libibumad.git/blob - libibumad.spec
19255b9e3b4696e85b0726adabb49740f3ac605b
[packages/libibumad.git] / libibumad.spec
1 Summary:        Userspace InfiniBand MAD library
2 Summary(pl.UTF-8):      Biblioteka InfiniBand MAD dla przestrzeni użytkownika
3 Name:           libibumad
4 Version:        1.3.9
5 Release:        1
6 License:        BSD or GPL v2
7 Group:          Libraries
8 Source0:        http://www.openfabrics.org/downloads/management/%{name}-%{version}.tar.gz
9 # Source0-md5:  52a81356906f4faf29a6cf9583161aa8
10 URL:            http://www.openfabrics.org/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 libibumad provides the user MAD library functions which sit on top of
15 the user MAD modules in the kernel. These are used by the IB
16 diagnostic and management tools, including OpenSM.
17
18 %description -l pl.UTF-8
19 libibumad to biblioteka udostępniająca funkcje MAD w przestrzeni
20 użytkownika, komunikująca się z modułami MAD w jądrze. Jest używana
21 przez narzędzia diagnostyczne oraz zarządzające IB, w tym OpenSM.
22
23 %package devel
24 Summary:        Header files for libibumad library
25 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libibumad
26 Group:          Development/Libraries
27 Requires:       %{name} = %{version}-%{release}
28 # for dir and other IB functionality
29 Requires:       libibverbs-devel
30
31 %description devel
32 Header files for libibumad library.
33
34 %description devel -l pl.UTF-8
35 Pliki nagłówkowe biblioteki libibumad.
36
37 %package static
38 Summary:        Static libibumad library
39 Summary(pl.UTF-8):      Statyczna biblioteka libibumad
40 Group:          Development/Libraries
41 Requires:       %{name}-devel = %{version}-%{release}
42
43 %description static
44 This package contains the static libibumad library.
45
46 %description static -l pl.UTF-8
47 Ten pakiet zawiera statyczną bibliotekę libibumad.
48
49 %prep
50 %setup -q
51
52 %build
53 %configure
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post   -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
67
68 %files
69 %defattr(644,root,root,755)
70 %doc AUTHORS COPYING ChangeLog
71 %attr(755,root,root) %{_libdir}/libibumad.so.*.*.*
72 %attr(755,root,root) %ghost %{_libdir}/libibumad.so.3
73
74 %files devel
75 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_libdir}/libibumad.so
77 %{_libdir}/libibumad.la
78 %{_includedir}/infiniband/umad.h
79 %{_mandir}/man3/umad_*.3*
80
81 %files static
82 %defattr(644,root,root,755)
83 %{_libdir}/libibumad.a
This page took 0.053789 seconds and 2 git commands to generate.