]> git.pld-linux.org Git - packages/ddpt.git/blame - ddpt.spec
- initial PLD release
[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
6License: BSD-like
7Group: Applications
8Source0: http://sg.danny.cz/sg/p/%{name}-%{version}.tar.bz2
9# Source0-md5: 4209bbae8eb170420b4bff690208ef19
10URL: http://sg.danny.cz/sg/ddpt.html
11BuildRequires: autoconf
12BuildRequires: automake
13BuildRequires: libtool
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
38plikach, które są urządzeniami blokowymi. Dla urządzeń blokowych które
39rozumieją zestaw komend SCSI, jest dostępna bardziej szczegółowa
40kontrola nad procesem kopiowania poprzez interface SCSI pass-trhrough.
41
42%prep
43%setup -q
44
45%build
46%{__libtoolize}
47%{__aclocal}
48%{__autoconf}
49%{__autoheader}
50%{__automake}
51%configure
52%{__make}
53
54%install
55rm -rf $RPM_BUILD_ROOT
56# create directories if necessary
57#install -d $RPM_BUILD_ROOT
58%if %{with initscript}
59install -d $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d}
60%endif
61#install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
62
63%{__make} install \
64 DESTDIR=$RPM_BUILD_ROOT
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%files
70%defattr(644,root,root,755)
71%doc AUTHORS CREDITS ChangeLog README TODO
72%attr(755,root,root) %{_bindir}/ddpt
73%{_mandir}/man8/ddpt.8*
This page took 0.095585 seconds and 4 git commands to generate.