rpms/ddrescue/EL-5 ddrescue.spec,1.8,1.9

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


Author: ixs

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

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



Index: ddrescue.spec
===================================================================
RCS file: ddrescue.spec
diff -N ddrescue.spec
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ddrescue.spec	25 Feb 2008 22:20:44 -0000	1.9
@@ -0,0 +1,62 @@
+Name:           ddrescue
+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.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
+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
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+rm -f %{buildroot}%{_infodir}/dir
+
+
+%clean
+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 AUTHORS ChangeLog COPYING NEWS README
+%{_bindir}/ddrescue
+%{_infodir}/%{name}.info*
+
+%changelog
+* Mon Feb 25 2008 Andreas Thienemann <athienem at redhat.com> - 1.8-2
+- Fix info-page installation
+
+* Mon Feb 25 2008 Andreas Thienemann <athienem at redhat.com> - 1.8-1
+- Initial fedora release of GNU ddrescue




More information about the fedora-extras-commits mailing list