1 Summary: A network-capable tape backup solution
2 Summary(pl): Sieciowo zorientowany system tworzenia kopii zapasowych
7 Group: Networking/Utilities
8 Group(pl): Sieciowe/Narzêdzia
9 Source0: ftp://ftp.amanda.org/pub/amanda/%{name}-%{version}.tar.gz
10 Source1: %{name}-srv.crontab
11 Source2: %{name}.inetd
12 Source3: %{name}idx.inetd
13 Source4: amidxtape.inetd
15 Patch0: %{name}-DESTDIR.patch
16 Patch1: amanda-no_libnsl.patch
17 Patch2: amanda-glibc21.patch
18 Patch3: amanda-glibc22.patch
19 BuildRequires: autoconf
20 BuildRequires: automake
25 BuildRequires: ncurses-devel >= 5.0
26 BuildRequires: readline-devel >= 4.1
27 Prereq: /sbin/ldconfig
28 URL: http://www.amanda.org/
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 %define _sysconfdir /etc
32 %define _localstatedir /var
33 %define _libexecdir %{_libdir}/amanda
36 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a
37 backup system that allows the administrator of a LAN to set up a
38 single master backup server to back up multiple hosts to a single
39 large capacity tape drive. AMANDA uses native dump and/or GNU tar
40 facilities and can back up a large number of workstations running
41 multiple versions of Unix. Newer versions of AMANDA (including this
42 version) can use SAMBA to back up Microsoft(TM) Windows95/NT hosts.
43 The amanda package contains the core AMANDA programs and will need to
44 be installed on both AMANDA clients and AMANDA servers. Note that you
45 will have to install the amanda-client and amanda-server packages as
49 AMANDA jest sieciowo zorientowanym systemem tworzenia kopii
50 zapasowych. Umo¿liwia administratorowi sieci tworzenie kopii z kilku
51 hostów na jednej maszynie wyposa¿onej w pojemny dysk lub streamer.
52 Nowsze wersje programu umo¿liwiaj± zabezpieczanie zasobów Microsoft
53 Windows 95/98/NT/2000 przy u¿yciu protoko³u Samba. Ten pakiet zawiera
54 podstawowe pliki programu i powinien byæ zainstalowany zarówno na
55 serwerze jak i na kliencie. Pamiêtaj tak¿e o instalacji pakietów
56 amanda-client i amanda-server!
59 Summary: Amanda shared libraries
60 Summary(pl): Biblioteki wspó³dzielone pakietu amanda
61 Group: Networking/Utilities
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(pl): Sieciowe/Narzêdzia
75 Prereq: /sbin/ldconfig
76 Prereq: %{name}-libs = %{version}
79 The Amanda-client package should be installed on any machine that will
80 be backed up by AMANDA (including the server if it also needs to be
81 backed up). You will also need to install the amanda package to each
84 %description -l pl client
85 Ten pakiet powinien byæ zainstalowany ma maszynach, z których
86 zawarto¶ci bêd± tworzone kopie zapasowe.
89 Summary: The server side of Amanda
90 Summary(pl): Serwer Amandy
91 Group: Networking/Utilities
92 Group(pl): Sieciowe/Narzêdzia
94 Prereq: /sbin/ldconfig
100 Requires: /etc/cron.d
101 Prereq: %{name}-libs = %{version}
104 The amanda-server package should be installed on the AMANDA server,
105 the machine attached to the device (such as a tape drive) where
106 backups will be written. You will also need to install the amanda
107 package to the AMANDA server. And, if the server is also to be backed
108 up, the server also needs to have the amanda-client package installed.
110 %description -l pl server
111 Ten pakiet powinien byæ zainstalowanych na maszynach, na których bêd±
112 magazynowane kopie zapasowe (lub do których podpiête s± urz±dzenia
123 cp config/acinclude.m4 .
130 --with-index-server=localhost \
132 --with-group=amanda \
133 --with-samba-user=amanda \
134 --with-tape-device=/dev/null \
135 --with-ftape-rawdevice=/dev/null \
136 --with-changer-device=/dev/null \
138 --with-smbclient=%{_bindir}/smbclient \
139 --with-bsd-security \
140 --with-buffered-dump \
142 --with-debugging=%{_localstatedir}/lib/amanda/debug
147 rm -rf $RPM_BUILD_ROOT
148 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{amanda,cron.d,sysconfig/rc-inetd} \
149 $RPM_BUILD_ROOT%{_localstatedir}/lib/amanda
152 DESTDIR=$RPM_BUILD_ROOT \
155 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/amanda-srv
156 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amanda
157 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amandaidx
158 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amidxtape
160 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/amanda
161 install example/*.ps $RPM_BUILD_ROOT%{_localstatedir}/lib/amanda
164 rm -rf $RPM_BUILD_ROOT
167 /usr/sbin/groupadd -g 80 -r -f amanda
168 /usr/sbin/useradd -u 80 -r -d /var/lib/amanda -s /bin/false -c "Amanda Backup user" -g amanda amanda
170 %post libs -p /sbin/ldconfig
174 if [ "$1" = "0" ]; then
175 /usr/sbin/groupdel amanda
176 /usr/sbin/userdel amanda
181 if [ -f /var/lock/subsys/rc-inetd ]; then
182 /etc/rc.d/init.d/rc-inetd restart 1>&2
184 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2
189 if [ -f /var/lock/subsys/rc-inetd ]; then
190 /etc/rc.d/init.d/rc-inetd restart
195 if [ -f /var/lock/subsys/rc-inetd ]; then
196 /etc/rc.d/init.d/rc-inetd restart 1>&2
198 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2
203 if [ -f /var/lock/subsys/rc-inetd ]; then
204 /etc/rc.d/init.d/rc-inetd restart
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)
215 %config(noreplace) /etc/sysconfig/rc-inetd/amidxtape
216 %config(noreplace) /etc/sysconfig/rc-inetd/amandaidx
217 %attr(755,root,root) %{_libexecdir}/amidxtaped
219 %dir %{_sysconfdir}/amanda
220 %attr(640,root,amanda) %{_sysconfdir}/amanda/*
222 %attr(660,amanda,amanda) %dir %{_localstatedir}/lib/amanda
223 %{_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(755,root,root) %{_libexecdir}/getconf
233 %attr(4754,root,amanda) %{_libexecdir}/planner
234 %attr(755,root,root) %{_libexecdir}/taper
235 %attr(755,root,root) %{_libexecdir}/chg-chio
236 %attr(755,root,root) %{_libexecdir}/chg-manual
237 %attr(755,root,root) %{_libexecdir}/chg-multi
238 %attr(755,root,root) %{_libexecdir}/chg-mtx
239 %attr(755,root,root) %{_libexecdir}/chg-rth
240 %attr(755,root,root) %{_libexecdir}/chg-chs
241 %attr(755,root,root) %{_sbindir}/amadmin
242 %attr(4754,root,amanda) %{_sbindir}/amcheck
243 %attr(755,root,root) %{_sbindir}/amflush
244 %attr(755,root,root) %{_sbindir}/amlabel
245 %attr(755,root,root) %{_sbindir}/amtape
246 %attr(755,root,root) %{_sbindir}/amcheckdb
247 %attr(755,root,root) %{_sbindir}/amcleanup
248 %attr(755,root,root) %{_sbindir}/amdump
249 %attr(755,root,root) %{_sbindir}/amoverview
250 %attr(755,root,root) %{_sbindir}/amrmtape
251 %attr(755,root,root) %{_sbindir}/amtoc
252 %attr(755,root,root) %{_sbindir}/amverify
253 #%attr(755,root,root) %{_sbindir}/amplot
254 %attr(755,root,root) %{_sbindir}/amreport
255 %attr(755,root,root) %{_sbindir}/amstatus
256 %{_mandir}/man8/amadmin.8*
257 %{_mandir}/man8/amrmtape.8*
258 %{_mandir}/man8/amtape.8*
259 %{_mandir}/man8/amtoc.8*
260 %{_mandir}/man8/amanda.8*
261 %{_mandir}/man8/amcheck.8*
262 %{_mandir}/man8/amcleanup.8*
263 %{_mandir}/man8/amdump.8*
264 %{_mandir}/man8/amflush.8*
265 %{_mandir}/man8/amlabel.8*
266 %{_mandir}/man8/amplot.8*
267 %{_mandir}/man8/amreport.8*
268 %{_mandir}/man8/amstatus.8*
271 %defattr(644,root,root,755)
272 %config(noreplace) /etc/sysconfig/rc-inetd/amanda
274 %attr(755,root,root) %{_libdir}/libamclient*.so.*.*
275 %attr(755,root,root) %{_libexecdir}/versionsuffix
276 %attr(755,root,root) %{_libexecdir}/amandad
277 %attr(4754,root,amanda) %{_libexecdir}/calcsize
278 %attr(4754,root,amanda) %{_libexecdir}/rundump
279 %attr(4754,root,amanda) %{_libexecdir}/runtar
280 %attr(4754,root,amanda) %{_libexecdir}/selfcheck
281 %attr(755,root,root) %{_libexecdir}/sendbackup
282 %attr(755,root,root) %{_libexecdir}/sendsize
283 %attr(755,root,root) %{_libexecdir}/patch-system
284 %attr(4754,root,amanda) %{_libexecdir}/killpgrp
285 %attr(755,root,root) %{_sbindir}/amrecover
286 %attr(755,root,root) %{_sbindir}/amrestore
287 %{_mandir}/man8/amrecover.8*
288 %{_mandir}/man8/amrestore.8*