source: projects/specs/branches/6/s/smp_utils/smp_utils-vl.spec @ 1767

Revision 1767, 2.6 KB checked in by inagaki, 14 years ago (diff)

update: evilwm, smp_utils

Line 
1%define name    smp_utils
2%define version 0.94
3%define release 1
4
5Summary:        Utilities for SAS management protocol (SMP)
6Name:           %{name}
7Version:        %{version}
8Release:        2%{?_dist_release}
9
10License:        FreeBSD
11Group:          Applications/System
12URL:            http://sg.danny.cz/sg/smp_utils.html
13
14Source0:        http://sg.danny.cz/sg/p/%{name}-%{version}.tgz
15
16# Patch for Vine Linux
17# remove install option (-o root, -g root)
18Patch0:         smp_utils-0.94-Makefile-vine.patch
19
20BuildRoot:      %{_tmppath}/%{name}-%{version}-root
21Packager:       Douglas Gilbert <dgilbert at interlog dot com>
22
23%description
24This is a package of utilities. Each utility sends a Serial Attached
25SCSI (SAS) Management Protocol (SMP) request to a SMP target.
26If the request fails then the error is decoded. If the request succeeds
27then the response is either decoded, printed out in hexadecimal or
28output in binary. This package supports multiple interfaces since
29SMP passthroughs are not mature. This package supports the linux
302.4 and 2.6 series and should be easy to port to other operating
31systems.
32
33Warning: Some of these tools access the internals of your system
34and the incorrect usage of them may render your system inoperable.
35
36%prep
37
38%setup -q
39%patch0 -p1 -b .vine
40
41%build
42
43make \
44     CFLAGS="%{optflags} -DSMP_UTILS_LINUX"
45
46%install
47[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
48
49make install \
50        PREFIX=%{_prefix} \
51        INSTDIR=%{buildroot}/%{_bindir} \
52        MANDIR=%{buildroot}/%{_mandir} \
53        INCLUDEDIR=%{buildroot}/%{_includedir}
54
55%clean
56[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
57
58%files
59%defattr(-,root,root)
60%doc ChangeLog COPYING COVERAGE CREDITS INSTALL README
61%attr(0755,root,root) %{_bindir}/*
62%{_mandir}/man8/*
63
64%changelog
65* Sat Sep 04 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.94-2
66- changed Group to Applications/System
67
68* Wed Apr 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.94-1
69- Initial build for Vine Linux
70- add Patch0 (smp_utils-0.94-Makefile-vine.patch)
71
72* Mon Dec 29 2008 - dgilbert at interlog dot com
73- adjust sgv4 for lk 2.6.27, sync with sas2r15
74  * smp_utils-0.94
75* Sun Jan 06 2008 - dgilbert at interlog dot com
76- sync with sas2r13, add 'sgv4' interface
77  * smp_utils-0.93
78* Fri Dec 08 2006 - dgilbert at interlog dot com
79- sync against sas2r07, add smp_conf_general
80  * smp_utils-0.92
81* Tue Aug 22 2006 - dgilbert at interlog dot com
82- add smp_phy_test and smp_discover_list, uniform exit status values
83  * smp_utils-0.91
84* Sun Jun 11 2006 - dgilbert at interlog dot com
85- add smp_read_gpio, smp_conf_route_info and smp_write_gpio
86  * smp_utils-0.90
Note: See TracBrowser for help on using the repository browser.