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