1 Summary: Utilities for SAS Management Protocol (SMP)
2 Summary(pl.UTF-8): Narzędzia do protokołu SAS Management Protocol (SMP)
7 Group: Applications/System
8 Source0: http://sg.danny.cz/sg/p/%{name}-%{version}.tar.xz
9 # Source0-md5: 545544db04203b9f71f0ecb401e8a30c
10 URL: http://sg.danny.cz/sg/smp_utils.html
11 BuildRequires: tar >= 1:1.22
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 This is a package of utilities. Each utility sends a Serial Attached
17 SCSI (SAS) Management Protocol (SMP) request to a SMP target. If the
18 request fails then the error is decoded. If the request succeeds then
19 the response is either decoded, printed out in hexadecimal or output
20 in binary. This package supports multiple interfaces since SMP
21 passthroughs are not mature. This package supports the Linux 2.4 and
22 2.6 series and should be easy to port to other operating systems.
24 Warning: Some of these tools access the internals of your system and
25 the incorrect usage of them may render your system inoperable.
27 %description -l pl.UTF-8
28 Ten pakiet zawiera narzędzia, z których każde wysyła żądanie Serial
29 Attached SCSI (SAS) Management Protocol (SMP) do urządzenia SMP. Jeśli
30 żądanie nie powiedzie się, błąd jest dekodowany. Jeśli żądanie
31 powiedzie się, odpowiedź jest dekodowana i wypisywana w postaci
32 szesnastkowej lub wyprowadzana binarnie. Ten pakiet obsługuje wiele
33 interfejsów, jako że przekazywanie SMP nie jest jeszcze dojrzałe. Ten
34 pakiet obsługuje Linuksa zarówno z serii 2.4 jak i 2.6 i powinien być
35 łatwy do sportowania na inne systemy operacyjne.
37 Uwaga: niektóre z narzędzi operują na wnętrznościach systemu i ich
38 nieprawidłowe użycie może spowodować niezdatność systemu do dalszej
42 Summary: Header file for SMP Utils library
43 Summary(pl.UTF-8): Plik nagłówkowy biblioteki SMP Utils
44 Group: Development/Libraries
45 Requires: %{name} = %{version}-%{release}
48 Header file for SMP Utils library.
50 %description devel -l pl.UTF-8
51 Plik nagłówkowy biblioteki SMP Utils.
54 Summary: Static SMP Utils library
55 Summary(pl.UTF-8): Statyczna biblioteka SMP Utils
56 Group: Development/Libraries
57 Requires: %{name} = %{version}-%{release}
60 Static SMP Utils library.
62 %description static -l pl.UTF-8
63 Statyczna biblioteka SMP Utils.
73 rm -rf $RPM_BUILD_ROOT
76 DESTDIR=$RPM_BUILD_ROOT
79 rm -rf $RPM_BUILD_ROOT
81 %post -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
85 %defattr(644,root,root,755)
86 %doc AUTHORS COPYING COVERAGE CREDITS ChangeLog README
87 %attr(755,root,root) %{_bindir}/smp_*
88 %attr(755,root,root) %{_libdir}/libsmputils1.so.*.*.*
89 %attr(755,root,root) %ghost %{_libdir}/libsmputils1.so.1
90 %{_mandir}/man8/smp_*.8*
93 %defattr(644,root,root,755)
94 %attr(755,root,root) %ghost %{_libdir}/libsmputils1.so
95 %{_libdir}/libsmputils1.la
96 %{_includedir}/scsi/smp_lib.h
99 %defattr(644,root,root,755)
100 %{_libdir}/libsmputils1.a