Summary: Programs for backing up and restoring filesystems Summary(de): Dump/Restore-Backup-System Summary(es): Sistema de copia de seguridad dump/restore Summary(fr): systčme de sauvegarde dump/restore Summary(pl): Programy do wykonywania kopii bezpieczeństwa plików Summary(pt_BR): Sistema de backup dump/restore Summary(tr): dump/restore yedekleme sistemi Name: dump Version: 0.4b25 Release: 1 License: BSD Group: Applications/System Source0: ftp://download.sourceforge.net/pub/sourceforge/dump/%{name}-%{version}.tar.gz Patch0: %{name}-sparc.patch Patch1: %{name}-autoconf.patch Patch2: %{name}-use_ncurses.patch URL: http://dump.sourceforge.net/ BuildRequires: autoconf BuildRequires: e2fsprogs-devel BuildRequires: ncurses-devel >= 5.2 BuildRequires: readline-devel >= 4.2 Requires: rmt BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _sbindir /sbin %description The dump 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 -l de Sie können mit dump und restore verschiedene Verfahren zum Sichern von extended 2 (ext2)-Partitionen ausführen. %description -l es Dump y restore pueden ser usados para hacer copias de seguridad en particiones ext2 de varias maneras diferentes. %description -l fr dupm et restore servent ŕ sauvegarder des partitions ext2 de plusieurs façons possibles %description -l pl Pakiet dump zawiera programy dump i restore. Dump sprawdza pliki w systemie plikowym i określa które powinny być zeskładowane w kopii bezpieczeństwa an następnie kopiuje te pliki na dysk, taśmę magnetyczna lub inny nosnik. Polecenie restore wykonuję odwrotna operację i służy do odtwarzania plików z kopii bezpieczeństwa. Program restore umożliwia odtwarzanie całego archiwum, a także wybranych plików i katalogów. %description -l pt_BR o dump e o restore podem ser usados para fazer backup em partiçőes ext2 de várias maneiras diferentes. %description -l tr dump, ext2 bölümlerini birkaç deđiţik ţekilde yedeklemek için kullanýlýr. restore ise dump ile alýnan yedekleri geri yükleyen programdýr. %package -n rmt Summary: Provides certain programs with access to remote tape devices Summary(de): Entfernter Zugriff (Netzwerk) auf Magnetbandgeräte Summary(es): Acceso a dispositivo de cinta remoto (en red) Summary(fr): Accčs distant (réseau) ŕ un périphérique bande Summary(pl): Program do zdalnego dostępu do napędów taśm magnetycznych Summary(pt_BR): Acesso a dispositivo de fita remoto (em rede) Summary(tr): Uzak teyp sürücülerine eriţim aracý Group: Applications/System %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). %description -n rmt -l de rmt stellt Remote-Access zu Bandgeräten für Programme wie Dump, Restore und tar bereit. %description -n rmt -l es rmt provee acceso remoto a dispositivos de cinta para programas como dump, restore y tar. %description -n rmt -l fr rmt offre un accčs distant aux périphériques bandes pour des programmes comme dump, restore et tar. %description -n rmt -l pl Program rmt umożliwia zdalny dostęp do napędów taśm magnetycznych dla programów takich jak dump, restore czy tar. %description -n rmt -l pt_BR rmt provę acesso remoto a dispositivos de fita para programas como dump, restore e tar. %description -n rmt -l tr rmt programý, dump, restore ve tar gibi programlar için teyp aygýtlarýna uzaktan eriţim sađlar. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %build autoconf MYNAME=`id -ru` \ MYGRP=`id -rg`; \ %configure \ --enable-rmt \ --enable-readline \ --with-ccopts="%{rpmcflags}" \ --with-ldopts="%{rpmldflags}" \ --with-binowner=$MYNAME \ --with-bingrp=$MYGRP \ --with-binmode=755 \ --with-manowner=$MYNAME \ --with-mangrp=$MYGRP \ --with-manmode=644 %{__make} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/{etc,sbin,%{_mandir}/man8} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT > $RPM_BUILD_ROOT%{_sysconfdir}/dumpdates ln -sf ..%{_sbindir}/rmt $RPM_BUILD_ROOT%{_sysconfdir}/rmt gzip -9nf COPYRIGHT KNOWNBUGS README THANKS TODO CHANGES %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc *.gz %attr(664,root, disk) %verify(not md5 mtime size) %config(noreplace) %{_sysconfdir}/dumpdates %attr(755,root,root) %{_sbindir}/*dump %attr(755,root,root) %{_sbindir}/*restore %{_mandir}/man8/*dump.8* %{_mandir}/man8/*restore.8* %files -n rmt %defattr(644,root,root,755) %attr(755,root,root) %{_sbindir}/rmt %attr(755,root,root) %{_sysconfdir}/rmt %{_mandir}/man8/rmt.8*