]> git.pld-linux.org Git - packages/ddpt.git/blob - ddpt.spec
- updated to 0.95
[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.95
5 Release:        1
6 License:        BSD
7 Group:          Applications/System
8 Source0:        http://sg.danny.cz/sg/p/%{name}-%{version}.tar.xz
9 # Source0-md5:  926678b193633f27cb1143ceb871d397
10 URL:            http://sg.danny.cz/sg/ddpt.html
11 BuildRequires:  autoconf >= 2.50
12 BuildRequires:  automake
13 BuildRequires:  sg3_utils-devel >= 1.38
14 BuildRequires:  tar >= 1:1.22
15 BuildRequires:  xz
16 Requires:       sg3_utils >= 1.38
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 The ddpt utility is a variant of the standard Unix command dd which
21 copies files. The ddpt utility specializes in files that are block
22 devices. For block devices that understand the SCSI command set, finer
23 grain control over the copy may be available via a SCSI pass-through
24 interface.
25
26 The types of block devices that are supported are disks (known as
27 direct access devices in SCSI) and cd/dvd/bd devices. Tape drives are
28 not supported. It is becoming more common for ATA disks (especially
29 SATA) to be accessed by an operating system using SCSI commands. ATA
30 disks are not always directly connected and transports such as USB,
31 IEEE1394 (FireWire) and iSCSI use SCSI commands. Protocol translation
32 from SCSI to ATA (SAT standard) has been around for several years and
33 many implementations are now reliable.
34
35 The ddpt utility is a more generic version of the Linux specific sg_dd
36 utility found in the sg3_utils package.
37
38 %description -l pl.UTF-8
39 ddpt jest implementacją standardowej komendy Uniksa dd, służącej do
40 kopiowania plików. ddpt zostało napisane szczególnie z myślą o
41 plikach będących urządzeniami blokowymi. Dla urządzeń blokowych, które
42 rozumieją zestaw komend SCSI, jest dostępna bardziej szczegółowa
43 kontrola nad procesem kopiowania poprzez interface SCSI pass-through.
44
45 Obsługiwane urządzenia blokowe to dyski (znane jako urządzenia SCSI
46 o bezpośrednim dostępnie) oraz urządzenia cd/dvd/bd. Napędy taśmowe
47 nie są obsługiwane. Coraz bardziej popularny jest dostęp poprzez
48 polecenia SCSI do dysków ATA (zwłaszcza SATA). Dyski ATA nie zawsze są
49 podłączone bezpośrednio, a transporty takie jak USB, IEEE1394
50 (FireWire) oraz iSCSI używają poleceń SCSI. Tłumaczenie protokołu z
51 SCSI na ATA (standard SAT) istnieje od kilku lat i dostępne jest wiele
52 implementacji.
53
54 Narzędzie ddpt jest bardziej ogólną wersją specyficznego dla Linuksa
55 narzędzia sg_dd, które można znaleźć w pakiecie sg3_utils.
56
57 %prep
58 %setup -q
59
60 %build
61 %{__aclocal}
62 %{__autoconf}
63 %{__autoheader}
64 %{__automake}
65 %configure
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files
78 %defattr(644,root,root,755)
79 %doc AUTHORS COPYING CREDITS ChangeLog README TODO
80 %attr(755,root,root) %{_bindir}/ddpt
81 %attr(755,root,root) %{_bindir}/ddptctl
82 %{_mandir}/man8/ddpt.8*
83 %{_mandir}/man8/ddptctl.8*
This page took 0.056155 seconds and 3 git commands to generate.