-Summary: dump/restore backup system
-Summary(de): Dump/Restore-Backup-System
+Summary: Programs for backing up and restoring filesystems
+Summary(de): Dump/Restore-Backup-System
Summary(fr): système de sauvegarde dump/restore
-Summary(pl): System kopii bezpieczeñstwa dump/restore
+Summary(pl): Programy do wykonywania kopii bezpieczeñstwa plików
Summary(tr): dump/restore yedekleme sistemi
Name: dump
-Version: 0.4b4
+Version: 0.4b7
Release: 1
Copyright: UCB
Group: Utilities/System
+Group: Narzedzia/System
Source: ftp://tsx-11.mit.edu:/pub/linux/packages/ext2fs/%{name}-%{version}.tar.gz
-Patch0: dump-glibc.patch
-Patch1: dump-sparc.patch
-Patch2: dump-kernel.patch
+Patch0: dump-sparc.patch
Requires: rmt
BuildRoot: /tmp/%{name}-%{version}-root
%description
-dump and restore can be used to backup extended 2 (ext2) partitions in
-a variety of ways.
+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
façons possibles
%description -l pl
-Programy dump i restore s³u¿± do tworzenia i odtwarzanie kopii
-bezpieczeñstwa partycji z systemem plków ext2.
+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 pl;ików i katalogów.
%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: Remote (network) tape device access
+Summary: Provides certain programs with access to remote tape devices
Summary(de): Entfernter Zugriff (Netzwerk) auf Magnetbandgeräte
Summary(fr): Accès distant (réseau) à un périphérique bande
-Summary(pl): Zdalny dostêp do napêdów ta¶m magnetycznych
+Summary(pl): Program do zdalnego dostêpu do napêdów ta¶m magnetycznych
Summary(tr): Uzak teyp sürücülerine eriþim aracý
Group: Utilities/System
%description -n rmt
-rmt provides remote access to tape devices for programs like dump,
-restore, and tar.
+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 -l de -n rmt
rmt stellt Remote-Access zu Bandgeräten für Programme wie Dump, Restore
dump, restore et tar.
%description -l pl -n rmt
-Program rmt umo¿liwia zdalny dostêp do napêdów ta¶m magnetycznych
-dla programów takich jak dump, restore czy tar
+Program rmt umo¿liwia zdalny dostêp do napêdów ta¶m magnetycznych dla
+programów takich jak dump, restore czy tar.
%description -l tr -n rmt
rmt programý, dump, restore ve tar gibi programlar için teyp aygýtlarýna
%prep
%setup -q
%patch0 -p1
-#%patch1 -p1
-%patch2 -p1
%build
MYNAME=`id -ru` \
echo ".so dump.8" > $RPM_BUILD_ROOT%{_mandir}/man8/rdump.8
echo ".so restore.8" > $RPM_BUILD_ROOT%{_mandir}/man8/rrestore.8
-gzip -9nf COPYRIGHT KNOWNBUGS THANKS CHANGES dump-0.3.announce \
+ln -sf ../sbin/rmt $RPM_BUILD_ROOT/etc/rmt
+
+gzip -9nf COPYRIGHT KNOWNBUGS README THANKS TODO CHANGES \
$RPM_BUILD_ROOT%{_mandir}/man8/*
%clean
%files
%defattr(644,root,root,755)
-%doc {COPYRIGHT,KNOWNBUGS,THANKS,CHANGES,dump-0.3.announce}.gz
+%doc *.gz
%attr(664,root, disk) %verify(not md5 mtime size) %config(noreplace) /etc/dumpdates
%attr(6755,root,root) /sbin/dump
%attr(755,root,root) /sbin/rdump
%files -n rmt
%defattr(644,root,root,755)
%attr(755,root,root) /sbin/rmt
+%attr(755,root,root) /etc/rmt
%{_mandir}/man8/rmt.8.gz