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

Revision 805, 2.5 KB checked in by Takemikaduchi, 14 years ago (diff)

change spec file of gnome-2.30

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