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