]>
Commit | Line | Data |
---|---|---|
ef40b99a | 1 | Summary: A variant of the standard Unix command dd |
2 | Summary(pl.UTF-8): Alternatywna implementacja standardowej uniksowej komendy dd | |
3 | Name: ddpt | |
4 | Version: 0.91 | |
5 | Release: 1 | |
6 | License: BSD-like | |
7 | Group: Applications | |
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) | |
15 | ||
16 | %description | |
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 | |
21 | interface. | |
22 | ||
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. | |
31 | ||
32 | The ddpt utility is a more generic version of the Linux specific sg_dd | |
33 | utility found in the sg3_utils package. | |
34 | ||
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. | |
41 | ||
42 | %prep | |
43 | %setup -q | |
44 | ||
45 | %build | |
46 | %{__libtoolize} | |
47 | %{__aclocal} | |
48 | %{__autoconf} | |
49 | %{__autoheader} | |
50 | %{__automake} | |
51 | %configure | |
52 | %{__make} | |
53 | ||
54 | %install | |
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} | |
60 | %endif | |
61 | #install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
62 | ||
63 | %{__make} install \ | |
64 | DESTDIR=$RPM_BUILD_ROOT | |
65 | ||
66 | %clean | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %files | |
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* |