Group :: System/Kernel and hardware
RPM: sg3_utils
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Summary: Utilities for devices that use SCSI command sets
Name: sg3_utils
Version: 1.23
Release: alt2
License: GPL
Group: System/Kernel and hardware
Source: %name-%version-%release.tar
Url: http://www.torque.net/sg/sg3_utils.html
Provides: sg_utils
%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 libsgutils
Summary: Shared library for %name
Group: System/Libraries
%description -n libsgutils
This package contains the shared library for %name.
%package -n libsgutils-devel
Summary: Static library and header files for the sgutils library
Group: Development/C
Requires: libsgutils = %version-%release
%description -n libsgutils-devel
This package contains the static %name library and its header files for
developing applications.
%prep
%setup -q -n %name-%version-%release
%build
make
%install
make install PREFIX=%buildroot/%_prefix LIBDIR=%buildroot/%_libdir
%files
%doc CHANGELOG COVERAGE CREDITS INSTALL README README.sg_start
%attr(755,root,root) %_bindir/*
%_mandir/man8/*
%files -n libsgutils
%_libdir/*.so.*
%files -n libsgutils-devel
%_includedir/scsi/*.h
%_libdir/*.so
%_libdir/*.a
%changelog
…
Full changelog you can see here
Name: sg3_utils
Version: 1.23
Release: alt2
License: GPL
Group: System/Kernel and hardware
Source: %name-%version-%release.tar
Url: http://www.torque.net/sg/sg3_utils.html
Provides: sg_utils
%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 libsgutils
Summary: Shared library for %name
Group: System/Libraries
%description -n libsgutils
This package contains the shared library for %name.
%package -n libsgutils-devel
Summary: Static library and header files for the sgutils library
Group: Development/C
Requires: libsgutils = %version-%release
%description -n libsgutils-devel
This package contains the static %name library and its header files for
developing applications.
%prep
%setup -q -n %name-%version-%release
%build
make
%install
make install PREFIX=%buildroot/%_prefix LIBDIR=%buildroot/%_libdir
%files
%doc CHANGELOG COVERAGE CREDITS INSTALL README README.sg_start
%attr(755,root,root) %_bindir/*
%_mandir/man8/*
%files -n libsgutils
%_libdir/*.so.*
%files -n libsgutils-devel
%_includedir/scsi/*.h
%_libdir/*.so
%_libdir/*.a
%changelog
…
Full changelog you can see here