rpms/ddrescue/EL-4 .cvsignore, 1.2, 1.3 Makefile, 1.2, 1.3 ddrescue.spec, 1.5, 1.6 sources, 1.2, 1.3

Andreas Thienemann (ixs) fedora-extras-commits at redhat.com
Mon Feb 25 22:12:56 UTC 2008


Author: ixs

Update of /cvs/pkgs/rpms/ddrescue/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29352

Modified Files:
	.cvsignore Makefile ddrescue.spec sources 
Log Message:
* Mon Feb 25 2008 Andreas Thienemann <athienem at redhat.com> - 1.8-2
- Fix info-page installation



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ddrescue/EL-4/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	8 Nov 2004 04:13:08 -0000	1.2
+++ .cvsignore	25 Feb 2008 22:12:21 -0000	1.3
@@ -1 +1 @@
-dd_rescue-1.10.tar.gz
+ddrescue-1.8.tar.bz2


Index: Makefile
===================================================================
RCS file: /cvs/pkgs/rpms/ddrescue/EL-4/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Makefile	24 Nov 2004 03:10:04 -0000	1.2
+++ Makefile	25 Feb 2008 22:12:21 -0000	1.3
@@ -1,13 +1,13 @@
 # Makefile for source rpm: ddrescue
 # $Id$
 NAME := ddrescue
-SPECFILE = $(firstword $(wildcard *.spec))
+SPECFILE = ddrescue.spec
 
 define find-makefile-common
 for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
 endef
 
-MAKEFILE_COMMON	:= $(shell $(find-makefile-common))
+MAKEFILE_COMMON := $(shell $(find-makefile-common))
 
 ifeq ($(MAKEFILE_COMMON),)
 # attept a checkout


Index: ddrescue.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ddrescue/EL-4/ddrescue.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ddrescue.spec	10 Dec 2004 22:03:02 -0000	1.5
+++ ddrescue.spec	25 Feb 2008 22:12:21 -0000	1.6
@@ -1,56 +1,62 @@
 Name:           ddrescue
-Version:        1.10
-Release:        1
-Epoch:          0
-Summary:        Fault tolerant "dd" utility for rescuing data from bad media
-
+Version:        1.8
+Release:        2%{?dist}
+Summary:        Data recovery tool trying hard to rescue data in case of read errors
 Group:          Applications/System
 License:        GPL
-URL:            http://www.garloff.de/kurt/linux/ddrescue/
-Source0:        http://www.garloff.de/kurt/linux/ddrescue/dd_rescue-1.10.tar.gz
+URL:            http://www.gnu.org/software/ddrescue/ddrescue.html
+Source0:        http://ftp.gnu.org/gnu/ddrescue/ddrescue-%{version}.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires(post): /sbin/install-info
+Requires(preun): /sbin/install-info
+
 
 %description
-ddrescue is a utility similar to the system utility "dd" which copies
-data from a file or block device to another. ddrescue does however
-not abort on errors in the input file. This makes it suitable for
-rescuing data from media with errors, e.g. a disk with bad sectors.
+GNU ddrescue is a data recovery tool. It copies data from one file or block
+device (hard disc, cdrom, etc) to another, trying hard to rescue data in 
+case of read errors. GNU ddrescue does not truncate the output file if not
+asked to. So, every time you run it on the same output file, it tries to 
+fill in the gaps.
 
 
 %prep
-%setup -q -n dd_rescue
+%setup -q
 
 
 %build
-#rm dd_rescue
-#EXTRA_CFLAGS="$RPM_OPT_FLAGS" 
-make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
-cp README.dd_rescue README
+%configure
+make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{_bindir}
-install -p -m 755 dd_rescue $RPM_BUILD_ROOT%{_bindir}/ddrescue
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+rm -f %{buildroot}%{_infodir}/dir
 
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
+
+
+%post
+/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
+
+
+%preun
+if [ $1 = 0 ]; then
+    /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
+fi
 
 
 %files
 %defattr(-,root,root,-)
-%doc COPYING README
-%{_bindir}/*
-
+%doc AUTHORS ChangeLog COPYING NEWS README
+%{_bindir}/ddrescue
+%{_infodir}/%{name}.info*
 
 %changelog
-* Sun Sep  5 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.10-0.fdr.1
-- Updated to 1.10.
-
-* Sat Dec 13 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.03-0.fdr.1
-- Updated to 1.03.
-- Minor editing of description.
+* Mon Feb 25 2008 Andreas Thienemann <athienem at redhat.com> - 1.8-2
+- Fix info-page installation
 
-* Mon Sep 29 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.02-0.fdr.1
-- Initial RPM release.
+* Mon Feb 25 2008 Andreas Thienemann <athienem at redhat.com> - 1.8-1
+- Initial fedora release of GNU ddrescue


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ddrescue/EL-4/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	8 Nov 2004 04:13:08 -0000	1.2
+++ sources	25 Feb 2008 22:12:21 -0000	1.3
@@ -1 +1 @@
-c8c021f028cc49617d8cbacd711a9b3f  dd_rescue-1.10.tar.gz
+51451893ea96a5f9943523743a6a35ae  ddrescue-1.8.tar.bz2




More information about the fedora-extras-commits mailing list