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