[ddpt] initial Fedora package

Dan Horák sharkcz at fedoraproject.org
Mon Aug 1 10:29:28 UTC 2011


commit a38deed340a957e3ff1bd17c4c1a4dbde47cb601
Author: Dan Horák <dan at danny.cz>
Date:   Mon Aug 1 12:29:12 2011 +0200

    initial Fedora package

 .gitignore |    1 +
 ddpt.spec  |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 3 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5cb0736 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ddpt-0.92.tar.bz2
diff --git a/ddpt.spec b/ddpt.spec
new file mode 100644
index 0000000..17757dc
--- /dev/null
+++ b/ddpt.spec
@@ -0,0 +1,51 @@
+Name:           ddpt
+Version:        0.92
+Release:        1%{?dist}
+Summary:        Variant of the dd utility for SCSI/storage devices
+
+Group:          Applications/System
+License:        BSD
+URL:            http://sg.danny.cz/sg/ddpt.html
+Source0:        http://sg.danny.cz/sg/p/%{name}-%{version}.tar.bz2
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  sg3_utils-devel
+
+
+%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. Note that recent
+(S)ATA disks can often be driven by SCSI commands due to SCSI to ATA
+translation (SAT) implemented in the kernel.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING CREDITS ChangeLog README TODO doc/ddpt_examples.txt
+%{_bindir}/%{name}
+%{_mandir}/man8/%{name}.8*
+
+
+%changelog
+* Fri Feb 18 2011 Dan Horák <dan at danny.cz> - 0.92-1
+- initial Fedora package
diff --git a/sources b/sources
index e69de29..8962cf1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4224a31bd3e6903d3371ebe7fdd46938  ddpt-0.92.tar.bz2


More information about the scm-commits mailing list