1 Summary: A network-capable tape backup solution
2 Summary(pl): Sieciowo zorientowany system tworzenia kopii zapasowych
6 Copyright: distributable
7 Group: Networking/Utilities
8 Group(pl): Sieciowe/Narzêdzia
9 Source0: ftp://ftp.amanda.org/pub/amanda/%{name}-%{version}.tar.gz
10 Source1: amanda-srv.crontab
12 Source3: amandaidx.inetd
13 Source4: amidxtape.inetd
15 Patch0: amanda-DESTDIR.patch
20 BuildRequires: ncurses-devel >= 5.0
21 BuildRequires: readline-devel >= 4.1
22 Prereq: /sbin/ldconfig
23 URL: http://www.amanda.org/
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 %define _sysconfdir /etc
27 %define _localstatedir /var
28 %define _libexecdir %{_libdir}/amanda
31 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a
32 backup system that allows the administrator of a LAN to set up a
33 single master backup server to back up multiple hosts to a single
34 large capacity tape drive. AMANDA uses native dump and/or GNU tar
35 facilities and can back up a large number of workstations running
36 multiple versions of Unix. Newer versions of AMANDA (including this
37 version) can use SAMBA to back up Microsoft(TM) Windows95/NT hosts.
38 The amanda package contains the core AMANDA programs and will need to
39 be installed on both AMANDA clients and AMANDA servers. Note that you
40 will have to install the amanda-client and amanda-server packages as
44 AMANDA jest sieciowo zorientowanym systemem tworzenia kopii
45 zapasowych. Umo¿liwia administratorowi sieci tworzenie kopii z kilku
46 hostów na jednej maszynie wyposa¿onej w pojemny dysk lub streamer.
47 Nowsze wersje programu umo¿liwiaj± zabezpieczanie zasobów Microsoft
48 Windows 95/98/NT/2000 przy u¿yciu protoko³u Samba. Ten pakiet zawiera
49 podstawowe pliki programu i powinien byæ zainstalowany zarówno na
50 serwerze jak i na kliencie. Pamiêtaj tak¿e o instalacji pakietów
51 amanda-client i amanda-server!
54 Summary: Amanda shared libraries
55 Summary(pl): Biblioteki wspó³dzielone pakietu amanda
56 Group: Networking/Utilities
57 Group(pl): Sieciowe/Narzêdzia
60 Amanda shared libraries.
62 %description -l pl libs
63 Biblioteki wspó³dzielone pakietu amanda.
66 Summary: The client side of Amanda
67 Summary(pl): Klient Amandy
68 Group: Networking/Utilities
69 Group(pl): Sieciowe/Narzêdzia
70 Prereq: /sbin/ldconfig
71 Prereq: %{name}-libs = %{version}
74 The Amanda-client package should be installed on any machine that will
75 be backed up by AMANDA (including the server if it also needs to be
76 backed up). You will also need to install the amanda package to each
79 %description -l pl client
80 Ten pakiet powinien byæ zainstalowany ma maszynach, z których
81 zawarto¶ci bêd± tworzone kopie zapasowe.
84 Summary: The server side of Amanda
85 Summary(pl): Serwer Amandy
86 Group: Networking/Utilities
87 Group(pl): Sieciowe/Narzêdzia
89 Prereq: /sbin/ldconfig
96 Prereq: %{name}-libs = %{version}
99 The amanda-server package should be installed on the AMANDA server,
100 the machine attached to the device (such as a tape drive) where
101 backups will be written. You will also need to install the amanda
102 package to the AMANDA server. And, if the server is also to be backed
103 up, the server also needs to have the amanda-client package installed.
105 %description -l pl server
106 Ten pakiet powinien byæ zainstalowanych na maszynach, na których bêd±
107 magazynowane kopie zapasowe (lub do których podpiête s± urz±dzenia
117 LDFLAGS="-s"; export LDFLAGS
120 --with-index-server=localhost \
122 --with-group=amanda \
123 --with-samba-user=amanda \
124 --with-tape-device=/dev/null \
125 --with-ftape-rawdevice=/dev/null \
126 --with-changer-device=/dev/null \
128 --with-smbclient=%{_bindir}/smbclient \
129 --with-bsd-security \
130 --with-buffered-dump \
132 --with-debugging=%{_localstatedir}/lib/amanda/debug
137 rm -rf $RPM_BUILD_ROOT
138 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{amanda,cron.d,sysconfig/rc-inetd} \
139 $RPM_BUILD_ROOT%{_localstatedir}/lib/amanda
142 DESTDIR=$RPM_BUILD_ROOT \
145 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/amanda-srv
146 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amanda
147 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amandaidx
148 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amidxtape
150 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/amanda
151 install example/*.ps $RPM_BUILD_ROOT%{_localstatedir}/lib/amanda
153 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
155 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/*
158 rm -rf $RPM_BUILD_ROOT
161 /usr/sbin/groupadd -g 80 -r -f amanda
162 /usr/sbin/useradd -u 80 -r -d /var/lib/amanda -s /bin/false -c "Amanda Backup user" -g amanda amanda
164 %post libs -p /sbin/ldconfig
168 if [ "$1" = "0" ]; then
169 /usr/sbin/groupdel amanda
170 /usr/sbin/userdel amanda
175 if [ -f /var/lock/subsys/rc-inetd ]; then
176 /etc/rc.d/init.d/rc-inetd restart 1>&2
178 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2
183 if [ -f /var/lock/subsys/rc-inetd ]; then
184 /etc/rc.d/init.d/rc-inetd restart
189 if [ -f /var/lock/subsys/rc-inetd ]; then
190 /etc/rc.d/init.d/rc-inetd restart 1>&2
192 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2
197 if [ -f /var/lock/subsys/rc-inetd ]; then
198 /etc/rc.d/init.d/rc-inetd restart
202 %defattr(644,root,root,755)
203 %attr(755,root,root) %{_libdir}/libamanda*.so.*.*
204 %attr(755,root,root) %{_libdir}/libamtape*.so.*.*
205 %attr(770,root,amanda) %dir %{_libexecdir}
208 %defattr(644,root,root,755)
209 %config(noreplace) /etc/sysconfig/rc-inetd/amidxtape
210 %config(noreplace) /etc/sysconfig/rc-inetd/amandaidx
211 %attr(755,root,root) %{_libexecdir}/amidxtaped
213 %dir %{_sysconfdir}/amanda
214 %attr(640,root,amanda) %{_sysconfdir}/amanda/*
216 %attr(660,amanda,amanda) %dir %{_localstatedir}/lib/amanda
217 %{_localstatedir}/lib/amanda/*
219 %attr(640,root,root) /etc/cron.d/amanda-srv
221 %attr(755,root,root) %{_libdir}/libamserver*.so.*.*
222 %attr(755,root,root) %{_libexecdir}/amindexd
223 %attr(755,root,root) %{_libexecdir}/amtrmidx
224 %attr(755,root,root) %{_libexecdir}/driver
225 %attr(4754,root,amanda) %{_libexecdir}/dumper
226 %attr(755,root,root) %{_libexecdir}/getconf
227 %attr(4754,root,amanda) %{_libexecdir}/planner
228 %attr(755,root,root) %{_libexecdir}/taper
229 %attr(755,root,root) %{_libexecdir}/chg-chio
230 %attr(755,root,root) %{_libexecdir}/chg-manual
231 %attr(755,root,root) %{_libexecdir}/chg-multi
232 %attr(755,root,root) %{_libexecdir}/chg-mtx
233 %attr(755,root,root) %{_libexecdir}/chg-rth
234 %attr(755,root,root) %{_libexecdir}/chg-chs
235 %attr(755,root,root) %{_sbindir}/amadmin
236 %attr(755,root,root) %{_sbindir}/amcheck
237 %attr(755,root,root) %{_sbindir}/amflush
238 %attr(755,root,root) %{_sbindir}/amlabel
239 %attr(755,root,root) %{_sbindir}/amtape
240 %attr(755,root,root) %{_sbindir}/amcheckdb
241 %attr(755,root,root) %{_sbindir}/amcleanup
242 %attr(755,root,root) %{_sbindir}/amdump
243 %attr(755,root,root) %{_sbindir}/amoverview
244 %attr(755,root,root) %{_sbindir}/amrmtape
245 %attr(755,root,root) %{_sbindir}/amtoc
246 %attr(755,root,root) %{_sbindir}/amverify
247 #%attr(755,root,root) %{_sbindir}/amplot
248 %attr(755,root,root) %{_sbindir}/amreport
249 %attr(755,root,root) %{_sbindir}/amstatus
250 %{_mandir}/man8/amadmin.8*
251 %{_mandir}/man8/amrmtape.8*
252 %{_mandir}/man8/amtape.8*
253 %{_mandir}/man8/amtoc.8*
254 %{_mandir}/man8/amanda.8*
255 %{_mandir}/man8/amcheck.8*
256 %{_mandir}/man8/amcleanup.8*
257 %{_mandir}/man8/amdump.8*
258 %{_mandir}/man8/amflush.8*
259 %{_mandir}/man8/amlabel.8*
260 %{_mandir}/man8/amplot.8*
261 %{_mandir}/man8/amreport.8*
262 %{_mandir}/man8/amstatus.8*
265 %defattr(644,root,root,755)
266 %config(noreplace) /etc/sysconfig/rc-inetd/amanda
268 %attr(755,root,root) %{_libdir}/libamclient*.so.*.*
269 %attr(755,root,root) %{_libexecdir}/versionsuffix
270 %attr(755,root,root) %{_libexecdir}/amandad
271 %attr(4754,root,amanda) %{_libexecdir}/calcsize
272 %attr(755,root,root) %{_libexecdir}/rundump
273 %attr(4754,root,amanda) %{_libexecdir}/runtar
274 %attr(4754,root,amanda) %{_libexecdir}/selfcheck
275 %attr(755,root,root) %{_libexecdir}/sendbackup
276 %attr(755,root,root) %{_libexecdir}/sendsize
277 %attr(755,root,root) %{_libexecdir}/patch-system
278 %attr(4754,root,amanda) %{_libexecdir}/killpgrp
279 %attr(755,root,root) %{_sbindir}/amrecover
280 %attr(755,root,root) %{_sbindir}/amrestore
281 %{_mandir}/man8/amrecover.8*
282 %{_mandir}/man8/amrestore.8*