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

Revision 12364, 3.2 KB checked in by tomop, 4 years ago (diff)

updated 13 packages

acpid-2.0.32-1

at-3.1.23-1

autofs-5.1.6-1

dracut-050-3

fcgi-2.4.2-1

fcgiwrap-1.1.0.git20200404-2

firefox-68.6.1-1

initscripts-8.91.16-3

iptables-1.8.4-2

lxc-4.0.0-1

libnftnl-1.1.6-1

smp_utils-0.99-1

util-linux-2.35.1-1

Line 
1Summary:        Utilities for SAS management protocol (SMP)
2Name:           smp_utils
3Version:        0.99
4Release:        1%{?_dist_release}
5Group:          Applications/System
6Vendor:         Project Vine
7Distribution:   Vine Linux
8BuildRoot:      %{_tmppath}/%{name}-%{version}-root
9
10License:        BSD
11URL:            http://sg.danny.cz/sg/smp_utils.html
12Source0:        http://sg.danny.cz/sg/p/%{name}-%{version}.tgz
13
14Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
15
16
17%description
18This is a package of utilities. Each utility sends a Serial Attached
19SCSI (SAS) Management Protocol (SMP) request to a SMP target.
20If the request fails then the error is decoded. If the request succeeds
21then the response is either decoded, printed out in hexadecimal or
22output in binary. This package supports multiple interfaces since
23SMP passthroughs are not mature. This package supports the linux
242.4 and 2.6 series and should be easy to port to other operating
25systems.
26
27Warning: Some of these tools access the internals of your system
28and the incorrect usage of them may render your system inoperable.
29
30
31%package libs
32Summary: Shared library for %{name}
33
34%description libs
35This package contains the shared library for %{name}.
36
37
38%package devel
39Summary: Development library and header files for the smp_utils library
40Requires: %{name}-libs%{?_isa} = %{version}-%{release}
41
42%description devel
43This package contains the %{name} library and its header files for
44developing applications.
45
46
47%prep
48%setup -q
49
50
51%build
52%configure --disable-static
53
54sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
55sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
56
57make %{?smp_mflags} CFLAGS="%{optflags} -DSMP_UTILS_LINUX"
58
59
60%install
61[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
62
63make install \
64        PREFIX=%{_prefix} \
65        DESTDIR=%{buildroot}
66rm -f %{buildroot}%{_libdir}/*.la
67
68
69%clean
70[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
71
72
73%files
74%defattr(-,root,root)
75%license COPYING
76%doc ChangeLog COVERAGE CREDITS INSTALL README
77%attr(0755,root,root) %{_bindir}/*
78%{_mandir}/man8/*
79
80%files libs
81%doc COPYING
82%{_libdir}/*.so.*
83
84%files devel
85%{_includedir}/scsi/*.h
86%{_libdir}/*.so
87
88
89%changelog
90* Sat Apr 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.99-1
91- new upstream release.
92
93* Sat Dec 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.94-3
94- rebuild with VineSeed environment
95
96* Sat Sep 04 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.94-2
97- changed Group to Applications/System
98
99* Wed Apr 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.94-1
100- Initial build for Vine Linux
101- add Patch0 (smp_utils-0.94-Makefile-vine.patch)
102
103* Mon Dec 29 2008 - dgilbert at interlog dot com
104- adjust sgv4 for lk 2.6.27, sync with sas2r15
105  * smp_utils-0.94
106* Sun Jan 06 2008 - dgilbert at interlog dot com
107- sync with sas2r13, add 'sgv4' interface
108  * smp_utils-0.93
109* Fri Dec 08 2006 - dgilbert at interlog dot com
110- sync against sas2r07, add smp_conf_general
111  * smp_utils-0.92
112* Tue Aug 22 2006 - dgilbert at interlog dot com
113- add smp_phy_test and smp_discover_list, uniform exit status values
114  * smp_utils-0.91
115* Sun Jun 11 2006 - dgilbert at interlog dot com
116- add smp_read_gpio, smp_conf_route_info and smp_write_gpio
117  * smp_utils-0.90
Note: See TracBrowser for help on using the repository browser.