]> git.pld-linux.org Git - packages/dump.git/blob - dump.spec
- added using CVS keywords in %changelog (for automating them).
[packages/dump.git] / dump.spec
1 Summary:     dump/restore backup system
2 Summary(de): Dump/Restore-Backup-System 
3 Summary(fr): système de sauvegarde dump/restore
4 Summary(pl): System kopii bezpieczeñstwa dump/restore
5 Summary(tr): dump/restore yedekleme sistemi
6 Name:        dump
7 Version:     0.3
8 Release:     14
9 Copyright:   UCB
10 Group:       Utilities/System
11 Source:      ftp://tsx-11.mit.edu:/pub/linux/packages/ext2fs/%{name}-%{version}.tar.gz
12 Patch:       dump-config.patch
13 Patch1:      dump-0.3-types.patch
14 Patch2:      dump-0.3-glibc.patch
15 Patch3:      dump-0.3-sparc.patch
16 Patch4:      dump-0.3-kernel.patch
17 Requires:    rmt
18 BuildRoot:      /tmp/%{name}-%{version}-root
19
20 %description
21 dump and restore can be used to backup extended 2 (ext2) partitions in
22 a variety of ways.
23
24 %description -l de
25 Sie können mit dump und restore verschiedene Verfahren zum Sichern 
26 von extended 2 (ext2)-Partitionen ausführen.
27
28 %description -l fr
29 dupm et restore servent à sauvegarder des partitions ext2 de plusieurs
30 façons possibles
31
32 %description -l pl
33 Programy dump i restore s³u¿± do tworzenia i odtwarzanie kopii
34 bezpieczeñstwa partycji z systemem plków ext2.
35
36 %description -l tr
37 dump, ext2 bölümlerini birkaç deðiþik þekilde yedeklemek için kullanýlýr.
38 restore ise dump ile alýnan yedekleri geri yükleyen programdýr.
39
40 %package -n rmt
41 Summary:     Remote (network) tape device access
42 Summary(de): Entfernter Zugriff (Netzwerk) auf Magnetbandgeräte
43 Summary(fr): Accès distant (réseau) à un périphérique bande
44 Summary(pl): Zdalny dostêp do napêdów ta¶m magnetycznych
45 Summary(tr): Uzak teyp sürücülerine eriþim aracý
46 Group:       Utilities/System
47
48 %description -n rmt
49 rmt provides remote access to tape devices for programs like dump,
50 restore, and tar.
51
52 %description -l de -n rmt
53 rmt stellt Remote-Access zu Bandgeräten für Programme wie Dump, Restore 
54 und tar bereit. 
55
56 %description -l fr -n rmt
57 rmt offre un accès distant aux périphériques bandes pour des programmes comme
58 dump, restore et tar.
59
60 %description -l pl -n rmt
61 Program rmt umo¿liwia zdalny dostêp do napêdów ta¶m magnetycznych
62 dla programów takich jak dump, restore czy tar
63
64 %description -l tr -n rmt
65 rmt programý, dump, restore ve tar gibi programlar için teyp aygýtlarýna
66 uzaktan eriþim saðlar.
67
68 %prep
69 %setup -q
70 %patch0 -p0 -b .config 
71 %patch1 -p1 -b .types
72 %patch2 -p1 -b .glibc
73 #%patch3 -p1 -b .sparc
74 %patch4 -p1 -b .kernel
75
76 %build
77 make OPT="$RPM_OPT_FLAGS"
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81 install -d $RPM_BUILD_ROOT/{etc,sbin,usr/man/man8}
82
83 MYNAME=`id -u`
84 MYGRP=`id -g`
85 make BINDIR=$RPM_BUILD_ROOT/sbin MANDIR=$RPM_BUILD_ROOT%{_mandir}/man8 \
86 BINOWN=$MYNAME BINGRP=$MYGRP MANOWN=$MYNAME MANGRP=$MYGRP install
87
88 > $RPM_BUILD_ROOT/etc/dumpdates
89
90 ln -sf dump $RPM_BUILD_ROOT/sbin/rdump
91 ln -sf restore $RPM_BUILD_ROOT/sbin/rrestore
92
93 echo ".so dump.8" > $RPM_BUILD_ROOT%{_mandir}/man8/rdump.8
94 echo ".so restore.8" > $RPM_BUILD_ROOT%{_mandir}/man8/rrestore.8
95
96 %clean
97 rm -rf $RPM_BUILD_ROOT
98
99 %files
100 %defattr(0644,root,root, 0755)
101 %doc COPYRIGHT KNOWNBUGS THANKS CHANGES dump-0.3.announce
102 %attr(0664,root, disk)  %verify(not md5 mtime size) %config(noreplace) /etc/dumpdates
103 %attr(6755,root,root) /sbin/dump
104 %attr(0755,root,root) /sbin/rdump
105 %attr(6755,root,root) /sbin/restore
106 %attr(0755,root,root) /sbin/rrestore
107 %attr(0755,root,  man) %{_mandir}/man8/dump.8
108 %attr(0755,root,  man) %{_mandir}/man8/rdump.8
109 %attr(0755,root,  man) %{_mandir}/man8/restore.8
110 %attr(0755,root,  man) %{_mandir}/man8/rrestore.8
111
112 %files -n rmt
113 %attr(0755,root,root) /sbin/rmt
114 %attr(0755,root,  man) %{_mandir}/man8/rmt.8 
This page took 0.042417 seconds and 4 git commands to generate.