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