68 lines
1.7 KiB
RPMSpec
68 lines
1.7 KiB
RPMSpec
Name: sdparm
|
|
Version: 1.12
|
|
Release: 2
|
|
Summary: Access and change parameters on device that supports SCSI protocol.
|
|
License: BSD
|
|
URL: http://sg.danny.cz/sg/sdparm.html
|
|
Source0: http://sg.danny.cz/sg/p/sdparm-%{version}.tgz
|
|
BuildRequires: gcc
|
|
BuildRequires: sg3_utils-devel
|
|
|
|
%description
|
|
This utility fetches and potentially changes SCSI
|
|
device mode pages. Inquiry data including Vital
|
|
Product Data (VPD) pages can also be displayed.
|
|
Commands associated with starting and stopping the medium;
|
|
loading and unloading the medium;
|
|
and other housekeeping function may also be issued by this utility.
|
|
|
|
%package help
|
|
Summary: Including man files for sdparm
|
|
Requires: man
|
|
|
|
%description help
|
|
This contains man files for the using of sdparm.
|
|
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
%configure --disable-libsgutils
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%doc ChangeLog README CREDITS AUTHORS notes.txt
|
|
%license COPYING
|
|
%{_bindir}/%{name}
|
|
%{_bindir}/sas_disk_blink
|
|
%{_bindir}/scsi_ch_swp
|
|
|
|
%files help
|
|
%{_mandir}/man8/%{name}*
|
|
%{_mandir}/man8/sas_disk_blink*
|
|
%{_mandir}/man8/scsi_ch_swp*
|
|
|
|
|
|
%changelog
|
|
* Wed Oct 19 2022 Kunlin Yang <yangkunlin7@huawei.com> - 1.12-2
|
|
- rebuild the version to 1.12-2
|
|
|
|
* Tue Nov 23 2021 yanglongkang <yanglongkang@huawei.com> - 1.12-1
|
|
- update to 1.12
|
|
|
|
* Fri Jul 23 2021 zhouwenpei <zhouwenpei1@huawei.com> - 1.11-2
|
|
- remove unnecessary build require.
|
|
|
|
* Thu Jul 16 2020 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 1.11-1
|
|
- udpate to v1.11 version
|
|
|
|
* Wed Jan 22 2020 hy <eulerstoragemt@huawei.com> - 1.10-9
|
|
- Delete the -S git while executing %autosetup in %pre and add the BuildRequires to gdb
|
|
|
|
* Tue Aug 28 2018 zhangsaisai <zhangsaisai@huawei.com> - 1.10-8
|
|
- Package init
|