代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/smp_utils 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: smp_utils
Version: 0.99
Release: 4
Summary: Utilities for SAS management protocol (SMP)
License: BSD
URL: http://sg.danny.cz/sg/smp_utils.html
Source0: http://sg.danny.cz/sg/p/%{name}-%{version}.tgz
BuildRequires: gcc
Provides: %{name}-libs %{name}-libs%{?_isa}
Obsoletes: %{name}-libs
%description
The smp_utils package contains utilities for the Serial Attached
SCSI (SAS) Serial Management Protocol (SMP). Most utilities correspond
to a single SMP function, sending out a request, checking for errors
and if all is well processing the response. The response is either
decoded, printed out in ASCII hexadecimal or sent as binary to stdout.
This package supports the linux 2.4 and 2.6 series and should be
easy to port to other operating systems.
Warning: These utilities access SAS expanders (storage switches) and
the incorrect usage of them may render your system and others inoperable.
%package devel
Summary: Static library and header files for the smputils library
Requires: %{name} = %{version}-%{release}
%description devel
The smp_utils-devel package contains the %{name} library and its header files for
developing applications.
%package help
Summary: Help info for %{name}
Requires: man
Buildarch: noarch
%description help
This package contains the help info for %{name}.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure --disable-static
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?smp_mflags} CFLAGS="%{optflags} -DSMP_UTILS_LINUX"
%install
make install \
PREFIX=%{_prefix} \
DESTDIR=%{buildroot}
%files
%doc ChangeLog COVERAGE CREDITS README
%license COPYING
%{_bindir}/*
%{_libdir}/*.so.*
%exclude %{_libdir}/*.la
%files devel
%{_includedir}/scsi/*.h
%{_libdir}/*.so
%files help
%{_mandir}/man8/*
%changelog
* Tue Aug 20 2024 Jiuwang He <hejiuwang@cqsoftware.com.cn> - 0.99-4
- Add Buildarch: noarch' to the help subpackage
* Wed Oct 19 2022 Kunlin Yang <yangkunlin7@huawei.com> - 0.99-3
- rebuild the version to 0.99-3
* Sat Jul 31 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.99-2
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Thu Jul 16 2020 Zhiqiang Liu <liuzhiqiang26@huawei.com> -0.99-1
- update to v0.99 version
* Tue Jun 30 2020 volcanodragon <linfeilong@huawei.com> -0.98-15
- rename patches
* Fri Aug 30 2019 mingfangsen <mingfangsen@huawei.com> -0.98-13.2
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。