File: ddpt.spec

package info (click to toggle)
ddpt 0.95-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,772 kB
  • sloc: ansic: 21,845; sh: 5,153; makefile: 155
file content (70 lines) | stat: -rw-r--r-- 1,920 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
%define	name	ddpt
%define	version	0.95
%define	release	1

Summary:	Copy files (like dd) especially SCSI/storage devices
Name:		%{name}
Version:	%{version}
Release:	%{release}
License:	FreeBSD
Group:		Utilities/System
URL:		http://sg.danny.cz/sg/ddpt.html
Source0:	http://sg.danny.cz/sg/p/%{name}-%{version}.tgz
BuildRoot:	%{_tmppath}/%{name}-%{version}-root
Packager:	Douglas Gilbert <dgilbert at interlog dot com>

%description
ddpt is yet another variant of the Unix dd command used to copy files.
This variant is specialized for moving data to, from or between storage
devices. If requested, SCSI commands can be sent to read or write data.
SCSI commands are sent via a pass-through interface. Also supports
two variants of SCSI copy offload: xcopy(LID1) and the disk->disk
subset of xcopy(LID4) known as ODX.

%prep

%setup -q

%build
%configure

%install
if [ "$RPM_BUILD_ROOT" != "/" ]; then
        rm -rf $RPM_BUILD_ROOT
fi

make install \
        DESTDIR=$RPM_BUILD_ROOT

%clean
if [ "$RPM_BUILD_ROOT" != "/" ]; then
        rm -rf $RPM_BUILD_ROOT
fi


%files
%defattr(-,root,root)
%doc ChangeLog INSTALL README CREDITS AUTHORS COPYING
%attr(0755,root,root) %{_bindir}/*
# >> should that be %attr(0755,root,root) %{_sbindir}/*   ??
%{_mandir}/man8/*

%changelog
* Fri Dec 26 2014 - dgilbert at interlog dot com
- show percent completed, job file
  * ddpt-0.95
* Mon Apr 07 2014 - dgilbert at interlog dot com
- add ODX (subset xcopy(LID4)) support
  * ddpt-0.94
* Wed Nov 13 2013 - dgilbert at interlog dot com
- allow tape device in non-pt mode; rework signal handling, xcopy
  * ddpt-0.93
* Thu Feb 17 2011 - dgilbert at interlog dot com
- warn about pt on block partitions, coe on reg,blk in
  * ddpt-0.92
* Fri Aug 13 2010 - dgilbert at interlog dot com
- extend bpt=BPT to bpt=BPT[,OBPC], resume and trim flags
  * ddpt-0.91
* Sat May 08 2010 - dgilbert at interlog dot com
- initial version
  * ddpt-0.90