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: http://prdownloads.sourceforge.net/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 Patch2: %{name}-bug18322.patch
19 Patch3: %{name}-build_tapetype.patch
20 Patch4: %{name}-no_private_libtool.m4.patch
21 Patch5: %{name}-ac25x.patch
22 URL: http://www.amanda.org/
23 BuildRequires: autoconf
24 BuildRequires: automake
28 BuildRequires: gnuplot
29 BuildRequires: libtool
30 BuildRequires: readline-devel >= 4.2
32 Prereq: /sbin/ldconfig
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 %define _sysconfdir /etc
36 %define _localstatedir /var/lib
37 %define _libexecdir %{_libdir}/amanda
40 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a
41 backup system that allows the administrator of a LAN to set up a
42 single master backup server to back up multiple hosts to a single
43 large capacity tape drive. AMANDA uses native dump and/or GNU tar
44 facilities and can back up a large number of workstations running
45 multiple versions of Unix. Newer versions of AMANDA (including this
46 version) can use SAMBA to back up Microsoft(TM) Windows95/NT hosts.
47 The amanda package contains the core AMANDA programs and will need to
48 be installed on both AMANDA clients and AMANDA servers. Note that you
49 will have to install the amanda-client and amanda-server packages as
53 AMANDA jest sieciowo zorientowanym systemem tworzenia kopii
54 zapasowych. Umo¿liwia administratorowi sieci tworzenie kopii z kilku
55 hostów na jednej maszynie wyposa¿onej w pojemny dysk lub streamer.
56 Nowsze wersje programu umo¿liwiaj± zabezpieczanie zasobów Microsoft
57 Windows 95/98/NT/2000 przy u¿yciu protoko³u Samba. Ten pakiet zawiera
58 podstawowe pliki programu i powinien byæ zainstalowany zarówno na
59 serwerze jak i na kliencie. Pamiêtaj tak¿e o instalacji pakietów
60 amanda-client i amanda-server!
63 Summary: Amanda shared libraries
64 Summary(pl): Biblioteki wspó³dzielone pakietu amanda
65 Group: Networking/Utilities
66 Group(de): Netzwerkwesen/Werkzeuge
67 Group(pl): Sieciowe/Narzêdzia
70 Amanda shared libraries.
72 %description -l pl libs
73 Biblioteki wspó³dzielone pakietu amanda.
76 Summary: The client side of Amanda
77 Summary(pl): Klient Amandy
78 Group: Networking/Utilities
79 Group(de): Netzwerkwesen/Werkzeuge
80 Group(pl): Sieciowe/Narzêdzia
81 Prereq: /sbin/ldconfig
83 Prereq: %{name}-libs = %{version}
86 The Amanda-client package should be installed on any machine that will
87 be backed up by AMANDA (including the server if it also needs to be
88 backed up). You will also need to install the amanda package to each
89 AMANDA client. It requires at least one of dump and GNU tar installed.
91 %description -l pl client
92 Ten pakiet powinien byæ zainstalowany ma maszynach, z których
93 zawarto¶ci bêd± tworzone kopie zapasowe. Wymaga zainstalowanego co
94 najmniej jednego z pakietów dump i GNU tar.
97 Summary: The server side of Amanda
98 Summary(pl): Serwer Amandy
99 Group: Networking/Utilities
100 Group(de): Netzwerkwesen/Werkzeuge
101 Group(pl): Sieciowe/Narzêdzia
103 Prereq: /sbin/ldconfig
106 Requires: /etc/cron.d
108 Prereq: %{name}-libs = %{version}
111 The amanda-server package should be installed on the AMANDA server,
112 the machine attached to the device (such as a tape drive) where
113 backups will be written. You will also need to install the amanda
114 package to the AMANDA server. And, if the server is also to be backed
115 up, the server also needs to have the amanda-client package installed.
117 %description -l pl server
118 Ten pakiet powinien byæ zainstalowanych na maszynach, na których bêd±
119 magazynowane kopie zapasowe (lub do których podpiête s± urz±dzenia
132 libtoolize --copy --force
141 --with-index-server=localhost \
143 --with-group=amanda \
144 --with-tape-device=/dev/null \
145 --with-ftape-rawdevice=/dev/null \
146 --with-changer-device=/dev/null \
148 --with-smbclient=%{_bindir}/smbclient \
149 --with-bsd-security \
150 --with-buffered-dump \
152 --with-debugging=%{_localstatedir}/amanda/debug \
153 --with-gnutar-listdir=%{_localstatedir}/amanda/gnutar-lists \
154 --with-tmpdir=/var/tmp
159 rm -rf $RPM_BUILD_ROOT
160 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{amanda,cron.d,sysconfig/rc-inetd} \
161 $RPM_BUILD_ROOT%{_localstatedir}/amanda
164 DESTDIR=$RPM_BUILD_ROOT \
167 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/amanda-srv
168 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amanda
169 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amandaidx
170 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amidxtape
172 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/amanda
173 install example/*.ps $RPM_BUILD_ROOT%{_localstatedir}/amanda
175 > $RPM_BUILD_ROOT%{_sysconfdir}/amandates
180 rm -rf $RPM_BUILD_ROOT
182 %triggerpostun -- amanda-libs < 2.4.2p2-3
183 /usr/sbin/chsh -s /bin/sh amanda
186 /usr/sbin/groupadd -g 80 -r -f amanda
187 /usr/sbin/useradd -u 80 -r -d /var/lib/amanda -s /bin/sh -c "Amanda Backup user" -g amanda amanda
189 %post libs -p /sbin/ldconfig
193 if [ "$1" = "0" ]; then
194 /usr/sbin/groupdel amanda
195 /usr/sbin/userdel amanda
200 if [ -f /var/lock/subsys/rc-inetd ]; then
201 /etc/rc.d/init.d/rc-inetd restart 1>&2
203 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
208 if [ -f /var/lock/subsys/rc-inetd ]; then
209 /etc/rc.d/init.d/rc-inetd restart
214 if [ -f /var/lock/subsys/rc-inetd ]; then
215 /etc/rc.d/init.d/rc-inetd restart 1>&2
217 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
222 if [ -f /var/lock/subsys/rc-inetd ]; then
223 /etc/rc.d/init.d/rc-inetd restart
227 %defattr(644,root,root,755)
228 %attr(755,root,root) %{_libdir}/libamanda*.so
229 %attr(755,root,root) %{_libdir}/libamtape*.so
230 %attr(770,root,amanda) %dir %{_libexecdir}
231 %attr(660,root,amanda) %dir %{_localstatedir}/amanda
234 %defattr(644,root,root,755)
236 %config(noreplace) /etc/sysconfig/rc-inetd/amidxtape
237 %config(noreplace) /etc/sysconfig/rc-inetd/amandaidx
239 %attr(750,root,amanda) %dir %{_sysconfdir}/amanda
240 %attr(640,root,amanda) %{_sysconfdir}/amanda/*
242 %attr(664,amanda,amanda) %{_localstatedir}/amanda/*
244 %attr(640,root,root) /etc/cron.d/amanda-srv
246 %attr(755,root,root) %{_libdir}/libamserver*.so
247 %attr(755,root,root) %{_libexecdir}/amindexd
248 %attr(755,root,root) %{_libexecdir}/amtrmidx
249 %attr(755,root,root) %{_libexecdir}/driver
250 %attr(4754,root,amanda) %{_libexecdir}/dumper
251 %attr(4754,root,amanda) %{_libexecdir}/planner
252 %attr(755,root,root) %{_libexecdir}/amcat.awk
253 %attr(755,root,root) %{_libexecdir}/amcleanupdisk
254 %attr(755,root,root) %{_libexecdir}/amidxtaped
255 %attr(755,root,root) %{_libexecdir}/amlogroll
256 %attr(755,root,root) %{_libexecdir}/amplot.awk
257 %attr(755,root,root) %{_libexecdir}/amplot.g
258 %attr(755,root,root) %{_libexecdir}/amplot.gp
259 %attr(755,root,root) %{_libexecdir}/amtrmlog
260 %attr(755,root,root) %{_libexecdir}/chg-chio
261 %attr(755,root,root) %{_libexecdir}/chg-chs
262 %attr(755,root,root) %{_libexecdir}/chg-manual
263 %attr(755,root,root) %{_libexecdir}/chg-mtx
264 %attr(755,root,root) %{_libexecdir}/chg-multi
265 %attr(755,root,root) %{_libexecdir}/chg-rth
266 %attr(755,root,root) %{_libexecdir}/chg-scsi
267 %attr(755,root,root) %{_libexecdir}/chg-zd-mtx
268 %attr(755,root,root) %{_libexecdir}/selfcheck
269 %attr(755,root,root) %{_libexecdir}/taper
270 %attr(755,root,root) %{_sbindir}/amadmin
271 %attr(4754,root,amanda) %{_sbindir}/amcheck
272 %attr(755,root,root) %{_sbindir}/amcheckdb
273 %attr(755,root,root) %{_sbindir}/amcleanup
274 %attr(755,root,root) %{_sbindir}/amdump
275 %attr(755,root,root) %{_sbindir}/amflush
276 %attr(755,root,root) %{_sbindir}/amgetconf
277 %attr(755,root,root) %{_sbindir}/amlabel
278 %attr(755,root,root) %{_sbindir}/amoverview
279 %attr(755,root,root) %{_sbindir}/amplot
280 %attr(755,root,root) %{_sbindir}/amrmtape
281 %attr(755,root,root) %{_sbindir}/amreport
282 %attr(755,root,root) %{_sbindir}/amstatus
283 %attr(755,root,root) %{_sbindir}/amtape
284 %attr(755,root,root) %{_sbindir}/amtoc
285 %attr(755,root,root) %{_sbindir}/amverify
286 %attr(755,root,root) %{_sbindir}/tapetype
287 %{_mandir}/man8/amadmin.8*
288 %{_mandir}/man8/amrmtape.8*
289 %{_mandir}/man8/amtape.8*
290 %{_mandir}/man8/amtoc.8*
291 %{_mandir}/man8/amanda.8*
292 %{_mandir}/man8/amcheck.8*
293 %{_mandir}/man8/amcleanup.8*
294 %{_mandir}/man8/amdump.8*
295 %{_mandir}/man8/amflush.8*
296 %{_mandir}/man8/amlabel.8*
297 %{_mandir}/man8/amplot.8*
298 %{_mandir}/man8/amreport.8*
299 %{_mandir}/man8/amstatus.8*
302 %defattr(644,root,root,755)
303 %config(noreplace) /etc/sysconfig/rc-inetd/amanda
304 %attr(664,root,amanda) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/amandates
305 %attr(755,root,root) %{_libdir}/libamclient*.so
306 %attr(755,root,root) %{_libexecdir}/versionsuffix
307 %attr(755,root,root) %{_libexecdir}/amandad
308 %attr(4754,root,amanda) %{_libexecdir}/calcsize
309 %attr(4754,root,amanda) %{_libexecdir}/rundump
310 %attr(4754,root,amanda) %{_libexecdir}/runtar
311 %attr(4754,root,amanda) %{_libexecdir}/selfcheck
312 %attr(755,root,root) %{_libexecdir}/sendbackup
313 %attr(755,root,root) %{_libexecdir}/sendsize
314 %attr(755,root,root) %{_libexecdir}/patch-system
315 %attr(4754,root,amanda) %{_libexecdir}/killpgrp
316 %attr(755,root,root) %{_sbindir}/amrecover
317 %attr(755,root,root) %{_sbindir}/amrestore
318 %{_mandir}/man8/amrecover.8*
319 %{_mandir}/man8/amrestore.8*