From ef40b99a2d89e1df8e49b53044932c2db4eeff34 Mon Sep 17 00:00:00 2001 From: pawelz Date: Wed, 22 Sep 2010 21:57:28 +0000 Subject: [PATCH 1/1] - initial PLD release Changed files: ddpt.spec -> 1.1 --- ddpt.spec | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 ddpt.spec diff --git a/ddpt.spec b/ddpt.spec new file mode 100644 index 0000000..76088a5 --- /dev/null +++ b/ddpt.spec @@ -0,0 +1,73 @@ +Summary: A variant of the standard Unix command dd +Summary(pl.UTF-8): Alternatywna implementacja standardowej uniksowej komendy dd +Name: ddpt +Version: 0.91 +Release: 1 +License: BSD-like +Group: Applications +Source0: http://sg.danny.cz/sg/p/%{name}-%{version}.tar.bz2 +# Source0-md5: 4209bbae8eb170420b4bff690208ef19 +URL: http://sg.danny.cz/sg/ddpt.html +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +The ddpt utility is a variant of the standard Unix command dd which +copies files. The ddpt utility specializes in files that are block +devices. For block devices that understand the SCSI command set, finer +grain control over the copy may be available via a SCSI pass-through +interface. + +The types of block devices that are supported are disks (known as +direct access devices in SCSI) and cd/dvd/bd devices. Tape drives are +not supported. It is becoming more common for ATA disks (especially +SATA) to be accessed by an operating system using SCSI commands. ATA +disks are not always directly connected and transports such as USB, +IEEE1394 (FireWire) and iSCSI use SCSI commands. Protocol translation +from SCSI to ATA (SAT standard) has been around for several years and +many implementations are now reliable. + +The ddpt utility is a more generic version of the Linux specific sg_dd +utility found in the sg3_utils package. + +%description -l pl.UTF-8 +ddpt jest implementacją standardowej komendy Uniksa dd, służącej do +kopiowania plików. ddpt zostało napisane szczególnie z myślą o +plikach, które są urządzeniami blokowymi. Dla urządzeń blokowych które +rozumieją zestaw komend SCSI, jest dostępna bardziej szczegółowa +kontrola nad procesem kopiowania poprzez interface SCSI pass-trhrough. + +%prep +%setup -q + +%build +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +# create directories if necessary +#install -d $RPM_BUILD_ROOT +%if %{with initscript} +install -d $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d} +%endif +#install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc AUTHORS CREDITS ChangeLog README TODO +%attr(755,root,root) %{_bindir}/ddpt +%{_mandir}/man8/ddpt.8* -- 2.43.0