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