Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37558314
en ru br
ALT Linux repositórios
S:0.4b47-alt1
5.0: 0.4b41-alt2
4.1: 0.4b41-alt2
4.0: 0.4b41-alt1.0
3.0: 0.4b35-alt1

Group :: Arquivamento/Backup
RPM: dump

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: dump
Version: 0.4b41
Release: alt1.0

Summary: Programs for backing up and restoring ext2/ext3 filesystems
License: BSD
Group: Archiving/Backup

URL: http://dump.sourceforge.net/
Source: http://download.sourceforge.net/dump/dump-%version.tar.gz
Patch1: dump-0.4b28-alt-makefile.patch
Patch2: dump-0.4b40-include.patch

Requires: rmt = %version-%release

BuildPreReq: kernel-headers-std

# Automatically added by buildreq on Thu May 26 2005

BuildRequires: bzlib-devel libe2fs-devel libncurses-devel libreadline-devel libtinfo-devel zlib-devel

%package -n rmt
Summary: Provides certain programs with access to remote tape devices
Group: Archiving/Backup

%description
The %name package contains both dump and restore.  Dump examines files in
a filesystem, determines which ones need to be backed up, and copies
those files to a specified disk, tape or other storage medium.  The
restore command performs the inverse function of dump; it can restore a
full backup of a filesystem.  Subsequent incremental backups can then be
layered on top of the full backup.  Single files and directory subtrees
may also be restored from full or partial backups.

%description -n rmt
The rmt utility provides remote access to tape devices for programs
like dump (a filesystem backup program), restore (a program for
restoring files from a backup) and tar (an archiving program).

%prep
%setup -q
%patch1 -p1
%patch2 -p1

%__subst s,termcap,tinfo,g ./configure.in

%build
autoconf
%configure \
--with-manowner=root \
--with-mangrp=root \
--with-binmode=755 \
--with-manmode=644 \
--enable-rmt \
--enable-readline \
--enable-largefile
make OPT="$RPM_OPT_FLAGS -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts"

%install
%__mkdir_p $RPM_BUILD_ROOT{/sbin,%_man8dir}

make install SBINDIR=$RPM_BUILD_ROOT/sbin BINDIR=$RPM_BUILD_ROOT/sbin MANDIR=$RPM_BUILD_ROOT%_man8dir

pushd $RPM_BUILD_ROOT
%__ln_s -nf dump ./sbin/rdump
%__ln_s -nf restore ./sbin/rrestore
%__ln_s -nf dump.8 .%_man8dir/rdump.8
%__ln_s -nf restore.8 .%_man8dir/rrestore.8
%__chmod a-s ./sbin/rmt
%__mkdir_p .%_sysconfdir
:> .%_sysconfdir/dumpdates
%__ln_s -nf ../sbin/rmt .%_sysconfdir/rmt
popd

%files
/sbin/*dump
/sbin/*restore
%_man8dir/*dump.*
%_man8dir/*restore.*
%attr(664,root,disk) %config(noreplace) %_sysconfdir/dumpdates
%doc CHANGES COPYRIGHT KNOWNBUGS README THANKS TODO MAINTAINERS

%files -n rmt
/sbin/rmt
%_sysconfdir/rmt
%_man8dir/rmt.*
%doc COPYRIGHT

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009