]> git.pld-linux.org Git - packages/dapl.git/blame - dapl.spec
- updated to 2.1.10
[packages/dapl.git] / dapl.spec
CommitLineData
378d4be4 1# TODO: --enable-mcm (BR: libscif), --enable-coll-type=fca (BR: libfca)
5e72696b
JB
2Summary: Userspace access to RDMA devices using OS-agnostic DAT APIs
3Summary(pl.UTF-8): Dostęp z przestrzeni użytkownika do urządzeń RDMA poprzez API DAT
4Name: dapl
0e794aac 5Version: 2.1.10
5e72696b
JB
6Release: 1
7License: CPL v1.0 or BSD or GPL v2
8Group: Libraries
b5c24dfc 9Source0: https://www.openfabrics.org/downloads/dapl/%{name}-%{version}.tar.gz
0e794aac 10# Source0-md5: 50df18f8011a37da88f4886514b9dd96
49e49ef7 11Patch0: %{name}-link.patch
2bcfd8ca 12Patch1: %{name}-include.patch
d8642779 13Patch2: %{name}-ibacm.patch
5e72696b 14URL: http://www.openfabrics.org/
49e49ef7
JB
15BuildRequires: autoconf >= 2.57
16BuildRequires: automake
378d4be4 17BuildRequires: ibacm-devel
a753f986 18BuildRequires: libibverbs-devel >= 1.1.4
5e72696b 19BuildRequires: librdmacm-devel
49e49ef7 20BuildRequires: libtool
a753f986 21Requires: libibverbs >= 1.1.4
5e72696b
JB
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Along with the OpenFabrics kernel drivers, libdat2 and libdapl provide
26a userspace RDMA API that supports DAT 2.0 specification and
27InfiniBand transport extensions for atomic operations and RDMA write
28with immediate data.
29
30%description -l pl.UTF-8
31Wraz z modułami jądra OpenFabrics, libdat2 i libdapl dostarczają API
32RDMA w przestrzeni użytkownika, obsługujące specyfikację DAT 2.0 wraz
33z rozszerzeniami transportu InfiniBand dla operacji atomowych i zapisu
34RDMA danych bezpośrednich.
35
36%package devel
37Summary: Header files for libdat2 library
38Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libdat2
39Group: Development/Libraries
40Requires: %{name} = %{version}-%{release}
a753f986 41Requires: libibverbs-devel >= 1.1.4
5e72696b
JB
42
43%description devel
44Header files for libdat2 library.
45
46%description devel -l pl.UTF-8
47Pliki nagłówkowe biblioteki libdat2.
48
49%package static
50Summary: Static libdat2 library
51Summary(pl.UTF-8): Statyczna biblioteka libdat2
52Group: Development/Libraries
53Requires: %{name}-devel = %{version}-%{release}
54
55%description static
56This package contains the static libdat2 library.
57
58%description static -l pl.UTF-8
59Ten pakiet zawiera statyczną bibliotekę libdat2.
60
61%prep
62%setup -q
49e49ef7 63%patch0 -p1
2bcfd8ca 64%patch1 -p1
cb68a8c4 65%patch2 -p1
5e72696b
JB
66
67%build
49e49ef7
JB
68%{__libtoolize}
69%{__aclocal}
70%{__autoconf}
71%{__autoheader}
72%{__automake}
e89b4f99 73%configure \
378d4be4 74 --enable-acm \
e89b4f99 75 --disable-silent-rules
5e72696b
JB
76%{__make}
77
78%install
79rm -rf $RPM_BUILD_ROOT
80
2bcfd8ca 81%{__make} -j1 install \
5e72696b
JB
82 DESTDIR=$RPM_BUILD_ROOT
83
84# modules dlopened by soname
85%{__rm} $RPM_BUILD_ROOT%{_libdir}/libdapl*.{so,la,a}
86
87%clean
88rm -rf $RPM_BUILD_ROOT
89
90%post -p /sbin/ldconfig
91%postun -p /sbin/ldconfig
92
93%files
94%defattr(644,root,root,755)
95# LICENSE is CPL, LICENSE2 is BSD, LICENSE3 is GPL (not included here)
96%doc AUTHORS COPYING ChangeLog LICENSE.txt LICENSE2.txt README
97%attr(755,root,root) %{_bindir}/dapltest
98%attr(755,root,root) %{_bindir}/dtest
99%attr(755,root,root) %{_bindir}/dtestcm
378d4be4 100%attr(755,root,root) %{_bindir}/dtestsrq
5e72696b
JB
101%attr(755,root,root) %{_bindir}/dtestx
102%attr(755,root,root) %{_libdir}/libdat2.so.*.*.*
103%attr(755,root,root) %ghost %{_libdir}/libdat2.so.2
104%attr(755,root,root) %{_libdir}/libdaplofa.so.*.*.*
105%attr(755,root,root) %ghost %{_libdir}/libdaplofa.so.2
106%attr(755,root,root) %{_libdir}/libdaploscm.so.*.*.*
107%attr(755,root,root) %ghost %{_libdir}/libdaploscm.so.2
108%attr(755,root,root) %{_libdir}/libdaploucm.so.*.*.*
109%attr(755,root,root) %ghost %{_libdir}/libdaploucm.so.2
110%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dat.conf
111%{_mandir}/man1/dapltest.1*
112%{_mandir}/man1/dtest.1*
0e794aac
JB
113%{_mandir}/man1/dtestcm.1*
114%{_mandir}/man1/dtestsrq.1*
115%{_mandir}/man1/dtestx.1*
5e72696b
JB
116%{_mandir}/man5/dat.conf.5*
117
118%files devel
119%defattr(644,root,root,755)
120%attr(755,root,root) %{_libdir}/libdat2.so
121%{_libdir}/libdat2.la
122%{_includedir}/dat2
123
124%files static
125%defattr(644,root,root,755)
126%{_libdir}/libdat2.a
This page took 0.289255 seconds and 4 git commands to generate.