sg3_utils/sg3_utils.spec

137 lines
4.1 KiB
RPMSpec
Raw Permalink Normal View History

Name: sg3_utils
Version: 1.44
Release: 2mamba
Summary: Utilities for devices that use SCSI command sets
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sg.danny.cz/sg/sg3_utils.html
Source: http://sg.danny.cz/sg/p/sg3_utils-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%description
Collection of Linux utilities for devices that use the SCSI command set.
%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.
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.
This package contains static libraries and header files needed for development.
%debug_package
%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}/rescan-scsi-bus.sh
%{_bindir}/sg_*
%{_bindir}/sginfo
%{_bindir}/sgm_dd
%{_bindir}/sgp_dd
%{_bindir}/scsi_*
%{_mandir}/man8/*.8*
%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
* Sat Feb 19 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.44-2mamba
- rebuilt with debug package
* Mon Oct 15 2018 Automatic Build System <autodist@mambasoft.it> 1.44-1mamba
- automatic version update by autodist
* Sun Oct 22 2017 Automatic Build System <autodist@mambasoft.it> 1.43b1r691-1mamba
- automatic update by autodist
* Mon Feb 01 2016 Automatic Build System <autodist@mambasoft.it> 1.42b4r655-1mamba
- automatic update by autodist
* Fri May 22 2015 Automatic Build System <autodist@mambasoft.it> 1.41b4r644-1mamba
- automatic update by autodist
* Thu May 07 2015 Automatic Build System <autodist@mambasoft.it> 1.41b3r641-1mamba
- automatic update by autodist
* Tue Feb 17 2015 Automatic Build System <autodist@mambasoft.it> 1.41b2r631-1mamba
- automatic update by autodist
* Thu Oct 16 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.40r615-1mamba
- update to 1.40r615
* Sun Jun 08 2014 Automatic Build System <autodist@mambasoft.it> 1.39b4r587-1mamba
- automatic update by autodist
* 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