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 .
128 LDFLAGS="-s"; export LDFLAGS
131 --with-index-server=localhost \
133 --with-group=amanda \
134 --with-samba-user=amanda \
135 --with-tape-device=/dev/null \
136 --with-ftape-rawdevice=/dev/null \
137 --with-changer-device=/dev/null \
139 --with-smbclient=%{_bindir}/smbclient \
140 --with-bsd-security \
141 --with-buffered-dump \
143 --with-debugging=%{_localstatedir}/lib/amanda/debug
148 rm -rf $RPM_BUILD_ROOT
149 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{amanda,cron.d,sysconfig/rc-inetd} \
150 $RPM_BUILD_ROOT%{_localstatedir}/lib/amanda
153 DESTDIR=$RPM_BUILD_ROOT \
156 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/amanda-srv
157 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amanda
158 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amandaidx
159 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amidxtape
161 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/amanda
162 install example/*.ps $RPM_BUILD_ROOT%{_localstatedir}/lib/amanda
164 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
166 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/*
169 rm -rf $RPM_BUILD_ROOT
172 /usr/sbin/groupadd -g 80 -r -f amanda
173 /usr/sbin/useradd -u 80 -r -d /var/lib/amanda -s /bin/false -c "Amanda Backup user" -g amanda amanda
175 %post libs -p /sbin/ldconfig
179 if [ "$1" = "0" ]; then
180 /usr/sbin/groupdel amanda
181 /usr/sbin/userdel amanda
186 if [ -f /var/lock/subsys/rc-inetd ]; then
187 /etc/rc.d/init.d/rc-inetd restart 1>&2
189 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2
194 if [ -f /var/lock/subsys/rc-inetd ]; then
195 /etc/rc.d/init.d/rc-inetd restart
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 sever" 1>&2
208 if [ -f /var/lock/subsys/rc-inetd ]; then
209 /etc/rc.d/init.d/rc-inetd restart
213 %defattr(644,root,root,755)
214 %attr(755,root,root) %{_libdir}/libamanda*.so.*.*
215 %attr(755,root,root) %{_libdir}/libamtape*.so.*.*
216 %attr(770,root,amanda) %dir %{_libexecdir}
219 %defattr(644,root,root,755)
220 %config(noreplace) /etc/sysconfig/rc-inetd/amidxtape
221 %config(noreplace) /etc/sysconfig/rc-inetd/amandaidx
222 %attr(755,root,root) %{_libexecdir}/amidxtaped
224 %dir %{_sysconfdir}/amanda
225 %attr(640,root,amanda) %{_sysconfdir}/amanda/*
227 %attr(660,amanda,amanda) %dir %{_localstatedir}/lib/amanda
228 %{_localstatedir}/lib/amanda/*
230 %attr(640,root,root) /etc/cron.d/amanda-srv
232 %attr(755,root,root) %{_libdir}/libamserver*.so.*.*
233 %attr(755,root,root) %{_libexecdir}/amindexd
234 %attr(755,root,root) %{_libexecdir}/amtrmidx
235 %attr(755,root,root) %{_libexecdir}/driver
236 %attr(4754,root,amanda) %{_libexecdir}/dumper
237 %attr(755,root,root) %{_libexecdir}/getconf
238 %attr(4754,root,amanda) %{_libexecdir}/planner
239 %attr(755,root,root) %{_libexecdir}/taper
240 %attr(755,root,root) %{_libexecdir}/chg-chio
241 %attr(755,root,root) %{_libexecdir}/chg-manual
242 %attr(755,root,root) %{_libexecdir}/chg-multi
243 %attr(755,root,root) %{_libexecdir}/chg-mtx
244 %attr(755,root,root) %{_libexecdir}/chg-rth
245 %attr(755,root,root) %{_libexecdir}/chg-chs
246 %attr(755,root,root) %{_sbindir}/amadmin
247 %attr(4754,root,amanda) %{_sbindir}/amcheck
248 %attr(755,root,root) %{_sbindir}/amflush
249 %attr(755,root,root) %{_sbindir}/amlabel
250 %attr(755,root,root) %{_sbindir}/amtape
251 %attr(755,root,root) %{_sbindir}/amcheckdb
252 %attr(755,root,root) %{_sbindir}/amcleanup
253 %attr(755,root,root) %{_sbindir}/amdump
254 %attr(755,root,root) %{_sbindir}/amoverview
255 %attr(755,root,root) %{_sbindir}/amrmtape
256 %attr(755,root,root) %{_sbindir}/amtoc
257 %attr(755,root,root) %{_sbindir}/amverify
258 #%attr(755,root,root) %{_sbindir}/amplot
259 %attr(755,root,root) %{_sbindir}/amreport
260 %attr(755,root,root) %{_sbindir}/amstatus
261 %{_mandir}/man8/amadmin.8*
262 %{_mandir}/man8/amrmtape.8*
263 %{_mandir}/man8/amtape.8*
264 %{_mandir}/man8/amtoc.8*
265 %{_mandir}/man8/amanda.8*
266 %{_mandir}/man8/amcheck.8*
267 %{_mandir}/man8/amcleanup.8*
268 %{_mandir}/man8/amdump.8*
269 %{_mandir}/man8/amflush.8*
270 %{_mandir}/man8/amlabel.8*
271 %{_mandir}/man8/amplot.8*
272 %{_mandir}/man8/amreport.8*
273 %{_mandir}/man8/amstatus.8*
276 %defattr(644,root,root,755)
277 %config(noreplace) /etc/sysconfig/rc-inetd/amanda
279 %attr(755,root,root) %{_libdir}/libamclient*.so.*.*
280 %attr(755,root,root) %{_libexecdir}/versionsuffix
281 %attr(755,root,root) %{_libexecdir}/amandad
282 %attr(4754,root,amanda) %{_libexecdir}/calcsize
283 %attr(4754,root,amanda) %{_libexecdir}/rundump
284 %attr(4754,root,amanda) %{_libexecdir}/runtar
285 %attr(4754,root,amanda) %{_libexecdir}/selfcheck
286 %attr(755,root,root) %{_libexecdir}/sendbackup
287 %attr(755,root,root) %{_libexecdir}/sendsize
288 %attr(755,root,root) %{_libexecdir}/patch-system
289 %attr(4754,root,amanda) %{_libexecdir}/killpgrp
290 %attr(755,root,root) %{_sbindir}/amrecover
291 %attr(755,root,root) %{_sbindir}/amrestore
292 %{_mandir}/man8/amrecover.8*
293 %{_mandir}/man8/amrestore.8*