]> git.pld-linux.org Git - packages/dump.git/blob - dump.spec
- masive changes:
[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 
115
116 %changelog
117 * Tue Sep 15 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
118   [0.3-14]
119 - added %verify rules to /etc/dumdates and added noreplace %config
120   paramerer,
121 - rdump(8) and rrestore(8) man pagea are now maked as nroff include to
122   dump(8) and restore(8) instead making sym link to dump.8 and restore.8
123   (this allow compress man pages in future).
124
125 * Sat Sep 12 1998 Konrad Stêpieñ <konrad@interdata.com.pl>
126 - added ability to build from non-root,
127 - added %attr macros,
128 - added pl translation,
129 - removed link to rmt in /etc.
130
131 * Tue Jul 14 1998 Jeff Johnson <jbj@redhat.com>
132 - add build root.
133
134 * Tue May 05 1998 Prospector System <bugs@redhat.com>
135 - translations modified for de, fr, tr
136
137 * Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
138 - added a patch for resolving linux/types.h and sys/types.h conflicts
139
140 * Wed Dec 31 1997 Erik Troan <ewt@redhat.com>
141 - added prototype of llseek() so dump would work on large partitions
142
143 * Thu Oct 30 1997 Donnie Barnes <djb@redhat.com>
144 - made all symlinks relative instead of absolute
145
146 * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
147 - built against glibc
148
149 * Thu Mar 06 1997 Michael K. Johnson <johnsonm@redhat.com>
150 - Moved rmt to its own package.
151
152 * Tue Feb 11 1997 Michael Fulbright <msf@redhat.com>
153 - Added endian cleanups for SPARC
154
155 * Fri Feb 07 1997 Michael K. Johnson <johnsonm@redhat.com> 
156 - Made /etc/dumpdates writeable by group disk.
This page took 0.050333 seconds and 4 git commands to generate.