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