]> git.pld-linux.org Git - packages/smp_utils.git/blob - smp_utils.spec
- tabs in preamble
[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.92
5 Release:        1
6 License:        BSD
7 Group:          Applications/System
8 Source0:        http://sg.torque.net/sg/p/%{name}-%{version}.tgz
9 # Source0-md5:  431bd3413347b04868fca018c4bbdf17
10 Patch0:         %{name}-make.patch
11 URL:            http://sg.torque.net/sg/smp_utils.html
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 This is a package of utilities. Each utility sends a Serial Attached
16 SCSI (SAS) Management Protocol (SMP) request to a SMP target. If the
17 request fails then the error is decoded. If the request succeeds then
18 the response is either decoded, printed out in hexadecimal or output
19 in binary. This package supports multiple interfaces since SMP
20 passthroughs are not mature. This package supports the Linux 2.4 and
21 2.6 series and should be easy to port to other operating systems.
22
23 Warning: Some of these tools access the internals of your system and
24 the incorrect usage of them may render your system inoperable.
25
26 %description -l pl.UTF-8
27 Ten pakiet zawiera narzędzia, z których każde wysyła żądanie Serial
28 Attached SCSI (SAS) Management Protocol (SMP) do urządzenia SMP. Jeśli
29 żądanie nie powiedzie się, błąd jest dekodowany. Jeśli żądanie
30 powiedzie się, odpowiedź jest dekodowana i wypisywana w postaci
31 szesnastkowej lub wyprowadzana binarnie. Ten pakiet obsługuje wiele
32 interfejsów, jako że przekazywanie SMP nie jest jeszcze dojrzałe. Ten
33 pakiet obsługuje Linuksa zarówno z serii 2.4 jak i 2.6 i powinien być
34 łatwy do sportowania na inne systemy operacyjne.
35
36 Uwaga: niektóre z narzędzi operują na wnętrznościach systemu i ich
37 nieprawidłowe użycie może spowodować niezdatność systemu do dalszej
38 pracy.
39
40 %prep
41 %setup -q
42 %patch0 -p1
43
44 %build
45 %{__make} \
46         CC="%{__cc}" \
47         CFLAGS="%{rpmcflags} \$(EXTRA_FLAGS)" \
48         LDFLAGS="%{rpmldflags}"
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         PREFIX=%{_prefix} \
55         INSTDIR=$RPM_BUILD_ROOT%{_bindir} \
56         MANDIR=$RPM_BUILD_ROOT%{_mandir}
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc AUTHORS CHANGELOG COPYING README TODO
64 %attr(755,root,root) %{_bindir}/*
65 %{_mandir}/man8/*
This page took 0.100167 seconds and 3 git commands to generate.