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