source: projects/specs/trunk/s/smp_utils/smp_utils-vl.spec @ 8067

Revision 8067, 2.7 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

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:        3%{?_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
23Vendor: Project Vine
24Distribution: Vine Linux
25
26%description
27This is a package of utilities. Each utility sends a Serial Attached
28SCSI (SAS) Management Protocol (SMP) request to a SMP target.
29If the request fails then the error is decoded. If the request succeeds
30then the response is either decoded, printed out in hexadecimal or
31output in binary. This package supports multiple interfaces since
32SMP passthroughs are not mature. This package supports the linux
332.4 and 2.6 series and should be easy to port to other operating
34systems.
35
36Warning: Some of these tools access the internals of your system
37and the incorrect usage of them may render your system inoperable.
38
39%prep
40
41%setup -q
42%patch0 -p1 -b .vine
43
44%build
45
46make \
47     CFLAGS="%{optflags} -DSMP_UTILS_LINUX"
48
49%install
50[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
51
52make install \
53        PREFIX=%{_prefix} \
54        INSTDIR=%{buildroot}/%{_bindir} \
55        MANDIR=%{buildroot}/%{_mandir} \
56        INCLUDEDIR=%{buildroot}/%{_includedir}
57
58%clean
59[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
60
61%files
62%defattr(-,root,root)
63%doc ChangeLog COPYING COVERAGE CREDITS INSTALL README
64%attr(0755,root,root) %{_bindir}/*
65%{_mandir}/man8/*
66
67%changelog
68* Sat Dec 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.94-3
69- rebuild with VineSeed environment
70
71* Sat Sep 04 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.94-2
72- changed Group to Applications/System
73
74* Wed Apr 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.94-1
75- Initial build for Vine Linux
76- add Patch0 (smp_utils-0.94-Makefile-vine.patch)
77
78* Mon Dec 29 2008 - dgilbert at interlog dot com
79- adjust sgv4 for lk 2.6.27, sync with sas2r15
80  * smp_utils-0.94
81* Sun Jan 06 2008 - dgilbert at interlog dot com
82- sync with sas2r13, add 'sgv4' interface
83  * smp_utils-0.93
84* Fri Dec 08 2006 - dgilbert at interlog dot com
85- sync against sas2r07, add smp_conf_general
86  * smp_utils-0.92
87* Tue Aug 22 2006 - dgilbert at interlog dot com
88- add smp_phy_test and smp_discover_list, uniform exit status values
89  * smp_utils-0.91
90* Sun Jun 11 2006 - dgilbert at interlog dot com
91- add smp_read_gpio, smp_conf_route_info and smp_write_gpio
92  * smp_utils-0.90
Note: See TracBrowser for help on using the repository browser.