Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37409439
en ru br
Репозитории ALT
S:1.27-alt1
5.1: 1.11-alt1
4.1: 1.8-alt1
4.0: 1.5-alt1
3.0: 1.0-alt1
www.altlinux.org/Changes

Группа :: Архивирование/Резервное копирование
Пакет: ddrescue

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_without static

Name: ddrescue
Version: 1.27
Release: alt1

Summary: Data copying in presence of I/O errors
License: GPLv3+
Group: Archiving/Backup

URL: http://www.gnu.org/software/ddrescue/ddrescue.html
Source0: http://ftp.gnu.org/gnu/ddrescue/%{name}-%{version}.tar.lz
Source1: ddrescue.watch

# Automatically added by buildreq on Wed Dec 31 2008

BuildRequires: gcc-c++ lzip
%{?_with_static: BuildRequires: libstdc++-devel-static}
# explicitly added texinfo for info files
BuildRequires: texinfo

%description
ddrescue copies data from one file or block device (hard disk, cdrom...)
to another, trying hard to rescue data in case of read errors.

ddrescue does not truncate the output file if not asked to. So everytime
you run it on the same output file it tries to fill in the gaps.

If you have two or more copies of a damaged file, cdrom, etc, and run
ddrescue on all of them, one at a time, with the same output file, you
will probably obtain a complete and error-free file.

%package static
Summary: Statically built ddrescue (data recovery tool)
Group: Archiving/Backup

%description static
ddrescue copies data from one file or block device (hard disk, cdrom...)
to another, trying hard to rescue data in case of read errors.

This package contains statically built ddrescue utility.

%prep
%setup

%build
./configure --prefix=%_prefix --infodir=%_infodir --mandir=%_mandir
%make_build CXXFLAGS="%optflags %optflags_nocpp" all %{?_with_static:sddrescue}
make check

%install
%makeinstall_std install-man
%{?_with_static: install -pDm755 sddrescue %buildroot/bin/sddrescue}

%files
%_bindir/ddrescue
%_bindir/ddrescuelog
%_man1dir/*
%_infodir/*.info*
%doc README

%if_with static
%files static
/bin/sddrescue
%endif

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin