1 Summary: A network-capable tape backup solution
2 Summary(pl): Sieciowo zorientowany system tworzenia kopii zapasowych
7 Group: Networking/Utilities
8 Group(de): Netzwerkwesen/Werkzeuge
9 Group(pl): Sieciowe/Narzêdzia
10 Source0: ftp://ftp.amanda.org/pub/amanda/%{name}-%{version}.tar.gz
11 Source1: %{name}-srv.crontab
12 Source2: %{name}.inetd
13 Source3: %{name}idx.inetd
14 Source4: amidxtape.inetd
16 Patch0: %{name}-no_libnsl.patch
17 Patch1: %{name}-am_fixes.patch
18 BuildRequires: autoconf
19 BuildRequires: automake
24 BuildRequires: ncurses-devel >= 5.0
25 BuildRequires: readline-devel >= 4.1
26 Prereq: /sbin/ldconfig
27 URL: http://www.amanda.org/
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 %define _sysconfdir /etc
31 %define _localstatedir /var
32 %define _libexecdir %{_libdir}/amanda
35 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a
36 backup system that allows the administrator of a LAN to set up a
37 single master backup server to back up multiple hosts to a single
38 large capacity tape drive. AMANDA uses native dump and/or GNU tar
39 facilities and can back up a large number of workstations running
40 multiple versions of Unix. Newer versions of AMANDA (including this
41 version) can use SAMBA to back up Microsoft(TM) Windows95/NT hosts.
42 The amanda package contains the core AMANDA programs and will need to
43 be installed on both AMANDA clients and AMANDA servers. Note that you
44 will have to install the amanda-client and amanda-server packages as
48 AMANDA jest sieciowo zorientowanym systemem tworzenia kopii
49 zapasowych. Umo¿liwia administratorowi sieci tworzenie kopii z kilku
50 hostów na jednej maszynie wyposa¿onej w pojemny dysk lub streamer.
51 Nowsze wersje programu umo¿liwiaj± zabezpieczanie zasobów Microsoft
52 Windows 95/98/NT/2000 przy u¿yciu protoko³u Samba. Ten pakiet zawiera
53 podstawowe pliki programu i powinien byæ zainstalowany zarówno na
54 serwerze jak i na kliencie. Pamiêtaj tak¿e o instalacji pakietów
55 amanda-client i amanda-server!
58 Summary: Amanda shared libraries
59 Summary(pl): Biblioteki wspó³dzielone pakietu amanda
60 Group: Networking/Utilities
61 Group(de): Netzwerkwesen/Werkzeuge
62 Group(pl): Sieciowe/Narzêdzia
65 Amanda shared libraries.
67 %description -l pl libs
68 Biblioteki wspó³dzielone pakietu amanda.
71 Summary: The client side of Amanda
72 Summary(pl): Klient Amandy
73 Group: Networking/Utilities
74 Group(de): Netzwerkwesen/Werkzeuge
75 Group(pl): Sieciowe/Narzêdzia
76 Prereq: /sbin/ldconfig
77 Prereq: %{name}-libs = %{version}
80 The Amanda-client package should be installed on any machine that will
81 be backed up by AMANDA (including the server if it also needs to be
82 backed up). You will also need to install the amanda package to each
85 %description -l pl client
86 Ten pakiet powinien byæ zainstalowany ma maszynach, z których
87 zawarto¶ci bêd± tworzone kopie zapasowe.
90 Summary: The server side of Amanda
91 Summary(pl): Serwer Amandy
92 Group: Networking/Utilities
93 Group(de): Netzwerkwesen/Werkzeuge
94 Group(pl): Sieciowe/Narzêdzia
96 Prereq: /sbin/ldconfig
102 Requires: /etc/cron.d
103 Prereq: %{name}-libs = %{version}
106 The amanda-server package should be installed on the AMANDA server,
107 the machine attached to the device (such as a tape drive) where
108 backups will be written. You will also need to install the amanda
109 package to the AMANDA server. And, if the server is also to be backed
110 up, the server also needs to have the amanda-client package installed.
112 %description -l pl server
113 Ten pakiet powinien byæ zainstalowanych na maszynach, na których bêd±
114 magazynowane kopie zapasowe (lub do których podpiête s± urz±dzenia
130 --with-index-server=localhost \
132 --with-group=amanda \
133 --with-tape-device=/dev/null \
134 --with-ftape-rawdevice=/dev/null \
135 --with-changer-device=/dev/null \
137 --with-smbclient=%{_bindir}/smbclient \
138 --with-bsd-security \
139 --with-buffered-dump \
141 --with-debugging=%{_localstatedir}/lib/amanda/debug
146 rm -rf $RPM_BUILD_ROOT
147 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{amanda,cron.d,sysconfig/rc-inetd} \
148 $RPM_BUILD_ROOT%{_localstatedir}/lib/amanda
151 DESTDIR=$RPM_BUILD_ROOT \
154 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/amanda-srv
155 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amanda
156 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amandaidx
157 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amidxtape
159 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/amanda
160 install example/*.ps $RPM_BUILD_ROOT%{_localstatedir}/lib/amanda
165 rm -rf $RPM_BUILD_ROOT
168 /usr/sbin/groupadd -g 80 -r -f amanda
169 /usr/sbin/useradd -u 80 -r -d /var/lib/amanda -s /bin/false -c "Amanda Backup user" -g amanda amanda
171 %post libs -p /sbin/ldconfig
175 if [ "$1" = "0" ]; then
176 /usr/sbin/groupdel amanda
177 /usr/sbin/userdel amanda
182 if [ -f /var/lock/subsys/rc-inetd ]; then
183 /etc/rc.d/init.d/rc-inetd restart 1>&2
185 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2
190 if [ -f /var/lock/subsys/rc-inetd ]; then
191 /etc/rc.d/init.d/rc-inetd restart
196 if [ -f /var/lock/subsys/rc-inetd ]; then
197 /etc/rc.d/init.d/rc-inetd restart 1>&2
199 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2
204 if [ -f /var/lock/subsys/rc-inetd ]; then
205 /etc/rc.d/init.d/rc-inetd restart
209 %defattr(644,root,root,755)
210 %attr(755,root,root) %{_libdir}/libamanda*.so
211 %attr(755,root,root) %{_libdir}/libamtape*.so
212 %attr(770,root,amanda) %dir %{_libexecdir}
215 %defattr(644,root,root,755)
217 %config(noreplace) /etc/sysconfig/rc-inetd/amidxtape
218 %config(noreplace) /etc/sysconfig/rc-inetd/amandaidx
220 %dir %{_sysconfdir}/amanda
221 %attr(640,root,amanda) %{_sysconfdir}/amanda/*
223 %attr(660,root,amanda) %dir %{_localstatedir}/lib/amanda
224 %{_localstatedir}/lib/amanda/*
226 %attr(640,root,root) /etc/cron.d/amanda-srv
228 %attr(755,root,root) %{_libdir}/libamserver*.so
229 %attr(755,root,root) %{_libexecdir}/amindexd
230 %attr(755,root,root) %{_libexecdir}/amtrmidx
231 %attr(755,root,root) %{_libexecdir}/driver
232 %attr(4754,root,amanda) %{_libexecdir}/dumper
233 %attr(4754,root,amanda) %{_libexecdir}/planner
234 %attr(755,root,root) %{_libexecdir}/amcat.awk
235 %attr(755,root,root) %{_libexecdir}/amcleanupdisk
236 %attr(755,root,root) %{_libexecdir}/amidxtaped
237 %attr(755,root,root) %{_libexecdir}/amlogroll
238 %attr(755,root,root) %{_libexecdir}/amplot.awk
239 %attr(755,root,root) %{_libexecdir}/amplot.g
240 %attr(755,root,root) %{_libexecdir}/amplot.gp
241 %attr(755,root,root) %{_libexecdir}/amtrmlog
242 %attr(755,root,root) %{_libexecdir}/chg-chio
243 %attr(755,root,root) %{_libexecdir}/chg-chs
244 %attr(755,root,root) %{_libexecdir}/chg-manual
245 %attr(755,root,root) %{_libexecdir}/chg-mtx
246 %attr(755,root,root) %{_libexecdir}/chg-multi
247 %attr(755,root,root) %{_libexecdir}/chg-rth
248 %attr(755,root,root) %{_libexecdir}/chg-scsi
249 %attr(755,root,root) %{_libexecdir}/chg-zd-mtx
250 %attr(755,root,root) %{_libexecdir}/selfcheck
251 %attr(755,root,root) %{_libexecdir}/taper
252 %attr(755,root,root) %{_sbindir}/amadmin
253 %attr(4754,root,amanda) %{_sbindir}/amcheck
254 %attr(755,root,root) %{_sbindir}/amcheckdb
255 %attr(755,root,root) %{_sbindir}/amcleanup
256 %attr(755,root,root) %{_sbindir}/amdump
257 %attr(755,root,root) %{_sbindir}/amflush
258 %attr(755,root,root) %{_sbindir}/amgetconf
259 %attr(755,root,root) %{_sbindir}/amlabel
260 %attr(755,root,root) %{_sbindir}/amoverview
261 %attr(755,root,root) %{_sbindir}/amplot
262 %attr(755,root,root) %{_sbindir}/amrmtape
263 %attr(755,root,root) %{_sbindir}/amreport
264 %attr(755,root,root) %{_sbindir}/amstatus
265 %attr(755,root,root) %{_sbindir}/amtape
266 %attr(755,root,root) %{_sbindir}/amtoc
267 %attr(755,root,root) %{_sbindir}/amverify
268 %{_mandir}/man8/amadmin.8*
269 %{_mandir}/man8/amrmtape.8*
270 %{_mandir}/man8/amtape.8*
271 %{_mandir}/man8/amtoc.8*
272 %{_mandir}/man8/amanda.8*
273 %{_mandir}/man8/amcheck.8*
274 %{_mandir}/man8/amcleanup.8*
275 %{_mandir}/man8/amdump.8*
276 %{_mandir}/man8/amflush.8*
277 %{_mandir}/man8/amlabel.8*
278 %{_mandir}/man8/amplot.8*
279 %{_mandir}/man8/amreport.8*
280 %{_mandir}/man8/amstatus.8*
283 %defattr(644,root,root,755)
284 %config(noreplace) /etc/sysconfig/rc-inetd/amanda
286 %attr(755,root,root) %{_libdir}/libamclient*.so
287 %attr(755,root,root) %{_libexecdir}/versionsuffix
288 %attr(755,root,root) %{_libexecdir}/amandad
289 %attr(4754,root,amanda) %{_libexecdir}/calcsize
290 %attr(4754,root,amanda) %{_libexecdir}/rundump
291 %attr(4754,root,amanda) %{_libexecdir}/runtar
292 %attr(4754,root,amanda) %{_libexecdir}/selfcheck
293 %attr(755,root,root) %{_libexecdir}/sendbackup
294 %attr(755,root,root) %{_libexecdir}/sendsize
295 %attr(755,root,root) %{_libexecdir}/patch-system
296 %attr(4754,root,amanda) %{_libexecdir}/killpgrp
297 %attr(755,root,root) %{_sbindir}/amrecover
298 %attr(755,root,root) %{_sbindir}/amrestore
299 %{_mandir}/man8/amrecover.8*
300 %{_mandir}/man8/amrestore.8*