]> git.pld-linux.org Git - packages/amanda.git/blob - amanda.spec
- started work on 3.2.0, 2.6.x is on AMANDA_2 branch
[packages/amanda.git] / amanda.spec
1 #
2 # Conditional build:
3 %bcond_without  xfs     # without (possible) support for xfsdump
4 %bcond_without  samba   # without smbclient support
5 %bcond_without  client  # without client package
6 %bcond_without  server  # without server package
7 #
8 %include        /usr/lib/rpm/macros.perl
9 Summary:        A network-capable tape backup solution
10 Summary(pl.UTF-8):      Sieciowo zorientowany system tworzenia kopii zapasowych
11 Name:           amanda
12 Version:        3.2.0
13 Release:        0.1
14 License:        BSD
15 Group:          Networking/Utilities
16 Source0:        http://dl.sourceforge.net/amanda/%{name}-%{version}.tar.gz
17 # Source0-md5:  df73a318af8f04e9ad2ecb4d59dc052c
18 Source1:        %{name}-srv.crontab
19 Source2:        %{name}.inetd
20 Source3:        %{name}idx.inetd
21 Source4:        amidxtape.inetd
22 Patch0:         %{name}-no_libnsl.patch
23 Patch1:         %{name}-chg-zd-mtx-sh.patch
24 Patch2:         %{name}-tar.patch
25 Patch3:         %{name}-bashizm.patch
26 Patch4:         %{name}-as_needed.patch
27 Patch5:         %{name}-tapetypes.patch
28 Patch6:         %{name}-FHS.patch
29 Patch7:         %{name}-no-buildtime-ipv6.patch
30 Patch8:         %{name}-heimdal.patch
31 Patch9:         %{name}-glib2.24.patch
32 URL:            http://www.amanda.org/
33 BuildRequires:  autoconf >= 2.53
34 BuildRequires:  automake
35 BuildRequires:  curl-devel >= 7.10.0
36 BuildRequires:  dump
37 BuildRequires:  flex
38 BuildRequires:  glib2-devel
39 BuildRequires:  gnuplot
40 # curl is broken, see curl-config --libs
41 BuildRequires:  keyutils-devel
42 BuildRequires:  heimdal-devel
43 BuildRequires:  libtool
44 BuildRequires:  libxslt-progs
45 BuildRequires:  ncurses-devel
46 BuildRequires:  openssh-clients
47 BuildRequires:  openssl-devel
48 BuildRequires:  perl-devel >= 5.6.0
49 BuildRequires:  pkgconfig
50 BuildRequires:  readline-devel >= 4.2
51 BuildRequires:  rpmbuild(macros) >= 1.268
52 BuildRequires:  rpm-perlprov
53 %{?with_samba:BuildRequires:    samba-client}
54 BuildRequires:  swig
55 %{?with_xfs:BuildRequires:      xfsdump}
56 Conflicts:      shadow < 1:4.0.4.1-4
57 Conflicts:      pwdutils < 3.1.2-2
58 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
59
60 %define         _ulibdir        %{_prefix}/lib
61
62 %description
63 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a
64 backup system that allows the administrator of a LAN to set up a
65 single master backup server to back up multiple hosts to a single
66 large capacity tape drive. AMANDA uses native dump and/or GNU tar
67 facilities and can back up a large number of workstations running
68 multiple versions of Unix. Newer versions of AMANDA (including this
69 version) can use SAMBA to back up Microsoft(TM) Windows95/NT hosts.
70 The amanda package contains the core AMANDA programs and will need to
71 be installed on both AMANDA clients and AMANDA servers. Note that you
72 will have to install the amanda-client and amanda-server packages as
73 well.
74
75 %description -l pl.UTF-8
76 AMANDA jest sieciowo zorientowanym systemem tworzenia kopii
77 zapasowych. Umożliwia administratorowi sieci tworzenie kopii z kilku
78 hostów na jednej maszynie wyposażonej w pojemny dysk lub streamer.
79 Nowsze wersje programu umożliwiają zabezpieczanie zasobów Microsoft
80 Windows 95/98/NT/2000 przy użyciu protokołu Samba. Ten pakiet zawiera
81 podstawowe pliki programu i powinien być zainstalowany zarówno na
82 serwerze jak i na kliencie. Pamiętaj także o instalacji pakietów
83 amanda-client i amanda-server!
84
85 %package common
86 Summary:        Amanda common files
87 Summary(pl.UTF-8):      Wspólne pliki pakietu amanda
88 Group:          Networking/Utilities
89 Requires(postun):       /usr/sbin/groupdel
90 Requires(postun):       /usr/sbin/userdel
91 Requires(pre):  /bin/id
92 Requires(pre):  /usr/bin/chsh
93 Requires(pre):  /usr/bin/getgid
94 Requires(pre):  /usr/sbin/groupadd
95 Requires(pre):  /usr/sbin/useradd
96 Requires:       setup >= 2.6.1-1
97 Provides:       group(amanda)
98 Provides:       user(amanda)
99 Obsoletes:      amanda-libs
100 Obsoletes:      amanda-perl
101
102 %description common
103 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a
104 backup system that allows the administrator of a LAN to set up a
105 single master backup server to back up multiple hosts to a single
106 large capacity tape drive. AMANDA uses native dump and/or GNU tar
107 facilities and can back up a large number of workstations running
108 multiple versions of Unix. Newer versions of AMANDA (including this
109 version) can use SAMBA to back up Microsoft(TM) Windows95/NT hosts.
110 The amanda package contains the core AMANDA programs and will need to
111 be installed on both AMANDA clients and AMANDA servers. Note that you
112 will have to install the amanda-client and amanda-server packages as
113 well.
114
115 Amanda common files.
116
117 %description common -l pl.UTF-8
118 AMANDA jest sieciowo zorientowanym systemem tworzenia kopii
119 zapasowych. Umożliwia administratorowi sieci tworzenie kopii z kilku
120 hostów na jednej maszynie wyposażonej w pojemny dysk lub streamer.
121 Nowsze wersje programu umożliwiają zabezpieczanie zasobów Microsoft
122 Windows 95/98/NT/2000 przy użyciu protokołu Samba. Ten pakiet zawiera
123 podstawowe pliki programu i powinien być zainstalowany zarówno na
124 serwerze jak i na kliencie. Pamiętaj także o instalacji pakietów
125 amanda-client i amanda-server!
126
127 Wspólne pliki pakietu amanda.
128
129 %package client
130 Summary:        The client side of Amanda
131 Summary(pl.UTF-8):      Klient Amandy
132 Group:          Networking/Utilities
133 Requires(post): /bin/hostname
134 Requires(post): /usr/bin/ssh-keygen
135 Requires:       %{name}-common = %{version}-%{release}
136 Requires:       rc-inetd
137 Suggests:       openssh-clients
138 Suggests:       openssh-server
139 Suggests:       tar
140 Suggests:       gzip
141 Suggests:       star
142 Conflicts:      tar < 1.15
143
144 %description client
145 The Amanda-client package should be installed on any machine that will
146 be backed up by AMANDA (including the server if it also needs to be
147 backed up). You will also need to install the amanda package to each
148 AMANDA client. It requires at least one of dump and GNU tar installed.
149
150 %description client -l pl.UTF-8
151 Ten pakiet powinien być zainstalowany ma maszynach, z których
152 zawartości będą tworzone kopie zapasowe. Wymaga zainstalowanego co
153 najmniej jednego z pakietów dump i GNU tar.
154
155 %package server
156 Summary:        The server side of Amanda
157 Summary(pl.UTF-8):      Serwer Amandy
158 Group:          Networking/Utilities
159 Requires(post): /bin/hostname
160 Requires(post): /usr/bin/ssh-keygen
161 Requires:       %{name}-common = %{version}-%{release}
162 Requires:       /etc/cron.d
163 Requires:       crondaemon
164 Requires:       gnuplot
165 Requires:       mt-st
166 Requires:       mtx
167 Requires:       rc-inetd
168 Suggests:       openssh-clients
169 Suggests:       openssh-server
170 Obsoletes:      amanda
171 Obsoletes:      amanda-perl-server
172
173 %description server
174 The amanda-server package should be installed on the AMANDA server,
175 the machine attached to the device (such as a tape drive) where
176 backups will be written. You will also need to install the amanda
177 package to the AMANDA server. And, if the server is also to be backed
178 up, the server also needs to have the amanda-client package installed.
179
180 %description server -l pl.UTF-8
181 Ten pakiet powinien być zainstalowany na maszynach, na których będą
182 magazynowane kopie zapasowe (lub do których podpięte są urządzenia
183 typu streamer).
184
185 %prep
186 %setup -q
187 %patch0 -p1
188 %patch1 -p1
189 %patch2 -p1
190 %patch3 -p1
191 %patch4 -p1
192 %patch5 -p1
193 %patch6 -p1
194 %patch7 -p1
195 %patch8 -p1
196 %patch9 -p2
197
198 %build
199 %{__aclocal} -I config -I config/gettext-macros -I config/gnulib -I config/amanda -I config/macro-archive
200 %{__autoconf}
201 %{__automake}
202 %configure \
203         DUMP=/sbin/dump \
204         GNUPLOT=/usr/bin/gnuplot \
205         GZIP=/bin/gzip \
206         MAILER=/bin/mail \
207         MT=/bin/mt \
208         MTX=/usr/sbin/mtx \
209         PRINT=/usr/bin/lpr \
210         RESTORE=/sbin/restore \
211         STAR=/usr/bin/star \
212         %{?with_xfs:XFSDUMP=/sbin/xfsdump} \
213         %{?with_xfs:XFSRESTORE=/sbin/xfsrestore} \
214         --disable-static \
215         --enable-shared \
216         %{!?with_server:--without-server} \
217         %{!?with_client:--without-client} \
218         --with-index-server=localhost \
219         --with-user=amanda \
220         --with-group=amanda \
221         --with-tape-device=/dev/null \
222         --with-changer-device=/dev/null \
223         --with-fqdn \
224         %{?with_samba:--with-smbclient=%{_bindir}/smbclient} \
225         --with-bsd-security \
226         --with-bsdtcp-security \
227         --with-ssh-security \
228         --with-krb5-security \
229         --without-krb4-security \
230         --with-buffered-dump \
231         --with-amandahosts \
232         --with-configdir=%{_sysconfdir}/amanda \
233         --with-gnutar-listdir=%{_sharedstatedir}/amanda/gnutar-lists \
234         --with-amandates=%{_sharedstatedir}/amanda/amandates \
235         --with-debugging=%{_sharedstatedir}/amanda/debug \
236         --with-tmpdir=/var/tmp \
237         --with-amperldir=%{perl_vendorarch} \
238         --with-ipv6 \
239         --disable-installperms
240
241 %{__make}
242
243 %install
244 rm -rf $RPM_BUILD_ROOT
245 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{amanda,cron.d,sysconfig/rc-inetd} \
246         $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/{.gnupg,.ssh,gnutar-lists} \
247         $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/debug/{amandad,client,server}
248
249 %{__make} install \
250         DESTDIR=$RPM_BUILD_ROOT
251
252 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/amanda-srv
253 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE2} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amanda
254 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE3} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amandaidx
255 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE4} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amidxtape
256
257 install example/amanda.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda
258 install example/amanda-client.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda
259 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.amandahosts
260
261 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/{,client_}authorized_keys
262 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amdump{,.pub}
263 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amrecover{,.pub}
264
265 > $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/amandates
266
267 # Amanda tools generate ssh keys with embeded commands pointing to /usr/lib
268 # Tools can't be "fixed" because keys generated on server are to be used on client
269 if [ "%{_lib}" != "lib" ] ; then
270         install -d $RPM_BUILD_ROOT%{_ulibdir}
271         ln -s %{_libdir}/amanda $RPM_BUILD_ROOT%{_ulibdir}/amanda
272 fi
273
274 find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
275
276 %clean
277 rm -rf $RPM_BUILD_ROOT
278
279 %triggerpostun common -- amanda-libs < 2.6.0p2-3
280 echo "Adding amanda to disk and tape groups"
281 /usr/sbin/usermod -G disk,tape amanda
282 echo "Setting amanda shell to /bin/sh"
283 /usr/bin/chsh -s /bin/sh amanda
284 if [ -f %{_sharedstatedir}/amanda/.amandahosts ]; then
285         echo "Fixing permissions of %{_sharedstatedir}/amanda/.amandahosts file"
286         chown amanda:amanda %{_sharedstatedir}/amanda/.amandahosts
287         chmod 600 %{_sharedstatedir}/amanda/.amandahosts
288 fi
289
290 %pre common
291 %groupadd -P %{name}-common -g 80 amanda
292 %useradd -P %{name}-common -u 80 -G disk,tape -d /var/lib/amanda -s /bin/sh -c "Amanda Backup user" -g amanda amanda
293
294 %postun common
295 if [ "$1" = "0" ]; then
296         %userremove amanda
297         %groupremove amanda
298 fi
299
300 %post client
301 %service -q rc-inetd reload
302 if [ ! -e /var/lib/amanda/.ssh/id_rsa_amrecover ] ; then
303         HOST="`/bin/hostname`"
304         FQDNHOST="`/bin/hostname -f`"
305         if [ -z "$HOST" ] ; then
306                 COMMENT="root@client"
307         else
308                 COMMENT="root@$HOST"
309         fi
310         /usr/bin/ssh-keygen -t rsa -C $COMMENT -f /var/lib/amanda/.ssh/id_rsa_amrecover -N "" || :
311         chown amanda:amanda /var/lib/amanda/.ssh/id_rsa_amrecover{,.pub} || :
312         chmod 600 /var/lib/amanda/.ssh/id_rsa_amrecover{,.pub} || :
313         if [ -n "$FQDNHOST" ]; then
314                 echo -n "from=\"$FQDNHOST\",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,command=\"%{_ulibdir}/amanda/amandad -auth=ssh amindexd amidxtaped\" " >/var/lib/amanda/.ssh/server_authorized_keys
315                 cat /var/lib/amanda/.ssh/id_rsa_amrecover.pub >>/var/lib/amanda/.ssh/server_authorized_keys
316
317                 echo "Remember to copy the contents of /var/lib/amanda/.ssh/server_authorized_keys to"
318                 echo "/var/lib/amanda/.ssh/authorized_keys on amanda server"
319         fi
320 fi
321
322 %postun client
323 if [ "$1" = 0 ]; then
324         %service -q rc-inetd reload
325 fi
326
327 %post server
328 %service -q rc-inetd reload
329 if [ ! -e /var/lib/amanda/.ssh/id_rsa_amdump ] ; then
330         HOST="`/bin/hostname`"
331         if [ -z "$HOST" ] ; then
332                 COMMENT="amanda@server"
333         else
334                 COMMENT="amanda@$HOST"
335         fi
336         /usr/bin/ssh-keygen -t rsa -C $COMMENT -f /var/lib/amanda/.ssh/id_rsa_amdump -N "" || :
337         chown amanda:amanda /var/lib/amanda/.ssh/id_rsa_amdump{,.pub} || :
338         chmod 600 /var/lib/amanda/.ssh/id_rsa_amdump{,.pub} || :
339 fi
340 if [ "$1" = "1" ]; then
341         echo "Don't forget to edit /etc/cron.d/amanda-srv." 1>&2
342 fi
343
344 %postun server
345 if [ "$1" = 0 ]; then
346         %service -q rc-inetd reload
347 fi
348
349 %files common
350 %defattr(644,root,root,755)
351 %doc AUTHORS COPYRIGHT ChangeLog NEWS README ReleaseNotes UPGRADING
352 %attr(755,root,root) %{_libdir}/amanda/libamanda*.so
353 %attr(755,root,root) %{_libdir}/amanda/libamar*.so
354 %attr(755,root,root) %{_libdir}/amanda/libamglue*.so
355 %attr(750,amanda,amanda) %dir %{_sysconfdir}/amanda
356 %dir %{_libdir}/amanda
357 %if %{_lib} != "lib"
358 %{_ulibdir}/amanda
359 %endif
360 %attr(755,root,root) %{_sbindir}/amarchiver
361 %attr(750,amanda,amanda) %dir %{_datadir}/amanda
362 %attr(750,amanda,amanda) %dir %{_datadir}/amanda/example
363 %attr(750,amanda,amanda) %dir %{_datadir}/amanda/example/label-templates
364 %attr(640,amanda,amanda) %{_datadir}/amanda/example/*amanda*
365 %attr(640,amanda,amanda) %{_datadir}/amanda/example/label-templates/*.ps
366 %attr(750,amanda,amanda) %dir %{_datadir}/amanda/template.d
367 %attr(640,amanda,amanda) %{_datadir}/amanda/template.d/*
368 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda
369 %attr(700,amanda,amanda) %dir %{_sharedstatedir}/amanda/.ssh
370 %attr(700,amanda,amanda) %dir %{_sharedstatedir}/amanda/.gnupg
371 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug
372 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/amandad
373 %attr(600,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/.amandahosts
374 # Commented out so it won't get removed on uninstall
375 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/authorized_keys
376 %{_mandir}/man5/amanda-archive-format.5*
377 %{_mandir}/man7/amanda-auth.7*
378 %{_mandir}/man7/amanda-scripts.7*
379 %{_mandir}/man8/script-email.8*
380 %{_mandir}/man8/amarchiver.8*
381
382 %dir %{perl_vendorarch}/Amanda
383 %{perl_vendorarch}/Amanda/Archive.pm
384 %{perl_vendorarch}/Amanda/BigIntCompat.pm
385 %{perl_vendorarch}/Amanda/Config.pm
386 %{perl_vendorarch}/Amanda/Constants.pm
387 %{perl_vendorarch}/Amanda/Debug.pm
388 %{perl_vendorarch}/Amanda/MainLoop.pm
389 %{perl_vendorarch}/Amanda/Paths.pm
390 %{perl_vendorarch}/Amanda/Script.pm
391 %{perl_vendorarch}/Amanda/Script_App.pm
392 %{perl_vendorarch}/Amanda/Tests.pm
393 %{perl_vendorarch}/Amanda/Types.pm
394 %{perl_vendorarch}/Amanda/Util.pm
395 %dir %{perl_vendorarch}/auto/Amanda
396 %dir %{perl_vendorarch}/auto/Amanda/Archive
397 %dir %{perl_vendorarch}/auto/Amanda/Config
398 %dir %{perl_vendorarch}/auto/Amanda/Debug
399 %dir %{perl_vendorarch}/auto/Amanda/MainLoop
400 %dir %{perl_vendorarch}/auto/Amanda/Tests
401 %dir %{perl_vendorarch}/auto/Amanda/Types
402 %dir %{perl_vendorarch}/auto/Amanda/Util
403 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Archive/*.so
404 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Config/*.so
405 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Debug/*.so
406 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/MainLoop/*.so
407 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Tests/*.so
408 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Types/*.so
409 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Util/*.so
410
411 %if %{with server}
412 %files server
413 %defattr(644,root,root,755)
414 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amidxtape
415 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amandaidx
416
417 %config(noreplace) %verify(not md5 mtime size) %attr(640,amanda,amanda) %{_sysconfdir}/amanda/amanda.conf
418
419 # Commented out so it won't get removed on uninstall
420 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/client_authorized_keys
421 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/id_rsa_amdump*
422
423 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/server
424
425 %config(noreplace) %attr(640,root,root) /etc/cron.d/amanda-srv
426
427 %attr(755,root,root) %{_libdir}/amanda/libamdevice*.so
428 %attr(755,root,root) %{_libdir}/amanda/libamserver*.so
429 %attr(755,root,root) %{_libdir}/amanda/libamxfer*.so
430 %attr(755,root,root) %{_libdir}/amanda/librestore*.so
431
432 %{_libdir}/amanda/amanda-sh-lib.sh
433 %attr(755,root,root) %{_libdir}/amanda/amcat.awk
434 %attr(755,root,root) %{_libdir}/amanda/amcleanupdisk
435 %attr(755,root,root) %{_libdir}/amanda/amidxtaped
436 %attr(755,root,root) %{_libdir}/amanda/amindexd
437 %attr(755,root,root) %{_libdir}/amanda/amlogroll
438 %attr(755,root,root) %{_libdir}/amanda/amplot.awk
439 %attr(755,root,root) %{_libdir}/amanda/amplot.g
440 %attr(755,root,root) %{_libdir}/amanda/amplot.gp
441 %attr(755,root,root) %{_libdir}/amanda/amtrmidx
442 %attr(755,root,root) %{_libdir}/amanda/amtrmlog
443 %attr(755,root,root) %{_libdir}/amanda/chg-chio
444 %attr(755,root,root) %{_libdir}/amanda/chg-chs
445 %attr(755,root,root) %{_libdir}/amanda/chg-disk
446 %attr(755,root,root) %{_libdir}/amanda/chg-glue
447 %attr(755,root,root) %{_libdir}/amanda/chg-iomega
448 %attr(755,root,root) %{_libdir}/amanda/chg-juke
449 %attr(755,root,root) %{_libdir}/amanda/chg-lib.sh
450 %attr(755,root,root) %{_libdir}/amanda/chg-manual
451 %attr(755,root,root) %{_libdir}/amanda/chg-mcutil
452 %attr(755,root,root) %{_libdir}/amanda/chg-mtx
453 %attr(755,root,root) %{_libdir}/amanda/chg-multi
454 %attr(755,root,root) %{_libdir}/amanda/chg-null
455 %attr(755,root,root) %{_libdir}/amanda/chg-rait
456 %attr(755,root,root) %{_libdir}/amanda/chg-rth
457 %attr(755,root,root) %{_libdir}/amanda/chg-scsi
458 %attr(755,root,root) %{_libdir}/amanda/chg-zd-mtx
459 %attr(755,root,root) %{_libdir}/amanda/chunker
460 %attr(755,root,root) %{_libdir}/amanda/driver
461 %attr(4750,root,amanda) %{_libdir}/amanda/dumper
462 %attr(4750,root,amanda) %{_libdir}/amanda/planner
463 %attr(755,root,root) %{_libdir}/amanda/taper
464
465 %attr(755,root,root) %{_sbindir}/activate-devpay
466 %attr(755,root,root) %{_sbindir}/amaddclient
467 %attr(755,root,root) %{_sbindir}/amadmin
468 %attr(755,root,root) %{_sbindir}/amaespipe
469 %attr(4750,root,amanda) %{_sbindir}/amcheck
470 %attr(755,root,root) %{_sbindir}/amcheckdb
471 %attr(755,root,root) %{_sbindir}/amcheckdump
472 %attr(755,root,root) %{_sbindir}/amcleanup
473 %attr(755,root,root) %{_sbindir}/amcrypt*
474 %attr(755,root,root) %{_sbindir}/amdevcheck
475 %attr(755,root,root) %{_sbindir}/amdump
476 %attr(755,root,root) %{_sbindir}/amfetchdump
477 %attr(755,root,root) %{_sbindir}/amflush
478 %attr(755,root,root) %{_sbindir}/amgetconf
479 %attr(755,root,root) %{_sbindir}/amgpgcrypt
480 %attr(755,root,root) %{_sbindir}/amlabel
481 %attr(755,root,root) %{_sbindir}/amoverview
482 %attr(755,root,root) %{_sbindir}/amplot
483 %attr(755,root,root) %{_sbindir}/amreport
484 %attr(755,root,root) %{_sbindir}/amrestore
485 %attr(755,root,root) %{_sbindir}/amrmtape
486 %attr(755,root,root) %{_sbindir}/amserverconfig
487 %attr(755,root,root) %{_sbindir}/amservice
488 %attr(755,root,root) %{_sbindir}/amstatus
489 %attr(755,root,root) %{_sbindir}/amtape
490 %attr(755,root,root) %{_sbindir}/amtapetype
491 %attr(755,root,root) %{_sbindir}/amtoc
492 %attr(755,root,root) %{_sbindir}/amvault
493 %{_mandir}/man5/amanda.conf.5*
494 %{_mandir}/man5/disklist.5*
495 %{_mandir}/man5/tapelist.5*
496 %{_mandir}/man7/amanda-changers.7*
497 %{_mandir}/man7/amanda-devices.7*
498 %{_mandir}/man8/amaddclient.8*
499 %{_mandir}/man8/amadmin.8*
500 %{_mandir}/man8/amaespipe.8*
501 %{_mandir}/man8/amanda.8*
502 %{_mandir}/man8/amcheck.8*
503 %{_mandir}/man8/amcheckdb.8*
504 %{_mandir}/man8/amcheckdump.8*
505 %{_mandir}/man8/amcleanup.8*
506 %{_mandir}/man8/amcrypt*.8*
507 %{_mandir}/man8/amdevcheck.8*
508 %{_mandir}/man8/amdump.8*
509 %{_mandir}/man8/amfetchdump.8*
510 %{_mandir}/man8/amflush.8*
511 %{_mandir}/man8/amgetconf.8*
512 %{_mandir}/man8/amgpgcrypt.8*
513 %{_mandir}/man8/amlabel.8*
514 %{_mandir}/man8/amoverview.8*
515 %{_mandir}/man8/amplot.8*
516 %{_mandir}/man8/amreport.8*
517 %{_mandir}/man8/amrestore.8*
518 %{_mandir}/man8/amrmtape.8*
519 %{_mandir}/man8/amserverconfig.8*
520 %{_mandir}/man8/amservice.8*
521 %{_mandir}/man8/amstatus.8*
522 %{_mandir}/man8/amtape.8*
523 %{_mandir}/man8/amtapetype.8*
524 %{_mandir}/man8/amtoc.8*
525 %{_mandir}/man8/amvault.8*
526
527 %{perl_vendorarch}/Amanda/Changer.pm
528 %dir %{perl_vendorarch}/Amanda/Changer
529 %{perl_vendorarch}/Amanda/Changer/*.pm
530 %{perl_vendorarch}/Amanda/Cmdline.pm
531 %dir %{perl_vendorarch}/Amanda/DB
532 %{perl_vendorarch}/Amanda/DB/*.pm
533 %{perl_vendorarch}/Amanda/Device.pm
534 %{perl_vendorarch}/Amanda/Logfile.pm
535 %{perl_vendorarch}/Amanda/Process.pm
536 %{perl_vendorarch}/Amanda/Tapelist.pm
537 %{perl_vendorarch}/Amanda/Xfer.pm
538 %dir %{perl_vendorarch}/auto/Amanda/Cmdline
539 %dir %{perl_vendorarch}/auto/Amanda/Device
540 %dir %{perl_vendorarch}/auto/Amanda/Logfile
541 %dir %{perl_vendorarch}/auto/Amanda/Tapelist
542 %dir %{perl_vendorarch}/auto/Amanda/Xfer
543 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Cmdline/*.so
544 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Device/*.so
545 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Logfile/*.so
546 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Tapelist/*.so
547 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Xfer/*.so
548 %endif
549
550 %if %{with client}
551 %files client
552 %defattr(644,root,root,755)
553 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amanda
554 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,amanda) %{_sysconfdir}/amanda/amanda-client.conf
555 # Commented out so it won't get removed on uninstall
556 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/id_rsa_amrecover*
557 %attr(640,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/amandates
558
559 %dir %{_libdir}/amanda/application
560 %attr(755,root,root) %{_libdir}/amanda/application/amgtar*
561 %attr(755,root,root) %{_libdir}/amanda/application/amlog-script
562 %attr(755,root,root) %{_libdir}/amanda/application/amsamba
563 %attr(755,root,root) %{_libdir}/amanda/application/amstar
564 %attr(755,root,root) %{_libdir}/amanda/application/amzfs*
565 %attr(755,root,root) %{_libdir}/amanda/application/script-email
566
567 %attr(755,root,root) %{_libdir}/amanda/libamclient*.so
568 %attr(755,root,root) %{_libdir}/amanda/amandad
569 %attr(755,root,root) %{_libdir}/amanda/noop
570 %attr(755,root,root) %{_libdir}/amanda/patch-system
571 %attr(755,root,root) %{_libdir}/amanda/sendbackup
572 %attr(755,root,root) %{_libdir}/amanda/sendsize
573 %attr(755,root,root) %{_libdir}/amanda/teecount
574 %attr(755,root,root) %{_libdir}/amanda/versionsuffix
575 %attr(4750,root,amanda) %{_libdir}/amanda/calcsize
576 %attr(4750,root,amanda) %{_libdir}/amanda/killpgrp
577 %attr(4750,root,amanda) %{_libdir}/amanda/rundump
578 %attr(4750,root,amanda) %{_libdir}/amanda/runtar
579 %attr(755,root,root) %{_libdir}/amanda/selfcheck
580 %attr(755,root,root) %{_sbindir}/amoldrecover
581 %attr(755,root,root) %{_sbindir}/amrecover
582 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/gnutar-lists
583 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/client
584 %{_mandir}/man7/amanda-applications.7*
585 %{_mandir}/man5/amanda-client.conf.5*
586 %{_mandir}/man8/amrecover.8*
587 %{_mandir}/man8/amgtar.8*
588 %{_mandir}/man8/amsamba.**
589 %{_mandir}/man8/amstar.8*
590 %{_mandir}/man8/amzfs*.8*
591
592 %{perl_vendorarch}/Amanda/Application.pm
593 %dir %{perl_vendorarch}/Amanda/Application
594 %{perl_vendorarch}/Amanda/Application/Zfs.pm
595 %dir %{perl_vendorarch}/auto/Amanda/Application
596 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Application/*.so
597 %endif
This page took 0.079896 seconds and 4 git commands to generate.