1 Summary: A variant of the standard Unix command dd
2 Summary(pl.UTF-8): Alternatywna implementacja standardowej uniksowej komendy dd
8 Source0: http://sg.danny.cz/sg/p/%{name}-%{version}.tar.bz2
9 # Source0-md5: 4209bbae8eb170420b4bff690208ef19
10 URL: http://sg.danny.cz/sg/ddpt.html
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: libtool
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 The ddpt utility is a variant of the standard Unix command dd which
18 copies files. The ddpt utility specializes in files that are block
19 devices. For block devices that understand the SCSI command set, finer
20 grain control over the copy may be available via a SCSI pass-through
23 The types of block devices that are supported are disks (known as
24 direct access devices in SCSI) and cd/dvd/bd devices. Tape drives are
25 not supported. It is becoming more common for ATA disks (especially
26 SATA) to be accessed by an operating system using SCSI commands. ATA
27 disks are not always directly connected and transports such as USB,
28 IEEE1394 (FireWire) and iSCSI use SCSI commands. Protocol translation
29 from SCSI to ATA (SAT standard) has been around for several years and
30 many implementations are now reliable.
32 The ddpt utility is a more generic version of the Linux specific sg_dd
33 utility found in the sg3_utils package.
35 %description -l pl.UTF-8
36 ddpt jest implementacją standardowej komendy Uniksa dd, służącej do
37 kopiowania plików. ddpt zostało napisane szczególnie z myślą o
38 plikach, które są urządzeniami blokowymi. Dla urządzeń blokowych które
39 rozumieją zestaw komend SCSI, jest dostępna bardziej szczegółowa
40 kontrola nad procesem kopiowania poprzez interface SCSI pass-trhrough.
55 rm -rf $RPM_BUILD_ROOT
56 # create directories if necessary
57 #install -d $RPM_BUILD_ROOT
58 %if %{with initscript}
59 install -d $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d}
61 #install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
64 DESTDIR=$RPM_BUILD_ROOT
67 rm -rf $RPM_BUILD_ROOT
70 %defattr(644,root,root,755)
71 %doc AUTHORS CREDITS ChangeLog README TODO
72 %attr(755,root,root) %{_bindir}/ddpt
73 %{_mandir}/man8/ddpt.8*