sg3_utils/sg3_utils.spec

124 lines
5.0 KiB
RPMSpec

Name: sg3_utils
Version: 1.38
Release: 1mamba
Summary: Utilities for devices that use SCSI command sets
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
URL: http://sg.danny.cz/sg/sg3_utils.html
Source: http://sg.danny.cz/sg/p/sg3_utils-%{version}.tgz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Collection of Linux utilities for devices that use the SCSI command set.
Includes utilities to copy data based on "dd" syntax and semantics (called sg_dd, sgp_dd and sgm_dd); check INQUIRY data and VPD pages (sg_inq); check mode and log pages (sginfo, sg_modes and sg_logs); spin up and down disks (sg_start); do self tests (sg_senddiag); and various other functions.
See the README, ChangeLog and COVERAGE files. Requires the linux kernel 2.4 series or later. In the 2.4 series SCSI generic device names (e.g. /dev/sg0) must be used. In the 2.6 series other device names may be used as well (e.g. /dev/sda).
Warning: Some of these tools access the internals of your system and the incorrect usage of them may render your system inoperable.
%package -n lib%{name}
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}
Collection of Linux utilities for devices that use the SCSI command set.
Includes utilities to copy data based on "dd" syntax and semantics (called sg_dd, sgp_dd and sgm_dd); check INQUIRY data and VPD pages (sg_inq); check mode and log pages (sginfo, sg_modes and sg_logs); spin up and down disks (sg_start); do self tests (sg_senddiag); and various other functions.
See the README, ChangeLog and COVERAGE files. Requires the linux kernel 2.4 series or later. In the 2.4 series SCSI generic device names (e.g. /dev/sg0) must be used. In the 2.6 series other device names may be used as well (e.g. /dev/sda).
Warning: Some of these tools access the internals of your system and the incorrect usage of them may render your system inoperable.
This package contains the shared library for %{name}.
%package -n lib%{name}-devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
Collection of Linux utilities for devices that use the SCSI command set.
Includes utilities to copy data based on "dd" syntax and semantics (called sg_dd, sgp_dd and sgm_dd); check INQUIRY data and VPD pages (sg_inq); check mode and log pages (sginfo, sg_modes and sg_logs); spin up and down disks (sg_start); do self tests (sg_senddiag); and various other functions.
See the README, ChangeLog and COVERAGE files. Requires the linux kernel 2.4 series or later. In the 2.4 series SCSI generic device names (e.g. /dev/sg0) must be used. In the 2.6 series other device names may be used as well (e.g. /dev/sda).
Warning: Some of these tools access the internals of your system and the incorrect usage of them may render your system inoperable.
This package contains static libraries and header files need for development.
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/sg_*
%{_bindir}/sginfo
%{_bindir}/sgm_dd
%{_bindir}/sgp_dd
%{_bindir}/scsi_*
%{_mandir}/man8/*.8.gz
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libsgutils2.so.*
%doc AUTHORS COPYING CREDITS
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/scsi
%{_includedir}/scsi/*.h
%{_libdir}/libsgutils2.a
%{_libdir}/libsgutils2.la
%{_libdir}/libsgutils2.so
%doc ChangeLog NEWS README README.sg_start
%changelog
* Tue Apr 08 2014 Automatic Build System <autodist@mambasoft.it> 1.38-1mamba
- automatic version update by autodist
* Wed Feb 05 2014 Automatic Build System <autodist@mambasoft.it> 1.37-1mamba
- automatic version update by autodist
* Mon Mar 25 2013 Automatic Build System <autodist@mambasoft.it> 1.36b2r491-1mamba
- automatic version update by autodist
* Thu Jan 10 2013 Automatic Build System <autodist@mambasoft.it> 1.35b1r474-1mamba
- automatic version update by autodist
* Thu Aug 09 2012 Automatic Build System <autodist@mambasoft.it> 1.34b2r441-1mamba
- automatic version update by autodist
* Sat Feb 18 2012 Automatic Build System <autodist@mambasoft.it> 1.34b2r439-1mamba
- automatic version update by autodist
* Fri Feb 25 2011 Automatic Build System <autodist@mambasoft.it> 1.31r386-1mamba
- automatic update by autodist
* Sat Feb 12 2011 Automatic Build System <autodist@mambasoft.it> 1.31r383-1mamba
- automatic update by autodist
* Wed Jul 15 2009 Automatic Build System <autodist@mambasoft.it> 1.28-1mamba
- automatic update by autodist
* Mon Oct 27 2008 gil <puntogil@libero.it> 1.26-1mamba
- package created by autospec