packages: ddpt/ddpt.spec (NEW) - initial PLD release

pawelz pawelz at pld-linux.org
Wed Sep 22 23:57:33 CEST 2010


Author: pawelz                       Date: Wed Sep 22 21:57:33 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial PLD release

---- Files affected:
packages/ddpt:
   ddpt.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/ddpt/ddpt.spec
diff -u /dev/null packages/ddpt/ddpt.spec:1.1
--- /dev/null	Wed Sep 22 23:57:33 2010
+++ packages/ddpt/ddpt.spec	Wed Sep 22 23:57:28 2010
@@ -0,0 +1,84 @@
+# $Revision$, $Date$
+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*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/09/22 21:57:28  pawelz
+- initial PLD release
+
================================================================


More information about the pld-cvs-commit mailing list