commit 263f8a7f6cc4fe516c3c43edb21b540787bff6cb Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:16:45 2019 -0400 Package init diff --git a/sdparm-1.10.tgz b/sdparm-1.10.tgz new file mode 100644 index 0000000..ead54ab Binary files /dev/null and b/sdparm-1.10.tgz differ diff --git a/sdparm.spec b/sdparm.spec new file mode 100644 index 0000000..4af3db8 --- /dev/null +++ b/sdparm.spec @@ -0,0 +1,52 @@ +Name: sdparm +Version: 1.10 +Release: 8 +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 -S git + +%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 Aug 28 2018 zhangsaisai - 1.10-8 +- Package init