Репозитории ALT
Группа :: Архивирование/Резервное копирование
Пакет: ddrescue
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_with static
Name: ddrescue
Version: 1.5
Release: alt1
Summary: Data copying in presence of I/O errors
License: GPL v3+
Group: Archiving/Backup
URL: http://www.gnu.org/software/ddrescue/ddrescue.html
Source: http://ftp.gnu.org/gnu/ddrescue/ddrescue-%version.tar.bz2
Patch1: http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/ddrescue-patch.txt
# This patch was originally from:
# http://guru.multimedia.cx/wp-content/uploads/2006/08/ddrescue-patch.txt
# Automatically added by buildreq on Mon Jan 15 2007
BuildRequires: gcc-c++
%{?_with_static:BuildRequires: libstdc++-devel-static}
%description
ddrescue copies data from one file or block device (hard disk, cdrom, etc)
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, etc)
to another, trying hard to rescue data in case of read errors.
This package contains statically built ddrescue utility.
%prep
%setup
%patch1 -p1
%build
./configure --prefix=%_prefix --infodir=%_infodir --mandir=%_mandir
%make_build CXXFLAGS="%optflags %optflags_nocpp" all %{?_with_static:sddrescue}
%install
make install install-man DESTDIR=%buildroot
%{?_with_static: install -pD -m755 sddrescue %buildroot/bin/sddrescue}
%post -p "%install_info %name.info"
%preun -p "%uninstall_info %name.info"
%files
%_bindir/ddrescue
%_man1dir/*
%_infodir/*.info*
%doc AUTHORS ChangeLog README
%if_with static
%files static
/bin/sddrescue
%endif
%changelog
…
Полный changelog можно просмотреть здесь
Name: ddrescue
Version: 1.5
Release: alt1
Summary: Data copying in presence of I/O errors
License: GPL v3+
Group: Archiving/Backup
URL: http://www.gnu.org/software/ddrescue/ddrescue.html
Source: http://ftp.gnu.org/gnu/ddrescue/ddrescue-%version.tar.bz2
Patch1: http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/ddrescue-patch.txt
# This patch was originally from:
# http://guru.multimedia.cx/wp-content/uploads/2006/08/ddrescue-patch.txt
# Automatically added by buildreq on Mon Jan 15 2007
BuildRequires: gcc-c++
%{?_with_static:BuildRequires: libstdc++-devel-static}
%description
ddrescue copies data from one file or block device (hard disk, cdrom, etc)
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, etc)
to another, trying hard to rescue data in case of read errors.
This package contains statically built ddrescue utility.
%prep
%setup
%patch1 -p1
%build
./configure --prefix=%_prefix --infodir=%_infodir --mandir=%_mandir
%make_build CXXFLAGS="%optflags %optflags_nocpp" all %{?_with_static:sddrescue}
%install
make install install-man DESTDIR=%buildroot
%{?_with_static: install -pD -m755 sddrescue %buildroot/bin/sddrescue}
%post -p "%install_info %name.info"
%preun -p "%uninstall_info %name.info"
%files
%_bindir/ddrescue
%_man1dir/*
%_infodir/*.info*
%doc AUTHORS ChangeLog README
%if_with static
%files static
/bin/sddrescue
%endif
%changelog
…
Полный changelog можно просмотреть здесь