]> git.pld-linux.org Git - packages/ddpt.git/blob - ddpt.spec
- updated to 0.92
[packages/ddpt.git] / ddpt.spec
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.92
5 Release:        1
6 License:        BSD
7 Group:          Applications/System
8 Source0:        http://sg.danny.cz/sg/p/%{name}-%{version}.tar.bz2
9 # Source0-md5:  4224a31bd3e6903d3371ebe7fdd46938
10 URL:            http://sg.danny.cz/sg/ddpt.html
11 BuildRequires:  autoconf >= 2.50
12 BuildRequires:  automake
13 BuildRequires:  sg3_utils-devel >= 1.26
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 będących 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-through.
41
42 Obsługiwane urządzenia blokowe to dyski (znane jako urządzenia SCSI
43 o bezpośrednim dostępnie) oraz urządzenia cd/dvd/bd. Napędy taśmowe
44 nie są obsługiwane. Coraz bardziej popularny jest dostęp poprzez
45 polecenia SCSI do dysków ATA (zwłaszcza SATA). Dyski ATA nie zawsze są
46 podłączone bezpośrednio, a transporty takie jak USB, IEEE1394
47 (FireWire) oraz iSCSI używają poleceń SCSI. Tłumaczenie protokołu z
48 SCSI na ATA (standard SAT) istnieje od kilku lat i dostępne jest wiele
49 implementacji.
50
51 Narzędzie ddpt jest bardziej ogólną wersją specyficznego dla Linuksa
52 narzędzia sg_dd, które można znaleźć w pakiecie sg3_utils.
53
54 %prep
55 %setup -q
56
57 %build
58 %{__aclocal}
59 %{__autoconf}
60 %{__autoheader}
61 %{__automake}
62 %configure
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
75 %defattr(644,root,root,755)
76 %doc AUTHORS COPYING CREDITS ChangeLog README TODO
77 %attr(755,root,root) %{_bindir}/ddpt
78 %{_mandir}/man8/ddpt.8*
This page took 0.050136 seconds and 3 git commands to generate.