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 Patch2: %{name}-bug18322.patch
19 Patch3: %{name}-build_tapetype.patch
20 Patch4: %{name}-no_private_libtool.m4.patch
21 BuildRequires: autoconf
22 BuildRequires: automake
26 BuildRequires: gnuplot
27 BuildRequires: libtool
28 BuildRequires: readline-devel >= 4.2
30 Prereq: /sbin/ldconfig
31 URL: http://www.amanda.org/
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 %define _sysconfdir /etc
35 %define _localstatedir /var
36 %define _libexecdir %{_libdir}/amanda
39 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a
40 backup system that allows the administrator of a LAN to set up a
41 single master backup server to back up multiple hosts to a single
42 large capacity tape drive. AMANDA uses native dump and/or GNU tar
43 facilities and can back up a large number of workstations running
44 multiple versions of Unix. Newer versions of AMANDA (including this
45 version) can use SAMBA to back up Microsoft(TM) Windows95/NT hosts.
46 The amanda package contains the core AMANDA programs and will need to
47 be installed on both AMANDA clients and AMANDA servers. Note that you
48 will have to install the amanda-client and amanda-server packages as
52 AMANDA jest sieciowo zorientowanym systemem tworzenia kopii
53 zapasowych. Umo¿liwia administratorowi sieci tworzenie kopii z kilku
54 hostów na jednej maszynie wyposa¿onej w pojemny dysk lub streamer.
55 Nowsze wersje programu umo¿liwiaj± zabezpieczanie zasobów Microsoft
56 Windows 95/98/NT/2000 przy u¿yciu protoko³u Samba. Ten pakiet zawiera
57 podstawowe pliki programu i powinien byæ zainstalowany zarówno na
58 serwerze jak i na kliencie. Pamiêtaj tak¿e o instalacji pakietów
59 amanda-client i amanda-server!
62 Summary: Amanda shared libraries
63 Summary(pl): Biblioteki wspó³dzielone pakietu amanda
64 Group: Networking/Utilities
65 Group(de): Netzwerkwesen/Werkzeuge
66 Group(pl): Sieciowe/Narzêdzia
69 Amanda shared libraries.
71 %description -l pl libs
72 Biblioteki wspó³dzielone pakietu amanda.
75 Summary: The client side of Amanda
76 Summary(pl): Klient Amandy
77 Group: Networking/Utilities
78 Group(de): Netzwerkwesen/Werkzeuge
79 Group(pl): Sieciowe/Narzêdzia
80 Prereq: /sbin/ldconfig
81 Prereq: %{name}-libs = %{version}
84 The Amanda-client package should be installed on any machine that will
85 be backed up by AMANDA (including the server if it also needs to be
86 backed up). You will also need to install the amanda package to each
89 %description -l pl client
90 Ten pakiet powinien byæ zainstalowany ma maszynach, z których
91 zawarto¶ci bêd± tworzone kopie zapasowe.
94 Summary: The server side of Amanda
95 Summary(pl): Serwer Amandy
96 Group: Networking/Utilities
97 Group(de): Netzwerkwesen/Werkzeuge
98 Group(pl): Sieciowe/Narzêdzia
100 Prereq: /sbin/ldconfig
106 Requires: /etc/cron.d
107 Prereq: %{name}-libs = %{version}
110 The amanda-server package should be installed on the AMANDA server,
111 the machine attached to the device (such as a tape drive) where
112 backups will be written. You will also need to install the amanda
113 package to the AMANDA server. And, if the server is also to be backed
114 up, the server also needs to have the amanda-client package installed.
116 %description -l pl server
117 Ten pakiet powinien byæ zainstalowanych na maszynach, na których bêd±
118 magazynowane kopie zapasowe (lub do których podpiête s± urz±dzenia
130 libtoolize --copy --force
139 --with-index-server=localhost \
141 --with-group=amanda \
142 --with-tape-device=/dev/null \
143 --with-ftape-rawdevice=/dev/null \
144 --with-changer-device=/dev/null \
146 --with-smbclient=%{_bindir}/smbclient \
147 --with-bsd-security \
148 --with-buffered-dump \
150 --with-debugging=%{_localstatedir}/lib/amanda/debug
155 rm -rf $RPM_BUILD_ROOT
156 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{amanda,cron.d,sysconfig/rc-inetd} \
157 $RPM_BUILD_ROOT%{_localstatedir}/lib/amanda
160 DESTDIR=$RPM_BUILD_ROOT \
163 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/amanda-srv
164 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amanda
165 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amandaidx
166 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amidxtape
168 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/amanda
169 install example/*.ps $RPM_BUILD_ROOT%{_localstatedir}/lib/amanda
174 rm -rf $RPM_BUILD_ROOT
176 %triggerpostun -- amanda-libs < 2.4.2p2-3
177 /usr/sbin/chsh -s /bin/sh amanda
181 UID=80; HOMEDIR=/var/lib/amanda; SHELL=/bin/bash
182 COMMENT="Amanda Backup user"; %useradd
184 %post libs -p /sbin/ldconfig
208 %defattr(644,root,root,755)
209 %attr(755,root,root) %{_libdir}/libamanda*.so
210 %attr(755,root,root) %{_libdir}/libamtape*.so
211 %attr(770,root,amanda) %dir %{_libexecdir}
214 %defattr(644,root,root,755)
216 %config(noreplace) /etc/sysconfig/rc-inetd/amidxtape
217 %config(noreplace) /etc/sysconfig/rc-inetd/amandaidx
219 %attr(750,root,amanda) %dir %{_sysconfdir}/amanda
220 %attr(640,root,amanda) %{_sysconfdir}/amanda/*
222 %attr(660,amanda,amanda) %dir %{_localstatedir}/lib/amanda
223 %attr(664,amanda,amanda) %{_localstatedir}/lib/amanda/*
225 %attr(640,root,root) /etc/cron.d/amanda-srv
227 %attr(755,root,root) %{_libdir}/libamserver*.so
228 %attr(755,root,root) %{_libexecdir}/amindexd
229 %attr(755,root,root) %{_libexecdir}/amtrmidx
230 %attr(755,root,root) %{_libexecdir}/driver
231 %attr(4754,root,amanda) %{_libexecdir}/dumper
232 %attr(4754,root,amanda) %{_libexecdir}/planner
233 %attr(755,root,root) %{_libexecdir}/amcat.awk
234 %attr(755,root,root) %{_libexecdir}/amcleanupdisk
235 %attr(755,root,root) %{_libexecdir}/amidxtaped
236 %attr(755,root,root) %{_libexecdir}/amlogroll
237 %attr(755,root,root) %{_libexecdir}/amplot.awk
238 %attr(755,root,root) %{_libexecdir}/amplot.g
239 %attr(755,root,root) %{_libexecdir}/amplot.gp
240 %attr(755,root,root) %{_libexecdir}/amtrmlog
241 %attr(755,root,root) %{_libexecdir}/chg-chio
242 %attr(755,root,root) %{_libexecdir}/chg-chs
243 %attr(755,root,root) %{_libexecdir}/chg-manual
244 %attr(755,root,root) %{_libexecdir}/chg-mtx
245 %attr(755,root,root) %{_libexecdir}/chg-multi
246 %attr(755,root,root) %{_libexecdir}/chg-rth
247 %attr(755,root,root) %{_libexecdir}/chg-scsi
248 %attr(755,root,root) %{_libexecdir}/chg-zd-mtx
249 %attr(755,root,root) %{_libexecdir}/selfcheck
250 %attr(755,root,root) %{_libexecdir}/taper
251 %attr(755,root,root) %{_sbindir}/amadmin
252 %attr(4754,root,amanda) %{_sbindir}/amcheck
253 %attr(755,root,root) %{_sbindir}/amcheckdb
254 %attr(755,root,root) %{_sbindir}/amcleanup
255 %attr(755,root,root) %{_sbindir}/amdump
256 %attr(755,root,root) %{_sbindir}/amflush
257 %attr(755,root,root) %{_sbindir}/amgetconf
258 %attr(755,root,root) %{_sbindir}/amlabel
259 %attr(755,root,root) %{_sbindir}/amoverview
260 %attr(755,root,root) %{_sbindir}/amplot
261 %attr(755,root,root) %{_sbindir}/amrmtape
262 %attr(755,root,root) %{_sbindir}/amreport
263 %attr(755,root,root) %{_sbindir}/amstatus
264 %attr(755,root,root) %{_sbindir}/amtape
265 %attr(755,root,root) %{_sbindir}/amtoc
266 %attr(755,root,root) %{_sbindir}/amverify
267 %attr(755,root,root) %{_sbindir}/tapetype
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*