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
22 BuildRequires: gnuplot
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(de): Netzwerkwesen/Werkzeuge
63 Group(pl): Sieciowe/Narzêdzia
66 Amanda shared libraries.
68 %description -l pl libs
69 Biblioteki wspó³dzielone pakietu amanda.
72 Summary: The client side of Amanda
73 Summary(pl): Klient Amandy
74 Group: Networking/Utilities
75 Group(de): Netzwerkwesen/Werkzeuge
76 Group(pl): Sieciowe/Narzêdzia
77 Prereq: /sbin/ldconfig
78 Prereq: %{name}-libs = %{version}
81 The Amanda-client package should be installed on any machine that will
82 be backed up by AMANDA (including the server if it also needs to be
83 backed up). You will also need to install the amanda package to each
86 %description -l pl client
87 Ten pakiet powinien byæ zainstalowany ma maszynach, z których
88 zawarto¶ci bêd± tworzone kopie zapasowe.
91 Summary: The server side of Amanda
92 Summary(pl): Serwer Amandy
93 Group: Networking/Utilities
94 Group(de): Netzwerkwesen/Werkzeuge
95 Group(pl): Sieciowe/Narzêdzia
97 Prereq: /sbin/ldconfig
103 Requires: /etc/cron.d
104 Prereq: %{name}-libs = %{version}
107 The amanda-server package should be installed on the AMANDA server,
108 the machine attached to the device (such as a tape drive) where
109 backups will be written. You will also need to install the amanda
110 package to the AMANDA server. And, if the server is also to be backed
111 up, the server also needs to have the amanda-client package installed.
113 %description -l pl server
114 Ten pakiet powinien byæ zainstalowanych na maszynach, na których bêd±
115 magazynowane kopie zapasowe (lub do których podpiête s± urz±dzenia
131 --with-index-server=localhost \
133 --with-group=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
166 rm -rf $RPM_BUILD_ROOT
169 /usr/sbin/groupadd -g 80 -r -f amanda
170 /usr/sbin/useradd -u 80 -r -d /var/lib/amanda -s /bin/false -c "Amanda Backup user" -g amanda amanda
172 %post libs -p /sbin/ldconfig
176 if [ "$1" = "0" ]; then
177 /usr/sbin/groupdel amanda
178 /usr/sbin/userdel amanda
183 if [ -f /var/lock/subsys/rc-inetd ]; then
184 /etc/rc.d/init.d/rc-inetd restart 1>&2
186 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2
191 if [ -f /var/lock/subsys/rc-inetd ]; then
192 /etc/rc.d/init.d/rc-inetd restart
197 if [ -f /var/lock/subsys/rc-inetd ]; then
198 /etc/rc.d/init.d/rc-inetd restart 1>&2
200 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2
205 if [ -f /var/lock/subsys/rc-inetd ]; then
206 /etc/rc.d/init.d/rc-inetd restart
210 %defattr(644,root,root,755)
211 %attr(755,root,root) %{_libdir}/libamanda*.so
212 %attr(755,root,root) %{_libdir}/libamtape*.so
213 %attr(770,root,amanda) %dir %{_libexecdir}
216 %defattr(644,root,root,755)
218 %config(noreplace) /etc/sysconfig/rc-inetd/amidxtape
219 %config(noreplace) /etc/sysconfig/rc-inetd/amandaidx
221 %dir %{_sysconfdir}/amanda
222 %attr(640,root,amanda) %{_sysconfdir}/amanda/*
224 %attr(660,root,amanda) %dir %{_localstatedir}/lib/amanda
225 %{_localstatedir}/lib/amanda/*
227 %attr(640,root,root) /etc/cron.d/amanda-srv
229 %attr(755,root,root) %{_libdir}/libamserver*.so
230 %attr(755,root,root) %{_libexecdir}/amindexd
231 %attr(755,root,root) %{_libexecdir}/amtrmidx
232 %attr(755,root,root) %{_libexecdir}/driver
233 %attr(4754,root,amanda) %{_libexecdir}/dumper
234 %attr(4754,root,amanda) %{_libexecdir}/planner
235 %attr(755,root,root) %{_libexecdir}/amcat.awk
236 %attr(755,root,root) %{_libexecdir}/amcleanupdisk
237 %attr(755,root,root) %{_libexecdir}/amidxtaped
238 %attr(755,root,root) %{_libexecdir}/amlogroll
239 %attr(755,root,root) %{_libexecdir}/amplot.awk
240 %attr(755,root,root) %{_libexecdir}/amplot.g
241 %attr(755,root,root) %{_libexecdir}/amplot.gp
242 %attr(755,root,root) %{_libexecdir}/amtrmlog
243 %attr(755,root,root) %{_libexecdir}/chg-chio
244 %attr(755,root,root) %{_libexecdir}/chg-chs
245 %attr(755,root,root) %{_libexecdir}/chg-manual
246 %attr(755,root,root) %{_libexecdir}/chg-mtx
247 %attr(755,root,root) %{_libexecdir}/chg-multi
248 %attr(755,root,root) %{_libexecdir}/chg-rth
249 %attr(755,root,root) %{_libexecdir}/chg-scsi
250 %attr(755,root,root) %{_libexecdir}/chg-zd-mtx
251 %attr(755,root,root) %{_libexecdir}/selfcheck
252 %attr(755,root,root) %{_libexecdir}/taper
253 %attr(755,root,root) %{_sbindir}/amadmin
254 %attr(4754,root,amanda) %{_sbindir}/amcheck
255 %attr(755,root,root) %{_sbindir}/amcheckdb
256 %attr(755,root,root) %{_sbindir}/amcleanup
257 %attr(755,root,root) %{_sbindir}/amdump
258 %attr(755,root,root) %{_sbindir}/amflush
259 %attr(755,root,root) %{_sbindir}/amgetconf
260 %attr(755,root,root) %{_sbindir}/amlabel
261 %attr(755,root,root) %{_sbindir}/amoverview
262 %attr(755,root,root) %{_sbindir}/amplot
263 %attr(755,root,root) %{_sbindir}/amrmtape
264 %attr(755,root,root) %{_sbindir}/amreport
265 %attr(755,root,root) %{_sbindir}/amstatus
266 %attr(755,root,root) %{_sbindir}/amtape
267 %attr(755,root,root) %{_sbindir}/amtoc
268 %attr(755,root,root) %{_sbindir}/amverify
269 %{_mandir}/man8/amadmin.8*
270 %{_mandir}/man8/amrmtape.8*
271 %{_mandir}/man8/amtape.8*
272 %{_mandir}/man8/amtoc.8*
273 %{_mandir}/man8/amanda.8*
274 %{_mandir}/man8/amcheck.8*
275 %{_mandir}/man8/amcleanup.8*
276 %{_mandir}/man8/amdump.8*
277 %{_mandir}/man8/amflush.8*
278 %{_mandir}/man8/amlabel.8*
279 %{_mandir}/man8/amplot.8*
280 %{_mandir}/man8/amreport.8*
281 %{_mandir}/man8/amstatus.8*
284 %defattr(644,root,root,755)
285 %config(noreplace) /etc/sysconfig/rc-inetd/amanda
287 %attr(755,root,root) %{_libdir}/libamclient*.so
288 %attr(755,root,root) %{_libexecdir}/versionsuffix
289 %attr(755,root,root) %{_libexecdir}/amandad
290 %attr(4754,root,amanda) %{_libexecdir}/calcsize
291 %attr(4754,root,amanda) %{_libexecdir}/rundump
292 %attr(4754,root,amanda) %{_libexecdir}/runtar
293 %attr(4754,root,amanda) %{_libexecdir}/selfcheck
294 %attr(755,root,root) %{_libexecdir}/sendbackup
295 %attr(755,root,root) %{_libexecdir}/sendsize
296 %attr(755,root,root) %{_libexecdir}/patch-system
297 %attr(4754,root,amanda) %{_libexecdir}/killpgrp
298 %attr(755,root,root) %{_sbindir}/amrecover
299 %attr(755,root,root) %{_sbindir}/amrestore
300 %{_mandir}/man8/amrecover.8*
301 %{_mandir}/man8/amrestore.8*