From 65fb1bad989643b3e06d38369e9ed3c948854df3c0555600b40b01eb3c887b4b Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Wed, 6 Apr 2011 10:51:45 +0000 Subject: [PATCH] Accepting request 65979 from Base:System Accepted submit request 65979 from user babelworx OBS-URL: https://build.opensuse.org/request/show/65979 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnu_ddrescue?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++++ .gitignore | 1 + ddrescue-1.14.tar.xz | 3 +++ gnu_ddrescue.changes | 5 ++++ gnu_ddrescue.spec | 55 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 87 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 ddrescue-1.14.tar.xz create mode 100644 gnu_ddrescue.changes create mode 100644 gnu_ddrescue.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ddrescue-1.14.tar.xz b/ddrescue-1.14.tar.xz new file mode 100644 index 0000000..56b062e --- /dev/null +++ b/ddrescue-1.14.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4570ad34a10b06989e744c6ea09ee55d70fe7e6bd2502e81066eaad6e36e3cf +size 48812 diff --git a/gnu_ddrescue.changes b/gnu_ddrescue.changes new file mode 100644 index 0000000..5d5201d --- /dev/null +++ b/gnu_ddrescue.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sun Mar 6 13:35:24 UTC 2011 - jengelh@medozas.de + +- Initial package + diff --git a/gnu_ddrescue.spec b/gnu_ddrescue.spec new file mode 100644 index 0000000..5cda15f --- /dev/null +++ b/gnu_ddrescue.spec @@ -0,0 +1,55 @@ + +# +# Contemporarily names gnu_ddrescue to avoid confusion with +# Garloff's variants ddrescue and dd_rescue +# +Name: gnu_ddrescue +Version: 1.14 +Release: 0 +Group: System/Base +Summary: Data Copying in the Presence of I/O Errors +License: GPL3 +URL: http://www.gnu.org/software/ddrescue/ddrescue.html + +#Source: ftp://ftp.informatik.rwth-aachen.de/pub/gnu/ddrescue/ddrescue-1.14.tar.gz +Source: ddrescue-%version.tar.xz +BuildRoot: %_tmppath/%name-%version-build +BuildRequires: gcc-c++, xz +PreReq: %install_info_prereq + +%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. + +It is more memory and time efficient than dd_rescue+dd_rhelp on disks +with more than a few hundred bad sectors. + + +Author(s): +---------- + Antonio Diaz Diaz + +%prep +%setup -qn ddrescue-%version + +%build +%configure CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" +make %{?_smp_mflags} + +%install +make install DESTDIR="%buildroot"; + +%post +%install_info --info-dir=%_infodir %_infodir/ddrescue.info.gz + +%postun +%install_info_delete --info-dir=%_infodir %_infodir/ddrescue.info.gz + +%files +%defattr(-,root,root) +%_bindir/* +%_mandir/man*/* +%doc %_infodir/ddrescue* + +%changelog