%description static -l pl.UTF-8
Statyczna wersja biblioteki sgutils2.
+%package udev
+Summary: Udev rules for sg3_utils
+Summary(pl.UTF-8): Reguły udev dla sg3_utils
+License: BSD
+Group: Applications/System
+Requires: %{name} = %{version}-%{release}
+
+%description udev
+Udev rules for sg3_utils.
+
+%description udev -l pl.UTF-8
+Reguły udev dla sg3_utils
+
%prep
%setup -q
%patch0 -p1
%attr(755,root,root) %{_bindir}/sgp_dd
%attr(755,root,root) %{_libdir}/libsgutils2.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libsgutils2.so.2
-/lib/udev/rules.d/55-scsi-sg3_id.rules
-/lib/udev/rules.d/58-scsi-sg3_symlink.rules
%{_mandir}/man8/rescan-scsi-bus.sh.8*
%{_mandir}/man8/scsi_*.8*
%{_mandir}/man8/sg3_utils.8*
%files static
%defattr(644,root,root,755)
%{_libdir}/libsgutils2.a
+
+%files udev
+%defattr(644,root,root,755)
+/lib/udev/rules.d/55-scsi-sg3_id.rules
+/lib/udev/rules.d/58-scsi-sg3_symlink.rules