]> git.pld-linux.org Git - packages/dump.git/blob - dump.spec
- link with ncurses (not termcap).
[packages/dump.git] / dump.spec
1 Summary:        Programs for backing up and restoring filesystems
2 Summary(de):    Dump/Restore-Backup-System
3 Summary(fr):    système de sauvegarde dump/restore
4 Summary(pl):    Programy do wykonywania kopii bezpieczeñstwa plików
5 Summary(tr):    dump/restore yedekleme sistemi
6 Name:           dump
7 Version:        0.4b17
8 Release:        1
9 Copyright:      UCB
10 Group:          Utilities/System
11 Group(pl):      Narzêdzia/System
12 Source0:        ftp://download.sourceforge.net/pub/sourceforge/dump/dump-%{version}.tar.gz
13 Patch0:         dump-sparc.patch
14 Patch1:         dump-autoconf.patch
15 URL:            http://dump.sourceforge.net/
16 BuildRequires:  e2fsprogs-devel
17 BuildRequires:  readline-devel
18 Requires:       rmt
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 The dump package contains both dump and restore. Dump examines files
23 in a filesystem, determines which ones need to be backed up, and
24 copies those files to a specified disk, tape or other storage medium.
25 The restore command performs the inverse function of dump; it can
26 restore a full backup of a filesystem. Subsequent incremental backups
27 can then be layered on top of the full backup. Single files and
28 directory subtrees may also be restored from full or partial backups.
29
30 %description -l de
31 Sie können mit dump und restore verschiedene Verfahren zum Sichern von
32 extended 2 (ext2)-Partitionen ausführen.
33
34 %description -l fr
35 dupm et restore servent à sauvegarder des partitions ext2 de plusieurs
36 façons possibles
37
38 %description -l pl
39 Pakiet dump zawiera programy dump i restore. Dump sprawdza pliki w
40 systemie plikowym i okre¶la które powinny byæ zesk³adowane w kopii
41 bezpieczeñstwa an nastêpnie kopiuje te pliki na dysk, ta¶mê
42 magnetyczna lub inny nosnik. Polecenie restore wykonujê odwrotna
43 operacjê i s³u¿y do odtwarzania plików z kopii bezpieczeñstwa. Program
44 restore umo¿liwia odtwarzanie ca³ego archiwum, a tak¿e wybranych
45 pl;ików i katalogów.
46
47 %description -l tr
48 dump, ext2 bölümlerini birkaç deðiþik þekilde yedeklemek için
49 kullanýlýr. restore ise dump ile alýnan yedekleri geri yükleyen
50 programdýr.
51
52 %package -n rmt
53 Summary:        Provides certain programs with access to remote tape devices
54 Summary(de):    Entfernter Zugriff (Netzwerk) auf Magnetbandgeräte
55 Summary(fr):    Accès distant (réseau) à un périphérique bande
56 Summary(pl):    Program do zdalnego dostêpu do napêdów ta¶m magnetycznych
57 Summary(tr):    Uzak teyp sürücülerine eriþim aracý
58 Group:          Utilities/System
59
60 %description -n rmt
61 The rmt utility provides remote access to tape devices for programs
62 like dump (a filesystem backup program), restore (a program for
63 restoring files from a backup) and tar (an archiving program).
64
65 %description -l de -n rmt
66 rmt stellt Remote-Access zu Bandgeräten für Programme wie Dump,
67 Restore und tar bereit.
68
69 %description -l fr -n rmt
70 rmt offre un accès distant aux périphériques bandes pour des
71 programmes comme dump, restore et tar.
72
73 %description -l pl -n rmt
74 Program rmt umo¿liwia zdalny dostêp do napêdów ta¶m magnetycznych dla
75 programów takich jak dump, restore czy tar.
76
77 %description -l tr -n rmt
78 rmt programý, dump, restore ve tar gibi programlar için teyp
79 aygýtlarýna uzaktan eriþim saðlar.
80
81 %prep
82 %setup -q
83 %patch0 -p1
84 %patch1 -p1
85
86 %build
87 MYNAME=`id -ru` \
88 MYGRP=`id -rg` \
89 %configure \
90         --enable-rmt \
91         --enable-readline \
92         --with-ccopts="$RPM_OPT_FLAGS" \
93         --with-ldopts="-s" \
94         --with-binowner=$MYNAME \
95         --with-bingrp=$MYGRP \
96         --with-binmode=6755 \
97         --with-manowner=$MYNAME \
98         --with-mangrp=$MYGRP \
99         --with-manmode=644
100 %{__make}
101
102 %install
103 rm -rf $RPM_BUILD_ROOT
104 install -d $RPM_BUILD_ROOT/{etc,sbin,%{_mandir}/man8}
105
106 %{__make} install \
107         DESTDIR=$RPM_BUILD_ROOT
108
109 > $RPM_BUILD_ROOT%{_sysconfdir}/dumpdates
110
111 ln -sf ../sbin/rmt $RPM_BUILD_ROOT%{_sysconfdir}/rmt
112
113 gzip -9nf COPYRIGHT KNOWNBUGS README THANKS TODO CHANGES \
114         $RPM_BUILD_ROOT%{_mandir}/man8/*
115
116 %clean
117 rm -rf $RPM_BUILD_ROOT
118
119 %files
120 %defattr(644,root,root,755)
121 %doc *.gz
122 %attr(664,root, disk) %verify(not md5 mtime size) %config(noreplace) %{_sysconfdir}/dumpdates
123 %attr(6755,root,root) /sbin/dump
124 %attr(755,root,root) /sbin/rdump
125 %attr(6755,root,root) /sbin/restore
126 %attr(755,root,root) /sbin/rrestore
127 %{_mandir}/man8/dump.8*
128 %{_mandir}/man8/rdump.8*
129 %{_mandir}/man8/restore.8*
130 %{_mandir}/man8/rrestore.8*
131
132 %files -n rmt
133 %defattr(644,root,root,755)
134 %attr(755,root,root) /sbin/rmt
135 %attr(755,root,root) %{_sysconfdir}/rmt
136 %{_mandir}/man8/rmt.8*
This page took 0.111839 seconds and 3 git commands to generate.