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