]>
Commit | Line | Data |
---|---|---|
6fe249c3 JB |
1 | Summary: QLogic PSM libraries |
2 | Summary(pl.UTF-8): Biblioteki QLogic PSM | |
3 | Name: infinipath-psm | |
8eb7d44b | 4 | Version: 1.14 |
6fe249c3 JB |
5 | Release: 1 |
6 | License: BSD or GPL v2 | |
7 | Group: Networking/Utilities | |
8 | Source0: http://www.openfabrics.org/downloads/infinipath-psm/%{name}-%{version}.tar.gz | |
8eb7d44b | 9 | # Source0-md5: 76b83f3d1c0ab12d02e9680e514f4b68 |
5125642a JB |
10 | Patch0: %{name}-union.patch |
11 | Patch1: %{name}-format.patch | |
12 | Patch2: %{name}-link.patch | |
6fe249c3 JB |
13 | URL: http://www.openfabrics.org/ |
14 | BuildRequires: libuuid-devel | |
15 | ExclusiveArch: %{ix86} %{x8664} | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %ifarch %{ix86} | |
19 | %define psmarch i386 | |
20 | %else | |
21 | %define psmarch x86_64 | |
22 | %endif | |
23 | ||
24 | %description | |
25 | The PSM Messaging API, or PSM API, is QLogic's low-level user-level | |
26 | communications interface for the Truescale family of products. PSM | |
27 | users are enabled with mechanisms necessary to implement higher level | |
28 | communications interfaces in parallel environments. | |
29 | ||
30 | %description -l pl.UTF-8 | |
31 | PSM Messaging API (lub PSM API) to niskopoziomowy interfejs | |
32 | komunikacyjny QLogic dla przestrzeni użytkownika dla produktów z | |
33 | rodziny Truescale. Ten pakiet dostarcza użytkownikom PSM mechanizmy | |
34 | potrzebne do zaimplementowania interfejsów komunikacyjnych wyższego | |
35 | poziomu w środowiskach równoległych. | |
36 | ||
37 | %package devel | |
38 | Summary: Header files for PSM API | |
39 | Summary(pl.UTF-8): Pliki nagłówkowe PSM API | |
40 | Group: Development/Libraries | |
41 | Requires: %{name} = %{version}-%{release} | |
42 | ||
43 | %description devel | |
44 | Header files for PSM API. | |
45 | ||
46 | %description devel -l pl.UTF-8 | |
47 | Pliki nagłówkowe PSM API. | |
48 | ||
49 | %prep | |
50 | %setup -q | |
5125642a JB |
51 | %patch0 -p1 |
52 | %patch1 -p1 | |
53 | %patch2 -p1 | |
6fe249c3 JB |
54 | |
55 | %build | |
56 | %{__make} \ | |
57 | CC="%{__cc}" \ | |
58 | BASECFLAGS="%{rpmcflags} -fPIC -funwind-tables -D_GNU_SOURCE -DPSM_USE_SYS_UUID" \ | |
59 | arch=%{psmarch} | |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %{__make} install \ | |
65 | DESTDIR=$RPM_BUILD_ROOT \ | |
66 | arch=%{psmarch} | |
67 | ||
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %post -p /sbin/ldconfig | |
72 | %postun -p /sbin/ldconfig | |
73 | ||
74 | %files | |
75 | %defattr(644,root,root,755) | |
76 | %doc COPYING README | |
77 | %attr(755,root,root) %{_libdir}/libpsm_infinipath.so.*.* | |
78 | %attr(755,root,root) %ghost %{_libdir}/libpsm_infinipath.so.1 | |
79 | %attr(755,root,root) %{_libdir}/libinfinipath.so.*.* | |
80 | %attr(755,root,root) %ghost %{_libdir}/libinfinipath.so.4 | |
81 | ||
82 | %files devel | |
83 | %defattr(644,root,root,755) | |
84 | %attr(755,root,root) %{_libdir}/libpsm_infinipath.so | |
85 | %attr(755,root,root) %{_libdir}/libinfinipath.so | |
86 | %{_includedir}/psm.h | |
87 | %{_includedir}/psm_mq.h |