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