]> git.pld-linux.org Git - packages/smp_utils.git/blob - smp_utils.spec
c079634118d520157de30bdc5d96381e6c963afe
[packages/smp_utils.git] / smp_utils.spec
1 Summary:        Utilities for SAS Management Protocol (SMP)
2 Summary(pl.UTF-8):      Narzędzia do protokołu SAS Management Protocol (SMP)
3 Name:           smp_utils
4 Version:        0.98
5 Release:        1
6 License:        BSD
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
12 BuildRequires:  xz
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
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.
23
24 Warning: Some of these tools access the internals of your system and
25 the incorrect usage of them may render your system inoperable.
26
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.
36
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
39 pracy.
40
41 %package devel
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}
46
47 %description devel
48 Header file for SMP Utils library.
49
50 %description devel -l pl.UTF-8
51 Plik nagłówkowy biblioteki SMP Utils.
52
53 %package static
54 Summary:        Static SMP Utils library
55 Summary(pl.UTF-8):      Statyczna biblioteka SMP Utils
56 Group:          Development/Libraries
57 Requires:       %{name} = %{version}-%{release}
58
59 %description static
60 Static SMP Utils library.
61
62 %description static -l pl.UTF-8
63 Statyczna biblioteka SMP Utils.
64
65 %prep
66 %setup -q
67
68 %build
69 %configure
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post   -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
83
84 %files
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*
91
92 %files devel
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
97
98 %files static
99 %defattr(644,root,root,755)
100 %{_libdir}/libsmputils1.a
This page took 0.045017 seconds and 2 git commands to generate.