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